OLD | NEW |
1 include_rules = [ | 1 include_rules = [ |
2 # Bookmarks is being made into a component (it will end up at | 2 # Bookmarks is being made into a component (it will end up at |
3 # //components/bookmarks and not depend on //chrome), so we have these basic | 3 # //components/bookmarks and not depend on //chrome), so we have these basic |
4 # rules followed by temporary exceptions. Please don't add to the list of | 4 # rules followed by temporary exceptions. Please don't add to the list of |
5 # exceptions! | 5 # exceptions! |
6 "-chrome/browser", | 6 "-chrome/browser", |
7 "+chrome/browser/bookmarks", | 7 "+chrome/browser/bookmarks", |
8 "+chrome/browser/favicon", | 8 "+chrome/browser/favicon", |
9 "+chrome/browser/chrome_notification_types.h", | 9 "+chrome/browser/chrome_notification_types.h", |
10 | 10 |
11 # TODO(kaiwang): Bring this list to zero. | 11 # TODO(kaiwang): Bring this list to zero. |
12 # Do not add to the list of temporarily-allowed dependencies below, | 12 # Do not add to the list of temporarily-allowed dependencies below, |
13 # and please do not introduce more #includes of these files. | 13 # and please do not introduce more #includes of these files. |
14 "!chrome/browser/history/history_service.h", | 14 "!chrome/browser/history/history_service.h", |
15 "!chrome/browser/history/history_service_factory.h", | 15 "!chrome/browser/history/history_service_factory.h", |
16 "!chrome/browser/history/query_parser.h", | 16 "!chrome/browser/history/query_parser.h", |
17 "!chrome/browser/history/url_database.h", | 17 "!chrome/browser/history/url_database.h", |
18 "!chrome/browser/profiles/incognito_helpers.h", | 18 "!chrome/browser/profiles/incognito_helpers.h", |
19 "!chrome/browser/profiles/profile.h", | 19 "!chrome/browser/profiles/profile.h", |
20 "!chrome/browser/profiles/startup_task_runner_service.h", | 20 "!chrome/browser/profiles/startup_task_runner_service.h", |
21 "!chrome/browser/profiles/startup_task_runner_service_factory.h", | 21 "!chrome/browser/profiles/startup_task_runner_service_factory.h", |
22 # Do not add to the list of temporarily-allowed dependencies above, | 22 # Do not add to the list of temporarily-allowed dependencies above, |
23 # and please do not introduce more #includes of these files. | 23 # and please do not introduce more #includes of these files. |
24 ] | 24 ] |
| 25 |
| 26 specific_include_rules = { |
| 27 # For unit tests, it's fine to include utility process code. |
| 28 '.*test\.cc': [ |
| 29 "+chrome/utility/importer/bookmark_html_reader.h", |
| 30 ], |
| 31 } |
OLD | NEW |