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