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