1include_rules = [ 2 "+components/miracle_parameter", 3 "+components/network_time/time_tracker", 4 "+crypto", 5 "+net/net_jni_headers", 6 "+third_party/apple_apsl", 7 "+third_party/boringssl/src/include", 8 "+third_party/boringssl/src/pki", 9 "+third_party/nss", 10 "+third_party/protobuf/src/google/protobuf", 11 "+third_party/zlib", 12 13 # Most of net should not depend on icu, and brotli to keep size down when 14 # built as a library. 15 "-base/i18n", 16 "-third_party/brotli", 17 "-third_party/icu", 18] 19 20specific_include_rules = { 21 # Within net, only used by file: requests. 22 "directory_lister(\.cc|_unittest\.cc)": [ 23 "+base/i18n", 24 ], 25 26 # Functions largely not used by the rest of net. 27 "directory_listing\.cc": [ 28 "+base/i18n", 29 ], 30 31 # Within net, only used by file: requests. 32 "filename_util_icu\.cc": [ 33 "+base/i18n/file_util_icu.h", 34 ], 35 36 # Consolidated string functions that depend on icu. 37 "net_string_util_icu\.cc": [ 38 "+base/i18n/case_conversion.h", 39 "+base/i18n/i18n_constants.h", 40 "+base/i18n/icu_string_conversions.h", 41 "+third_party/icu/source/common/unicode/ucnv.h" 42 ], 43 44 "websocket_channel\.h": [ 45 "+base/i18n", 46 ], 47 48 "brotli_source_stream\.cc": [ 49 "+third_party/brotli", 50 ], 51 52 "cert_compression\.cc": [ 53 "+third_party/brotli", 54 ], 55 56 "fuzzer_test_support.cc": [ 57 "+base/i18n", 58 ], 59 60 "zstd_source_stream\.cc": [ 61 "+third_party/zstd", 62 ], 63 64 "cookie_partition_key\.(cc|h)": [ 65 "+mojo/public/cpp/bindings/default_construct_tag.h", 66 ], 67 68 # Dependencies specific for fuzz targets and other fuzzing-related code. 69 ".*fuzz.*": [ 70 "+third_party/fuzztest", 71 "+third_party/libprotobuf-mutator", # This is needed for LPM-based fuzzers. 72 "+third_party/icu/fuzzers/fuzzer_utils.h" 73 ] 74} 75 76skip_child_includes = [ 77 "third_party", 78] 79