summaryrefslogtreecommitdiff
path: root/chromium/extensions/DEPS
blob: 4d8fbadf3a59e229aaf15c7f0628c0b92acd79bf (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
include_rules = [
  # Do not add Chrome dependencies. Much work went into removing them.
  "+components/browsing_data",
  "+components/crx_file",
  "+components/guest_view",
  "+components/prefs",
  "+components/services/app_service/public",
  "+components/url_matcher",
  "+components/version_info",
  "-content",
  "+content/grit/content_resources.h",
  "+content/public/common",
  "+content/public/test",
  "+crypto",
  "-extensions/components",
  "+extensions/grit/extensions_renderer_resources.h",
  "+extensions/grit/extensions_resources.h",
  "+extensions/test",
  "+mojo/public",
  "+services/service_manager/public",
  "+skia/public/mojom",
  "+testing",
  "+third_party/blink/public/common/loader/url_loader_throttle.h",
  "+third_party/skia/include",

  # Minimal UI dependencies. There are two good rules for UI dependencies here:
  #
  #   1) UI components should only be added as they are needed, and
  #   2) if //content doesn't allow it, //extensions probably won't allow it.
  #      (see for example ui/views)
  "-ui",
  "+ui/base",
  "+ui/gfx",
  "+ui/events",

  # NOTE: Please do not add includes without talking to the app shell team;
  # see OWNERS for this directory.
]

specific_include_rules = {
  ".*(test|test_util)\.(cc|h)$": [
    "+content/public/test",
  ],
  "mime_handler_view_browsertest.cc": [
    "+components/printing/common",
  ],
  "mime_handler_view_interactive_uitest.cc": [
    "+chrome/browser/ui/exclusive_access/exclusive_access_test.h",
    "+chrome/test/base/interactive_test_utils.h",
  ],
}