summaryrefslogtreecommitdiffstats
path: root/extensions/DEPS
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/DEPS')
-rw-r--r--extensions/DEPS41
1 files changed, 35 insertions, 6 deletions
diff --git a/extensions/DEPS b/extensions/DEPS
index 038ba10..d8bae4a 100644
--- a/extensions/DEPS
+++ b/extensions/DEPS
@@ -1,17 +1,46 @@
-# NOTE: Please only include major-module dependencies here.
-# Individual file include rules should live in extensions/browser/DEPS or
-# extensions/common/DEPS.
include_rules = [
"+components/url_matcher",
"+content/public/common",
"+crypto",
"+testing",
- "+ui"
+ "+ui",
+
+ # Temporarily allowed includes as part of the app shell/extensions refactor.
+ #
+ # NOTE: Please do not add includes without talking to the app shell team;
+ # see OWNERS for this directory.
+ #
+ # TODO(jamescook): Remove these. http://crbug.com/162530
+ "!chrome/browser/chrome_notification_types.h",
+ "!chrome/browser/extensions/api/content_settings/content_settings_store.h",
+ "!chrome/browser/extensions/api/runtime/runtime_api.h",
+ "!chrome/browser/renderer_host/chrome_render_message_filter.h",
+ "!chrome/common/extensions/features/feature_channel.h",
+ "!chrome/common/extensions/api/generated_schemas.h",
+ "!grit/chromium_strings.h",
+ "!grit/common_resources.h",
+ "!grit/extensions_api_resources.h",
+ "!grit/generated_resources.h",
+ "!grit/theme_resources.h",
]
-# Allow test support.
specific_include_rules = {
- ".*test\.(h|cc)$": [
+ ".*(test|test_util)\.(cc|h)$": [
"+content/public/test",
+
+ # Temporarily allowed testing includes. See above.
+ # TODO(jamescook): Remove these. http://crbug.com/162530
+ "+chrome/browser/extensions/extension_api_unittest.h",
+ "+chrome/browser/extensions/extension_service_unittest.h",
+ "+chrome/browser/extensions/test_extension_system.h",
+ "+chrome/common/chrome_paths.h",
+ "+chrome/common/extensions/manifest_tests/extension_manifest_test.h",
+ "+chrome/test/base/testing_profile.h",
+ ],
+ "permissions_data_unittest\.cc": [
+ "+chrome/common/chrome_version_info.h",
+ "+chrome/common/extensions/extension_test_util.h",
+ "+chrome/common/extensions/features/feature_channel.h",
+ "+chrome/common/extensions/permissions/socket_permission.h",
],
}