summaryrefslogtreecommitdiffstats
path: root/net/DEPS
blob: dc5c1b93b50baeabb8715351729f73d5522bdb10 (plain)
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
include_rules = [
  "+crypto",
  "+gin",
  "+jni",
  "+third_party/apple_apsl",
  "+third_party/libevent",
  "+third_party/nss",
  "+third_party/zlib",
  "+sdch/open-vcdiff",
  "+v8",

  # Most of net should not depend on icu, to keep size down when built as a
  # library.
  "-base/i18n",
  "-third_party/icu",
]

specific_include_rules = {
  # Within net, only used by file: requests.
  "directory_lister(\.cc|_unittest\.cc)": [
    "+base/i18n",
  ],

  # Within net, only used by file: requests.
  "filename_util_icu\.cc": [
    "+base/i18n/file_util_icu.h",
  ],

  # Functions largely not used by the rest of net.
  "net_util_icu\.cc": [
    "+base/i18n",
    "+third_party/icu",
  ],

  # Consolidated string functions that depend on icu.
  "net_string_util_icu\.cc": [
    "+base/i18n/i18n_constants.h",
    "+base/i18n/icu_string_conversions.h",
    "+third_party/icu/source/common/unicode/ucnv.h"
  ],

  "websocket_channel\.h": [
    "+base/i18n",
  ],

  "ftp_util\.cc": [
    "+base/i18n",
    "+third_party/icu",
  ],
  "ftp_directory_listing_parser\.cc": [
    "+base/i18n",
  ],
}

skip_child_includes = [
  "third_party",
  "tools/flip_server",
]