[email protected] | 885c0e9 | 2012-11-13 20:27:42 | [diff] [blame] | 1 | include_rules = [ |
[email protected] | 6b54fda | 2014-07-22 02:13:47 | [diff] [blame] | 2 | # Do not add Chrome dependencies. Much work went into removing them. |
[email protected] | 8c83fe0 | 2014-08-15 19:07:35 | [diff] [blame] | 3 | "+components/crx_file", |
[email protected] | 716c016 | 2013-12-13 20:36:53 | [diff] [blame] | 4 | "+components/url_matcher", |
[email protected] | 7685f64 | 2014-07-24 03:39:36 | [diff] [blame] | 5 | "-content", |
[email protected] | ae8d0898 | 2014-08-20 19:42:29 | [diff] [blame] | 6 | "+content/grit/content_resources.h", |
[email protected] | 993da5e | 2013-03-23 21:25:16 | [diff] [blame] | 7 | "+content/public/common", |
[email protected] | eccbbb6 | 2014-06-27 21:39:45 | [diff] [blame] | 8 | "+content/public/test", |
[email protected] | 993da5e | 2013-03-23 21:25:16 | [diff] [blame] | 9 | "+crypto", |
tapted | 344272d | 2014-10-02 23:45:52 | [diff] [blame] | 10 | "-extensions/components", |
yoz | e8dc2f1 | 2014-09-09 23:16:32 | [diff] [blame] | 11 | "+extensions/test", |
[email protected] | 8f857ef8 | 2014-06-04 23:46:16 | [diff] [blame] | 12 | "+grit/extensions_renderer_resources.h", |
[email protected] | e689367 | 2014-05-01 17:29:13 | [diff] [blame] | 13 | "+grit/extensions_resources.h", |
[email protected] | f80685c3 | 2014-07-26 19:48:04 | [diff] [blame] | 14 | "+mojo/public", |
[email protected] | 993da5e | 2013-03-23 21:25:16 | [diff] [blame] | 15 | "+testing", |
rockot | e2284fd | 2014-11-04 19:09:25 | [diff] [blame^] | 16 | |
| 17 | # Minimal UI dependencies. There are two good rules for UI dependencies here: |
| 18 | # |
| 19 | # 1) UI components should only be added as they are needed, and |
| 20 | # 2) if //content doesn't allow it, //extensions probably won't allow it. |
| 21 | # (see for example ui/views) |
| 22 | "-ui", |
| 23 | "+ui/base", |
| 24 | "+ui/gfx", |
| 25 | "+ui/events", |
[email protected] | e0cabc4b2 | 2014-04-02 05:55:18 | [diff] [blame] | 26 | |
[email protected] | e0cabc4b2 | 2014-04-02 05:55:18 | [diff] [blame] | 27 | # NOTE: Please do not add includes without talking to the app shell team; |
| 28 | # see OWNERS for this directory. |
[email protected] | 885c0e9 | 2012-11-13 20:27:42 | [diff] [blame] | 29 | ] |
[email protected] | 993da5e | 2013-03-23 21:25:16 | [diff] [blame] | 30 | |
[email protected] | 993da5e | 2013-03-23 21:25:16 | [diff] [blame] | 31 | specific_include_rules = { |
[email protected] | e0cabc4b2 | 2014-04-02 05:55:18 | [diff] [blame] | 32 | ".*(test|test_util)\.(cc|h)$": [ |
[email protected] | 993da5e | 2013-03-23 21:25:16 | [diff] [blame] | 33 | "+content/public/test", |
[email protected] | e0cabc4b2 | 2014-04-02 05:55:18 | [diff] [blame] | 34 | |
| 35 | # Temporarily allowed testing includes. See above. |
| 36 | # TODO(jamescook): Remove these. http://crbug.com/162530 |
[email protected] | f0e9ac55 | 2014-05-07 14:26:50 | [diff] [blame] | 37 | "+chrome/browser/apps/app_browsertest_util.h", |
| 38 | "+chrome/browser/extensions/api/management/management_api.h", |
[email protected] | 6e84e2c1 | 2014-05-05 18:40:11 | [diff] [blame] | 39 | "+chrome/browser/extensions/api/permissions/permissions_api.h", |
[email protected] | e0cabc4b2 | 2014-04-02 05:55:18 | [diff] [blame] | 40 | "+chrome/browser/extensions/extension_api_unittest.h", |
[email protected] | 6e84e2c1 | 2014-05-05 18:40:11 | [diff] [blame] | 41 | "+chrome/browser/extensions/extension_apitest.h", |
[email protected] | f0e9ac55 | 2014-05-07 14:26:50 | [diff] [blame] | 42 | "+chrome/browser/extensions/extension_function_test_utils.h", |
[email protected] | f484f8d5 | 2014-06-12 08:38:18 | [diff] [blame] | 43 | "+chrome/browser/extensions/extension_service.h", |
| 44 | "+chrome/browser/extensions/extension_service_test_base.h", |
thestig | 8146daf | 2014-08-29 23:41:06 | [diff] [blame] | 45 | "+chrome/browser/extensions/extension_test_message_listener.h", |
[email protected] | f0e9ac55 | 2014-05-07 14:26:50 | [diff] [blame] | 46 | "+chrome/browser/extensions/test_extension_dir.h", |
[email protected] | 21d3f3a | 2014-08-20 09:39:55 | [diff] [blame] | 47 | "+chrome/browser/extensions/test_extension_prefs.h", |
[email protected] | e0cabc4b2 | 2014-04-02 05:55:18 | [diff] [blame] | 48 | "+chrome/browser/extensions/test_extension_system.h", |
[email protected] | 6e84e2c1 | 2014-05-05 18:40:11 | [diff] [blame] | 49 | "+chrome/browser/ui/browser.h", |
[email protected] | e0cabc4b2 | 2014-04-02 05:55:18 | [diff] [blame] | 50 | "+chrome/common/chrome_paths.h", |
[email protected] | e689367 | 2014-05-01 17:29:13 | [diff] [blame] | 51 | "+chrome/common/extensions/features/feature_channel.h", |
[email protected] | e0cabc4b2 | 2014-04-02 05:55:18 | [diff] [blame] | 52 | "+chrome/test/base/testing_profile.h", |
[email protected] | f0e9ac55 | 2014-05-07 14:26:50 | [diff] [blame] | 53 | "+chrome/test/base/ui_test_utils.h", |
[email protected] | e0cabc4b2 | 2014-04-02 05:55:18 | [diff] [blame] | 54 | ], |
[email protected] | 993da5e | 2013-03-23 21:25:16 | [diff] [blame] | 55 | } |