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 = [
# Do not add Chrome dependencies. Much work went into removing them.
"+components/browsing_data",
"+components/crx_file",
"+components/guest_view",
"+components/url_matcher",
"-content",
"+content/grit/content_resources.h",
"+content/public/common",
"+content/public/test",
"+crypto",
"-extensions/components",
"+extensions/test",
"+grit/extensions_renderer_resources.h",
"+grit/extensions_resources.h",
"+testing",
"+third_party/mojo/src/mojo/public",
"+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",
# Temporarily allowed testing includes. See above.
# TODO(jamescook): Remove these. http://crbug.com/162530
"+chrome/browser/apps/app_browsertest_util.h",
"+chrome/browser/extensions/api/management/management_api.h",
"+chrome/browser/extensions/api/permissions/permissions_api.h",
"+chrome/browser/extensions/extension_apitest.h",
"+chrome/browser/extensions/extension_function_test_utils.h",
"+chrome/browser/extensions/extension_service.h",
"+chrome/browser/extensions/extension_service_test_base.h",
"+chrome/browser/extensions/extension_test_message_listener.h",
"+chrome/browser/extensions/test_extension_dir.h",
"+chrome/browser/extensions/test_extension_prefs.h",
"+chrome/browser/extensions/test_extension_system.h",
"+chrome/browser/ui/browser.h",
"+chrome/common/extensions/features/feature_channel.h",
"+chrome/test/base/chrome_render_view_test.h",
"+chrome/test/base/testing_profile.h",
"+chrome/test/base/ui_test_utils.h",
],
}
|