Using pre-existing constants instead of hard-coding
[chromium-blink-merge.git] / apps / DEPS
blob94bb1103f06b6e2a87b26a7c197eb91eb55328d5
1 include_rules = [
2   "+base",
3   "+content/public/app",
4   "+content/public/browser",
5   "+content/public/common",
6   "+content/public/test",
7   "+components/keyed_service",
8   "+components/pref_registry/pref_registry_syncable.h",
9   "+components/web_modal",
10   "+extensions",
11   "+net/base",
12   "+skia/ext",
13   "+third_party/skia/include",
14   "+ui",
15   "+win8",
17   # Temporary allowed includes.
18   # TODO(benwells): remove these (http://crbug.com/159366)
19   "+chrome/browser/chrome_notification_types.h",
20   "+chrome/browser/chromeos/file_manager/filesystem_api_util.h",
21   "+chrome/browser/chromeos/login/users/user_manager.h",
22   "+chrome/browser/lifetime/application_lifetime.h",
23   "+chrome/browser/profiles",
24   "+chrome/browser/sessions/session_id.h",
25   "+chrome/common/chrome_switches.h",
27   # For default app icon.
28   "!grit/theme_resources.h",
30   # Pieces of the extensions system that need to move to src/extensions.
31   # See http://crbug.com/162530 for details.
32   "+chrome/browser/extensions/api/file_handlers/app_file_handler_util.h",
33   "+chrome/browser/extensions/api/file_system/file_system_api.h",
34   "+chrome/browser/extensions/chrome_extension_web_contents_observer.h",
35   "+chrome/browser/extensions/extension_icon_image.h",
36   "+chrome/browser/extensions/suggest_permission_util.h",
37   "+chrome/browser/extensions/unpacked_installer.h",
38   "+chrome/common/extensions/api/app_window.h",
41 specific_include_rules = {
42   # Needs to be able to reload extensions. http://crbug.com/162530
43   "app_load_service\.cc": [
44     "+chrome/browser/extensions/extension_service.h",
45   ],
46   "(.*test\.cc|.*test_mac\.mm)": [
47     "+chrome/browser/browser_shutdown.h",
48     "+chrome/browser/extensions/extension_browsertest.h",
49     "+chrome/browser/extensions/extension_test_message_listener.h",
50     "+chrome/browser/extensions/test_extension_environment.h",
51     "+chrome/browser/extensions/test_extension_prefs.h",
52     "+chrome/browser/ui/browser.h",
53     "+chrome/test/base/in_process_browser_test.h",
54     "+chrome/test/base/interactive_test_utils.h",
55     "+chrome/test/base/testing_profile.h",
56     # Temporary allowed testing include.
57     # TODO(benwells): Move app_browsertest_util into apps component once there
58     # is an apps shell to test with.
59     "+chrome/browser/apps/app_browsertest_util.h",
60   ]