Fix crash on startup of mandoline-linux
[chromium-blink-merge.git] / extensions / DEPS
blobcbab94891c7ee84e765669454c9e9273baff32af
1 include_rules = [
2   # Do not add Chrome dependencies. Much work went into removing them.
3   "+components/browsing_data",
4   "+components/crx_file",
5   "+components/guest_view",
6   "+components/url_matcher",
7   "-content",
8   "+content/grit/content_resources.h",
9   "+content/public/common",
10   "+content/public/test",
11   "+crypto",
12   "-extensions/components",
13   "+extensions/test",
14   "+grit/extensions_renderer_resources.h",
15   "+grit/extensions_resources.h",
16   "+testing",
17   "+third_party/mojo/src/mojo/public",
18   "+third_party/skia/include",
20   # Minimal UI dependencies. There are two good rules for UI dependencies here:
21   #
22   #   1) UI components should only be added as they are needed, and
23   #   2) if //content doesn't allow it, //extensions probably won't allow it.
24   #      (see for example ui/views)
25   "-ui",
26   "+ui/base",
27   "+ui/gfx",
28   "+ui/events",
30   # NOTE: Please do not add includes without talking to the app shell team;
31   # see OWNERS for this directory.
34 specific_include_rules = {
35   ".*(test|test_util)\.(cc|h)$": [
36     "+content/public/test",
38     # Temporarily allowed testing includes.  See above.
39     # TODO(jamescook): Remove these. http://crbug.com/162530
40     "+chrome/browser/apps/app_browsertest_util.h",
41     "+chrome/browser/extensions/api/management/management_api.h",
42     "+chrome/browser/extensions/api/permissions/permissions_api.h",
43     "+chrome/browser/extensions/extension_apitest.h",
44     "+chrome/browser/extensions/extension_function_test_utils.h",
45     "+chrome/browser/extensions/extension_service.h",
46     "+chrome/browser/extensions/extension_service_test_base.h",
47     "+chrome/browser/extensions/extension_test_message_listener.h",
48     "+chrome/browser/extensions/test_extension_dir.h",
49     "+chrome/browser/extensions/test_extension_prefs.h",
50     "+chrome/browser/extensions/test_extension_system.h",
51     "+chrome/browser/ui/browser.h",
52     "+chrome/common/chrome_switches.h",
53     "+chrome/common/extensions/features/feature_channel.h",
54     "+chrome/test/base/chrome_render_view_test.h",
55     "+chrome/test/base/testing_profile.h",
56     "+chrome/test/base/ui_test_utils.h",
57   ],