xref: /aosp_15_r20/external/cronet/base/DEPS (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
1include_rules = [
2  # `#include "partition_alloc/..."` is prefered to
3  # `#include "base/allocator/partition_allocator/src/partition_alloc/..."`.
4  "+partition_alloc",
5  "-base/allocator/partition_allocator",
6
7  "+third_party/ashmem",
8  "+third_party/apple_apsl",
9  "+third_party/boringssl/src/include",
10  "+third_party/ced",
11  # We are moving the old jni_generator to jni_zero, some references will remain
12  # in //base.
13  "+third_party/jni_zero",
14  "+third_party/libevent",
15  "+third_party/libunwindstack/src/libunwindstack/include",
16  "+third_party/lss",
17  "+third_party/modp_b64",
18  "+third_party/perfetto/include",
19  "+third_party/perfetto/protos/perfetto",
20  # Conversions between base and Rust types (e.g. base::span <-> rust::Slice)
21  # require the cxx.h header from cxx. This is only used if Rust is enabled
22  # in the gn build; see //base/BUILD.gn's conditional dependency on
23  # //build/rust:cxx_cppdeps.
24  "+third_party/rust/cxx",
25  "+third_party/test_fonts",
26  # JSON Deserialization.
27  "+third_party/rust/serde_json_lenient/v0_2/wrapper",
28
29  # These are implicitly brought in from the root, and we don't want them.
30  "-ipc",
31  "-url",
32
33  # ICU dependendencies must be separate from the rest of base.
34  "-i18n",
35
36  # //base/util can use //base but not vice versa.
37  "-util",
38]
39
40specific_include_rules = {
41  # Special case
42  "process/current_process(|_test)\.h": [
43    "+third_party/perfetto/protos/perfetto/trace/track_event/chrome_process_descriptor.pbzero.h",
44  ],
45  # To evaluate the performance effects of using absl's flat_hash_map.
46  "supports_user_data\.h": [
47    "+third_party/abseil-cpp/absl/container/flat_hash_map.h",
48  ]
49}
50