summaryrefslogtreecommitdiff
path: root/chromium/ui/accessibility/DEPS
blob: 3f90904d6337833c3791d3a5f027742359c2ca7e (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
include_rules = [
  "+mojo/public",
  "+third_party/cld_3",
  "+third_party/iaccessible2",
  "+third_party/skia",
  "+services/service_manager/public/cpp",
  "+ui/aura",
  "+ui/base",
  "+ui/base/l10n",
  "+ui/base/win",
  "+ui/gfx",
  "+ui/display",
  "+ui/strings/grit/ui_strings.h",

  # Don't allow dependencies from ui/accessibility on
  # ui/accessibility/platform.
  #
  # The code in ui/accessibility should be safe to include from any process,
  # on any platform. In comparison, ui/accessibility/platform is only meant
  # to be used in the browser process on platforms with a native
  # accessibility API.
  "-ui/accessibility/platform",
]

specific_include_rules = {
  "run_all_unittests.cc": [
    "+mojo/core/embedder",
  ],
  "ax_assistant_util.h": [
    "+ui/accessibility/mojom",
  ],

  # Normally we shouldn't depend on ui/accessibility/platform, but this
  # is okay because it's just constants.
  "ax_assistant_structure.cc": [
    "+ui/accessibility/platform/ax_android_constants.h",
  ],

  # Normally we shouldn't depend on ui/accessibility/platform,
  # but it's harmless for this particular test, and it's probably
  # better to keep this test next to the code it tests.
  "ax_range_unittest.cc": [
    "+ui/accessibility/platform",
  ],
}