[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. |
lazyboy | d5b8383 | 2015-04-26 14:58:32 | [diff] [blame] | 3 | "+components/browsing_data", |
[email protected] | 8c83fe0 | 2014-08-15 19:07:35 | [diff] [blame] | 4 | "+components/crx_file", |
fsamuel | 8dfa19a | 2015-05-05 01:00:39 | [diff] [blame] | 5 | "+components/guest_view", |
brettw | 06650868 | 2016-02-03 08:22:02 | [diff] [blame] | 6 | "+components/prefs", |
Jay Harris | d3191c0 | 2019-08-16 01:23:39 | [diff] [blame] | 7 | "+components/services/app_service/public", |
[email protected] | 716c016 | 2013-12-13 20:36:53 | [diff] [blame] | 8 | "+components/url_matcher", |
rdevlin.cronin | 4122753 | 2016-07-13 21:24:34 | [diff] [blame] | 9 | "+components/version_info", |
[email protected] | 7685f64 | 2014-07-24 03:39:36 | [diff] [blame] | 10 | "-content", |
[email protected] | 993da5e | 2013-03-23 21:25:16 | [diff] [blame] | 11 | "+content/public/common", |
[email protected] | eccbbb6 | 2014-06-27 21:39:45 | [diff] [blame] | 12 | "+content/public/test", |
[email protected] | 993da5e | 2013-03-23 21:25:16 | [diff] [blame] | 13 | "+crypto", |
tapted | 344272d | 2014-10-02 23:45:52 | [diff] [blame] | 14 | "-extensions/components", |
thakis | 54f7dc9 | 2017-02-23 22:09:59 | [diff] [blame] | 15 | "+extensions/grit/extensions_renderer_resources.h", |
| 16 | "+extensions/grit/extensions_resources.h", |
yoz | e8dc2f1 | 2014-09-09 23:16:32 | [diff] [blame] | 17 | "+extensions/test", |
rockot | 85dce086 | 2015-11-13 01:33:59 | [diff] [blame] | 18 | "+mojo/public", |
noel | c8702c4 | 2017-03-16 08:51:19 | [diff] [blame] | 19 | "+services/service_manager/public", |
danakj | 047ee66 | 2020-11-11 02:51:51 | [diff] [blame] | 20 | "+skia/public/mojom", |
asargent | 275faaa | 2015-01-27 23:43:29 | [diff] [blame] | 21 | "+testing", |
Minggang Wang | f6840ecf | 2019-07-29 05:15:02 | [diff] [blame] | 22 | "+third_party/blink/public/common/loader/url_loader_throttle.h", |
benwells | d4b64a7 | 2014-12-11 12:38:27 | [diff] [blame] | 23 | "+third_party/skia/include", |
rockot | e2284fd | 2014-11-04 19:09:25 | [diff] [blame] | 24 | |
| 25 | # Minimal UI dependencies. There are two good rules for UI dependencies here: |
| 26 | # |
| 27 | # 1) UI components should only be added as they are needed, and |
| 28 | # 2) if //content doesn't allow it, //extensions probably won't allow it. |
| 29 | # (see for example ui/views) |
| 30 | "-ui", |
| 31 | "+ui/base", |
Joseph Park | f1147f74 | 2024-10-18 17:39:17 | [diff] [blame] | 32 | "+ui/menus", |
rockot | e2284fd | 2014-11-04 19:09:25 | [diff] [blame] | 33 | "+ui/gfx", |
| 34 | "+ui/events", |
[email protected] | e0cabc4b2 | 2014-04-02 05:55:18 | [diff] [blame] | 35 | |
[email protected] | e0cabc4b2 | 2014-04-02 05:55:18 | [diff] [blame] | 36 | # NOTE: Please do not add includes without talking to the app shell team; |
| 37 | # see OWNERS for this directory. |
[email protected] | 885c0e9 | 2012-11-13 20:27:42 | [diff] [blame] | 38 | ] |
[email protected] | 993da5e | 2013-03-23 21:25:16 | [diff] [blame] | 39 | |
[email protected] | 993da5e | 2013-03-23 21:25:16 | [diff] [blame] | 40 | specific_include_rules = { |
[email protected] | e0cabc4b2 | 2014-04-02 05:55:18 | [diff] [blame] | 41 | ".*(test|test_util)\.(cc|h)$": [ |
Takuto Ikuta | 51eed2e1d | 2024-03-13 02:18:26 | [diff] [blame] | 42 | "+chrome/browser/profiles/profile.h", |
[email protected] | 993da5e | 2013-03-23 21:25:16 | [diff] [blame] | 43 | "+content/public/test", |
[email protected] | e0cabc4b2 | 2014-04-02 05:55:18 | [diff] [blame] | 44 | ], |
[email protected] | 993da5e | 2013-03-23 21:25:16 | [diff] [blame] | 45 | } |