summaryrefslogtreecommitdiff
path: root/chromium/content/renderer/DEPS
blob: f2ebc21c073d6e1bbd6c9c273b2019553bc90de3 (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 = [
  # Allow inclusion of specific components that we depend on.
  # See comment in content/DEPS for which components are allowed.
  # *********************************** NOTE ***********************************
  # If adding a new component dependency, email content/OWNERS first.
  # ****************************************************************************
  "+components/discardable_memory/client",
  "+components/metrics",
  "+components/metrics:single_sample_metrics",
  "+components/payments",
  "+components/url_formatter",
  "+components/viz/client",
  "+components/viz/common",
  # *********************************** NOTE ***********************************
  # If adding a new component dependency, email content/OWNERS first.
  # ****************************************************************************

  "+chromeos/system/core_scheduling.h",
  "+content/public/child",
  "+content/public/renderer",
  "+content/child",
  "+device/base/synchronization",
  "+device/gamepad/public/cpp",
  "+device/gamepad/public/mojom",
  "+gin",
  "+jingle/glue",
  "+mojo",
  "+services",
  "-storage/browser",
  "+third_party/hyphen/hyphen.h",
  "+third_party/webrtc_overrides",
  "+third_party/blink/public/common",
  "+third_party/blink/public/mojom",
  "+v8/include",
  "+v8/src/third_party/vtune",
]

specific_include_rules = {
  '.*_[a-z]*browsertest.*': [
    "+content/public/browser",
    "+content/shell",
  ],
  "renderer_main\.cc": [
   "+chromeos/memory/userspace_swap",
  ],
  "render_thread_impl_browsertest\.cc": [
    "+content/app/mojo/mojo_init.h",
  ],
  "render_thread_impl_discardable_memory_browsertest\.cc": [
    "+components/discardable_memory/service",
    "+content/browser/browser_main_loop.h",
  ],
  ".*_(unit|pixel|perf)test.*\.cc": [
    "+components/viz/test",
    "+third_party/blink/renderer/platform/testing",
  ],
}