File: DEPS

package info (click to toggle)
chromium 139.0.7258.127-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 6,122,068 kB
  • sloc: cpp: 35,100,771; ansic: 7,163,530; javascript: 4,103,002; python: 1,436,920; asm: 946,517; xml: 746,709; pascal: 187,653; perl: 88,691; sh: 88,436; objc: 79,953; sql: 51,488; cs: 44,583; fortran: 24,137; makefile: 22,147; tcl: 15,277; php: 13,980; yacc: 8,984; ruby: 7,485; awk: 3,720; lisp: 3,096; lex: 1,327; ada: 727; jsp: 228; sed: 36
file content (60 lines) | stat: -rw-r--r-- 1,969 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# Copyright 2021 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

# PartitionAlloc library must not depend on Chromium
# project in order to be a standalone library.
noparent = True

# `partition_alloc` can depend only on itself, via its `include_dirs`.
include_rules = [ "+partition_alloc" ]

# TODO(crbug.com/40158212): Depending on what is tested, split the tests in
# between chromium and partition_alloc. Remove those exceptions:
specific_include_rules = {
  # Dependencies on //testing:
  ".*_(perf|unit)?test.*\.(h|cc)": [
    "+testing/gmock/include/gmock/gmock.h",
    "+testing/gtest/include/gtest/gtest.h",
    "+testing/perf/perf_result_reporter.h",
  ],
  "gtest_util.h": [
    "+testing/gtest/include/gtest/gtest.h",
  ],

  # Dependencies on //base:
  "extended_api\.cc": [
    "+base/allocator/allocator_shim_default_dispatch_to_partition_alloc.h",
  ],
  "partition_alloc_perftest\.cc": [
    "+base/allocator/dispatcher/dispatcher.h",
    "+base/debug/allocation_trace.h",
    "+base/debug/debugging_buildflags.h",
    "+base/timer/lap_timer.h",
  ],
  "partition_lock_perftest\.cc": [
    "+base/timer/lap_timer.h",
  ],
  "raw_ptr_unittest\.cc": [
    "+base/allocator/partition_alloc_features.h",
    "+base/allocator/partition_alloc_support.h",
    "+base/cpu.h",
    "+base/debug/asan_service.h",
    "+base/metrics/histogram_base.h",
    "+base/test/bind.h",
    "+base/test/gtest_util.h",
    "+base/test/memory/dangling_ptr_instrumentation.h",
    "+base/test/scoped_feature_list.h",
    "+base/types/to_address.h",
  ],
  "raw_ref_unittest\.cc": [
    "+base/debug/asan_service.h",
    "+base/memory/raw_ptr_asan_service.h",
    "+base/test/gtest_util.h",
  ],
}

# In the context of a module-level DEPS, the `deps` variable must be defined.
# Some tools relies on it. For instance dawn/tools/fetch_dawn_dependencies.py
# This has no use in other contexts.
deps = {}