summaryrefslogtreecommitdiffstats
path: root/chrome/DEPS
blob: b3ab3de24a7ef5ef23973a811f8c4a256f7716ed (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
include_rules = [
  "+ash",
  "+crypto",
  "+gpu",
  "+jni",
  "+leveldb",
  "+net",
  "+printing",
  "+sql",
  # Browser, renderer, common and tests access V8 for various purposes.
  "-v8",
  "+v8/include",

  # Limit what we include from nacl.
  "-native_client",
  "+native_client/src/trusted/service_runtime/osx",
  "+native_client/src/trusted/service_runtime/win",
  "+native_client/src/shared/imc",

  # The subdirectories in chrome/ will manually allow their own include
  # directories in chrome/ so we disallow all of them.
  "-chrome",
  "+chrome/common",
  "+chrome/test",
  "+content/public/common",
  "+content/public/test",
  "+content/test/gpu",
  "+content/test/net",

  # Don't allow inclusion of these other libs we shouldn't be calling directly.
  "-webkit",
  "-tools",

  "-crypto/third_party",

  # Allow inclusion of WebKit API files.
  "+third_party/WebKit/Source/Platform/chromium",
  "+third_party/WebKit/Source/WebKit/chromium",
  "+webkit/appcache",
  "+webkit/blob",
  "+webkit/chromeos/fileapi",
  "+webkit/database",
  "+webkit/fileapi",
  "+webkit/quota",

  # Allow inclusion of third-party code:
  "+third_party/hunspell",
  "+third_party/icon_family", # IconFamily for Mac.
  "+third_party/libxml",
  "+third_party/mozilla",     # Mozilla interface headers.
  "+third_party/npapi",       # NPAPI interface headers.
  "+third_party/skia",
  "+third_party/tcmalloc",
  "+third_party/GTM",         # Google Toolbox for Mac.

  "+ui",
]