| include_rules = [ |
| # Do not add Chrome dependencies. Much work went into removing them. |
| "+components/url_matcher", |
| "+content/public/common", |
| "+content/public/test", |
| "+crypto", |
| "+grit/extensions_renderer_resources.h", |
| "+grit/extensions_resources.h", |
| "+testing", |
| "+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 this. http://crbug.com/392622 |
| "!chrome/browser/chrome_notification_types.h", |
| ] |
| |
| 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_api_unittest.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/test_extension_dir.h", |
| "+chrome/browser/extensions/test_extension_system.h", |
| "+chrome/browser/ui/browser.h", |
| "+chrome/common/chrome_paths.h", |
| "+chrome/common/extensions/features/feature_channel.h", |
| "+chrome/common/extensions/manifest_tests/extension_manifest_test.h", |
| "+chrome/test/base/browser_with_test_window_test.h", |
| "+chrome/test/base/testing_profile.h", |
| "+chrome/test/base/ui_test_utils.h", |
| ], |
| "(simple|complex)_feature_unittest\.cc|base_feature_provider_unittest\.cc": [ |
| "+chrome/common/extensions/features/chrome_channel_feature_filter.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", |
| ], |
| } |