blob: 0c085e5a86a96722cc37ad8de589dfdcdf3a84c2 [file] [log] [blame]
[email protected]4ec7327e2008-08-18 23:59:511include_rules = [
[email protected]c2e2b6d2013-01-22 02:23:292 "+apps",
enne34f6084c2017-02-02 22:39:083 "+cc/paint",
Joey Arharfee2db42020-07-31 21:07:114 "+cc/test",
Brandon Wyliec5a14572020-08-28 02:19:105
6 # Restricting uses of ChromeActivity in favor of direct dependency aquisition. Code that lives
7 # under java/src/.../chrome/browser has a seperate exception under that same directory.
8 # Exceptions can be found under "specific_include_rules" below.
9 "-chrome/android/java/src/org/chromium/chrome/browser/app/ChromeActivity.java",
10
Michael Thiessen8d9619a2020-01-07 23:09:3911 "+chrome/android/native_j_unittests_jni_headers",
Andrew Grieve4a42c22e2019-06-24 16:14:2912 "+chrome/android/chrome_jni_headers",
13 "+chrome/android/features/autofill_assistant/jni_headers",
Samuel Huang0a256572019-08-29 16:48:4214 "+chrome/android/features/dev_ui",
Tibor Goldschwendt54da7ccf2019-09-23 18:55:5515 "+chrome/android/modules",
Jinsuk Kim0533fb62019-09-27 00:02:4616 "+chrome/android/test_support_jni_headers",
[email protected]a8cf61b2009-02-05 17:41:3817 "+chrome/app",
Henrique Nakashima5a0c9902020-04-21 16:54:2018 "+chrome/browser/flags/android",
19 "+chrome/browser/preferences/android",
20 "+chrome/browser/profiles/android/jni_headers",
21 "+chrome/browser/util/android",
Shakti Sahu2741f8d2020-08-14 03:38:3622 "+chrome/browser/video_tutorials",
Tien Maib89c1402018-11-13 13:25:3623 "+chrome/credential_provider/common",
thestig4a2e88e2016-08-27 23:23:5124 "+chrome/grit",
jwdc882e48d2016-08-19 00:14:4225 "+chrome/install_static",
grt6990ce312017-03-27 12:04:1726 "+chrome/installer/util",
Xi Chengb7c35726b2018-04-25 04:55:1427 "+chrome/notification_helper/notification_helper_constants.h",
Luum Habtemariamc295b4ea2019-04-24 20:18:5128 "+chrome/services/cups_proxy",
Maksim Ivanov23e783072018-10-30 21:50:1429 "+chrome/services/diagnosticsd/public",
Jay Civelli8743364b2017-11-02 18:14:3630 "+chrome/services/file_util/public",
Jia Liabb08a32020-07-27 21:23:2131 "+chrome/services/machine_learning/public",
Jay Civelli069422f2017-11-10 18:55:5232 "+chrome/services/media_gallery_util/public",
Jay Civelli407c3fc2017-12-14 00:25:2733 "+chrome/services/printing/public",
Himanshu Jaju6d021882020-01-23 10:32:4834 "+chrome/services/sharing/public",
Jay Civelli66e0d892017-12-05 01:05:1035 "+chrome/services/removable_storage_writer/public",
Alex Gough490bdb02020-05-20 05:22:1336 "+chrome/services/speech/buildflags.h",
Jay Civelli446d1db2017-11-15 00:19:2637 "+chrome/services/util_win/public",
[email protected]5cf19b92012-03-21 22:25:0538 "+chromeos",
Colin Blundell09f20832019-07-05 13:35:1539 "+components/about_ui",
40 "+components/account_id",
Yao Xiao431dec62020-06-25 14:13:0641 "+components/federated_learning",
Colin Blundell09f20832019-07-05 13:35:1542 "+components/arc",
43 "+components/assist_ranker",
44 "+components/autofill_assistant/browser",
45 "+components/autofill/content/browser",
46 "+components/autofill/content/common",
47 "+components/autofill/core/browser",
48 "+components/autofill/core/common",
Shakti Sahuf9847ad2020-02-21 21:43:0149 "+components/background_task_scheduler",
Colin Blundell09f20832019-07-05 13:35:1550 "+components/base32",
Clark DuVall8236b6a82020-05-28 22:54:3251 "+components/blocked_content",
Aaron Colwell90ddc4b2020-06-09 18:00:4552 "+components/blocklist/opt_out_blocklist",
Colin Blundell09f20832019-07-05 13:35:1553 "+components/bookmarks/browser",
54 "+components/bookmarks/common",
55 "+components/bookmarks/managed",
56 "+components/bookmarks/test",
Robbie McElrath4e4a76b2020-03-30 17:30:3057 "+components/browser_ui/settings",
John Abd-El-Malek68078632020-04-04 00:05:2258 "+components/browser_ui/util",
Shakti Sahu91b955a92020-04-15 02:57:3559 "+components/browser_ui/widget",
Colin Blundell09f20832019-07-05 13:35:1560 "+components/browser_sync",
Robbie McElrath38cb3e5a2020-04-01 22:45:0561 "+components/browser_ui/site_settings",
Colin Blundell09f20832019-07-05 13:35:1562 "+components/browser_watcher",
63 "+components/browsing_data/content",
64 "+components/browsing_data/core",
Colin Blundell09f20832019-07-05 13:35:1565 "+components/captive_portal",
66 "+components/cast_certificate",
67 "+components/cast_channel",
68 "+components/cbor",
69 "+components/cdm/browser",
70 "+components/certificate_matching",
71 "+components/certificate_transparency",
72 "+components/chrome_cleaner/public",
73 "+components/chrome_cleaner/test",
Wei Lee8176c132019-09-19 05:49:5674 "+components/chromeos_camera",
Clark DuVall04894d7f2020-04-07 23:54:2175 "+components/client_hints/browser",
Colin Blundell09f20832019-07-05 13:35:1576 "+components/cloud_devices/common",
77 "+components/component_updater",
Ce Chen4d0fda72019-09-25 20:47:2978 "+components/component_updater/installer_policies",
Colin Blundell09f20832019-07-05 13:35:1579 "+components/consent_auditor",
80 "+components/constrained_window",
81 "+components/content_capture/browser",
Clark DuVall84a33d612020-04-17 16:01:0082 "+components/content_settings/browser",
Colin Blundell09f20832019-07-05 13:35:1583 "+components/content_settings/core/browser",
84 "+components/content_settings/core/test",
Oksana Zhuravlova97752282020-02-20 20:14:1985 "+components/contextual_search/buildflags.h",
Colin Blundell09f20832019-07-05 13:35:1586 "+components/contextual_search/content/browser",
87 "+components/contextual_search/content/common",
88 "+components/contextual_search/core/browser",
89 "+components/cookie_config",
Ben Schwartz35685c72020-06-03 04:53:1390 "+components/country_codes",
Colin Blundell09f20832019-07-05 13:35:1591 "+components/crash/content/app",
92 "+components/crash/content/browser",
Rohit Rao92f84b6a2020-03-25 14:57:5093 "+components/crash/core/app",
Colin Blundell09f20832019-07-05 13:35:1594 "+components/crash/core/browser",
95 "+components/crash/core/common",
96 "+components/crx_file",
97 "+components/data_reduction_proxy/content/browser",
98 "+components/data_reduction_proxy/content/common",
99 "+components/data_reduction_proxy/core/browser",
100 "+components/data_reduction_proxy/core/common",
101 "+components/data_reduction_proxy/proto",
102 "+components/data_use_measurement/core",
103 "+components/dbus",
104 "+components/device_event_log",
105 "+components/domain_reliability",
106 "+components/dom_distiller/content/browser",
Miyoung Shin947a73c82019-11-06 00:19:55107 "+components/dom_distiller/content/common",
Colin Blundell09f20832019-07-05 13:35:15108 "+components/dom_distiller/core",
109 "+components/dom_distiller/webui",
110 "+components/download/content/factory",
111 "+components/download/content/public",
112 "+components/download/internal/background_service",
113 "+components/download/network/android",
114 "+components/download/public/background_service",
115 "+components/download/public/common",
116 "+components/download/public/task",
117 "+components/download/quarantine",
118 "+components/drive",
Colin Blundellab45f552020-01-22 15:08:40119 "+components/embedder_support",
Colin Blundell09f20832019-07-05 13:35:15120 "+components/encrypted_messages",
Guillaume Jenkins5828252b2020-06-30 17:01:06121 "+components/enterprise",
Ken Rockot4408a0f2020-07-27 19:40:54122 "+components/error_page/content/browser",
Colin Blundell09f20832019-07-05 13:35:15123 "+components/exo",
Colin Blundellcdf90872020-03-11 12:25:51124 "+components/external_intents",
Colin Blundell09f20832019-07-05 13:35:15125 "+components/favicon_base",
126 "+components/favicon/content",
127 "+components/favicon/core",
128 "+components/feature_engagement",
129 "+components/feed",
130 "+components/feedback",
Evan Stade61ccab72020-01-17 20:17:51131 "+components/find_in_page",
Colin Blundell09f20832019-07-05 13:35:15132 "+components/flags_ui",
Sebastienafa979b2019-10-04 12:39:44133 "+components/games/core",
Colin Blundell09f20832019-07-05 13:35:15134 "+components/gcm_driver",
135 "+components/google/core/browser",
136 "+components/google/core/common",
137 "+components/grit",
138 "+components/guest_view/browser",
139 "+components/handoff",
140 "+components/heap_profiling",
141 "+components/history/content/browser",
142 "+components/history/core/browser",
143 "+components/history/core/common",
144 "+components/history/core/test",
145 "+components/image_fetcher/core",
Colin Blundell3704df92020-06-05 14:26:46146 "+components/infobars/content",
Colin Blundell09f20832019-07-05 13:35:15147 "+components/infobars/core",
148 "+components/invalidation/impl",
149 "+components/invalidation/public",
Evan Stade7220e472020-01-31 17:06:57150 "+components/javascript_dialogs",
Colin Blundell09f20832019-07-05 13:35:15151 "+components/keep_alive_registry",
152 "+components/keyed_service/content",
153 "+components/keyed_service/core",
154 "+components/language/content/browser",
155 "+components/language/core/browser",
156 "+components/language/core/common",
157 "+components/language_usage_metrics",
158 "+components/leveldb_proto/content",
159 "+components/leveldb_proto/public",
160 "+components/leveldb_proto/testing",
161 "+components/location/android",
Livvie Lin9e6e3072020-05-04 19:55:59162 "+components/lookalikes/core",
Colin Blundell09f20832019-07-05 13:35:15163 "+components/login",
164 "+components/media_message_center",
Evan Stadeff2cc1b12020-09-10 22:00:06165 "+components/media_router/browser",
Pavel Yatsuk358291752020-09-03 18:25:22166 "+components/messages/android",
Christopher Cameron7e9874732019-10-25 00:40:36167 "+components/metal_util",
Colin Blundell09f20832019-07-05 13:35:15168 "+components/metrics",
169 "+components/metrics_services_manager",
170 "+components/metrics/ui",
171 "+components/mirroring/browser",
172 "+components/mirroring/mojom",
173 "+components/mirroring/service",
Samuel Huang568a9752019-08-30 16:30:44174 "+components/module_installer/android",
Colin Blundell09f20832019-07-05 13:35:15175 "+components/nacl/broker",
176 "+components/nacl/browser",
177 "+components/nacl/common",
178 "+components/nacl/loader",
179 "+components/navigation_interception",
180 "+components/navigation_metrics",
181 "+components/net_log",
182 "+components/network_hints/common",
183 "+components/network_session_configurator/browser",
184 "+components/network_session_configurator/common",
185 "+components/network_time",
186 "+components/ntp_snippets",
187 "+components/ntp_tiles",
188 "+components/offline_items_collection/core",
189 "+components/offline_pages/buildflags",
190 "+components/offline_pages/content",
191 "+components/offline_pages/core",
192 "+components/offline_pages/task",
193 "+components/omnibox/browser",
194 "+components/onc",
195 "+components/open_from_clipboard",
196 "+components/optimization_guide",
197 "+components/os_crypt",
198 "+components/ownership",
Mugdha Lakhanib6762162020-03-30 10:23:25199 "+components/page_info",
Tao Baib827b202019-09-19 21:22:12200 "+components/page_load_metrics/browser",
Tao Bai5993d2e2019-08-27 21:05:46201 "+components/page_load_metrics/common",
ckitagawa8dad53d2020-01-07 16:03:35202 "+components/paint_preview/features",
203 "+components/paint_preview/browser",
ckitagawa8695799b2020-02-05 16:08:49204 "+components/paint_preview/buildflags",
Colin Blundell09f20832019-07-05 13:35:15205 "+components/password_manager/content/browser",
206 "+components/password_manager/core/browser",
207 "+components/password_manager/core/common",
208 "+components/payments/content",
209 "+components/payments/core",
Sigurdur Asgeirsson51d9d242019-10-07 20:38:34210 "+components/performance_manager/public",
Francois Doray91f3263a2019-12-16 17:40:49211 "+components/performance_manager/embedder",
Sigurdur Asgeirsson51d9d242019-10-07 20:38:34212 "+components/performance_manager/performance_manager_tab_helper.h",
Francois Doray91f3263a2019-12-16 17:40:49213 "+components/performance_manager/test_support",
Sigurdur Asgeirsson51d9d242019-10-07 20:38:34214 "+components/performance_manager/performance_manager_impl.h",
Clark DuVall484c2562020-01-23 22:05:09215 "+components/permissions",
Colin Blundell09f20832019-07-05 13:35:15216 "+components/pdf/browser",
217 "+components/policy",
218 "+components/pref_registry",
219 "+components/prefs",
Mugdha Lakhani59f7675b2020-06-01 14:48:53220 "+components/prerender",
Colin Blundell09f20832019-07-05 13:35:15221 "+components/previews/content",
222 "+components/previews/core",
223 "+components/printing/browser",
224 "+components/printing/common",
225 "+components/profile_metrics",
226 "+components/proxy_config",
227 "+components/query_parser",
Shakti Sahuce57c7d92020-04-29 01:47:17228 "+components/query_tiles",
Colin Blundell09f20832019-07-05 13:35:15229 "+components/quirks",
230 "+components/rappor",
231 "+components/reading_list/core",
232 "+components/remote_cocoa/app_shim",
233 "+components/remote_cocoa/browser",
234 "+components/remote_cocoa/common",
235 "+components/renderer_context_menu",
236 "+components/rlz",
237 "+components/safe_browsing",
238 "+components/safe_search_api",
Sam Bowen4ea1eb422020-03-18 23:44:58239 "+components/schema_org",
Colin Blundell09f20832019-07-05 13:35:15240 "+components/search",
241 "+components/search_engines",
242 "+components/search_provider_logos",
243 "+components/security_interstitials/content",
244 "+components/security_interstitials/core",
245 "+components/security_state/content",
246 "+components/security_state/core",
247 "+components/send_tab_to_self",
Jay Harrisd3191c02019-08-16 01:23:39248 "+components/services/app_service/public",
[email protected]2f82f862020-05-27 01:44:40249 "+components/services/app_service/public/mojom",
Miyoung Shina26226512019-07-17 09:44:38250 "+components/services/filesystem/public/mojom",
Colin Blundell09f20832019-07-05 13:35:15251 "+components/services/heap_profiling",
Doug Arnettcf9fd6852020-04-21 15:21:20252 "+components/services/language_detection/public/cpp",
253 "+components/services/language_detection/public/mojom",
Ken Rockotd6ac38d2019-07-30 21:08:58254 "+components/services/patch/content",
255 "+components/services/patch/public",
Alan Screen6cef2c82020-01-14 20:58:52256 "+components/services/print_compositor/public",
Colin Blundell09f20832019-07-05 13:35:15257 "+components/services/quarantine",
Daniel Murphy846066f2020-01-06 21:31:28258 '+components/services/storage/public',
Colin Blundell09f20832019-07-05 13:35:15259 "+components/services/unzip",
260 "+components/session_manager",
261 "+components/sessions/content",
262 "+components/sessions/core",
263 "+components/signin/core/browser",
Colin Blundell09f20832019-07-05 13:35:15264 "+components/signin/public",
Alex Moshchuk51e1428b2020-04-22 18:00:54265 "+components/site_isolation",
Colin Blundell09f20832019-07-05 13:35:15266 "+components/spellcheck",
David Van Clevea39c29572020-01-14 23:04:49267 "+components/sqlite_proto",
Colin Blundell09f20832019-07-05 13:35:15268 "+components/ssl_errors",
269 "+components/startup_metric_utils/browser",
270 "+components/storage_monitor",
271 "+components/strings/grit",
272 "+components/subresource_filter/content/browser",
273 "+components/subresource_filter/core/browser",
274 "+components/subresource_filter/core/common",
275 "+components/subresource_filter/core/mojom",
276 "+components/suggestions",
277 "+components/supervised_user_error_page",
278 "+components/sync",
279 "+components/sync_bookmarks",
280 "+components/sync_device_info",
281 "+components/sync_preferences",
282 "+components/sync_sessions",
283 "+components/sync_user_events",
284 "+components/tab_count_metrics",
Connie Wan866179b2019-12-18 21:39:33285 "+components/tab_groups",
Colin Blundell09f20832019-07-05 13:35:15286 "+components/tracing/common",
287 "+components/translate/content/browser",
288 "+components/translate/content/common",
289 "+components/translate/core/browser",
290 "+components/translate/core/common",
291 "+components/translate/core/language_detection",
292 "+components/translate/translate_internals",
293 "+components/ui_devtools",
294 "+components/ui_metrics",
295 "+components/ukm",
296 "+components/undo",
297 "+components/unified_consent",
298 "+components/update_client",
299 "+components/upload_list",
300 "+components/url_matcher",
301 "+components/url_pattern_index/proto",
302 "+components/user_manager",
303 "+components/user_prefs",
304 "+components/vector_icons",
305 "+components/version_info",
306 "+components/version_ui",
307 "+components/viz/common",
308 "+components/viz/host",
309 "+components/web_cache/browser",
310 "+components/webdata/common",
311 "+components/webdata_services",
312 "+components/web_modal",
313 "+components/web_resource",
314 "+components/webrtc_logging/browser",
315 "+components/webrtc_logging/common",
316 "+components/wifi",
317 "+components/zoom",
[email protected]fd31c2212011-10-17 19:43:43318 "+content/public/browser",
Ke He0be22ba2017-12-18 05:12:38319 "+content/public/common",
[email protected]94a481b2014-03-28 19:41:55320 "+courgette",
alexis.menard2fe63eaa2016-10-13 21:42:43321 "+device/base",
[email protected]06af6a42012-12-14 00:16:40322 "+device/bluetooth",
Adam Langley573d3ac2018-04-28 00:32:13323 "+device/fido",
Matt Reynolds660a47752018-06-28 19:42:48324 "+device/gamepad/public/cpp",
Scott Violetc8240b02018-03-08 22:03:59325 "+device/vr/buildflags/buildflags.h",
Bill Orreb429222018-08-08 21:14:43326 "+device/vr/public",
[email protected]993da5e2013-03-23 21:25:16327 "+extensions/browser",
[email protected]885c0e92012-11-13 20:27:42328 "+extensions/common",
oshima758abebc2014-11-06 10:55:50329 "+extensions/components/javascript_dialog_extensions_client",
Scott Violetc8240b02018-03-08 22:03:59330 "+extensions/buildflags",
mukai4245dfe82014-09-05 17:40:51331 "+extensions/grit",
yoze8dc2f12014-09-09 23:16:32332 "+extensions/test",
[email protected]6386cf52012-09-07 04:26:37333 "+google_apis",
[email protected]cec99842012-02-10 03:24:23334 "+google_update",
[email protected]b4d08ea2012-05-24 19:26:57335 "+installer_util_strings", # For generated headers
Thomas Guilbert642e97d2019-03-27 23:33:37336 "+media/media_buildflags.h",
dalecurtis1620bd3a2015-04-28 20:26:29337 "+media/audio", # For media audio hang monitor.
[email protected]e2e8e322012-09-12 04:37:02338 "+media/base", # For media switches
chcunningham9205ea82018-07-12 18:04:20339 "+media/capabilities", # For InMemoryVideoDecodeStatsDB
xhwangc3a252b2016-05-23 02:35:48340 "+media/cdm/cdm_paths.h",
Xiangjun Zhang3aafe302018-02-07 20:10:40341 "+media/capture",
yhiranobbea6272015-09-17 07:09:03342 "+media/midi", # For midi switches
alokp6ecb2382016-01-27 00:40:00343 "+media/mojo", # For mojo media services.
Saman Sami2acabd12018-03-10 00:51:09344 "+media/renderers",
Alex Loiko66f63f5c2018-11-16 10:21:06345 "+media/webrtc", # For webrtc media switches.
[email protected]1b4209f2011-01-07 00:25:40346 "+ppapi/c", # For various types.
[email protected]b7631cc2012-09-15 05:08:38347 "+ppapi/host",
[email protected]709a847e2010-11-10 01:16:11348 "+ppapi/proxy",
[email protected]8ddc6b7c2013-12-12 20:42:06349 "+ppapi/shared_impl",
[email protected]5b7937e2010-11-04 23:37:18350 "+rlz",
[email protected]181491782012-07-18 00:59:15351 "+sandbox/win/src", # The path doesn't say it, but this is the Windows sandbox.
Olga Sharonovaa234a0a2018-02-16 11:12:23352 "+services/audio/public",
Matthew Denton03c45a22020-06-01 23:40:48353 "+services/cert_verifier",
Jay Civellid8dc7c62017-11-02 02:10:41354 "+services/data_decoder/public",
Ke He0be22ba2017-12-18 05:12:38355 "+services/device/public",
Andrew Moylan8ed9d83c82019-01-29 20:23:52356 "+services/image_annotation/public",
Becca Hughesf87f5252018-08-30 18:43:36357 "+services/media_session/public",
Steven Holtee830e7e2017-11-07 23:47:30358 "+services/metrics/metrics_mojo_service.h",
Mounir Lamourifd9dcefa2017-07-06 10:26:55359 "+services/metrics/public",
John Abd-El-Malek21bca7c2018-10-26 22:13:33360 "+services/network/cert_verifier_with_trust_anchors.h",
John Abd-El-Malek8e82a322018-01-31 20:30:47361 "+services/network/network_service.h",
Ken Rockot7d0a5ff62018-04-26 21:46:51362 "+services/network/public",
Mark Pilgrim9c330c2212018-04-27 15:35:27363 "+services/network/test",
364 "+services/network/url_request_context_owner.h",
John Abd-El-Malek8e82a322018-01-31 20:30:47365 "+services/network/url_request_context_builder_mojo.h",
rockot905e3892017-02-18 10:47:11366 "+services/preferences/public/cpp",
Ken Rockotf7f533e2018-02-11 02:21:33367 "+services/preferences/public/mojom",
Jay Civelli2df24642017-10-09 20:22:28368 "+services/proxy_resolver", # Android runs the packaged proxy resolver
369 # service in process and needs impl access.
Ken Rockot26cf4742018-02-11 04:10:40370 "+services/proxy_resolver/public/mojom",
oysteine8c8d3b702017-05-18 15:18:17371 "+services/resource_coordinator/public/cpp",
Ken Rockot95c888a42018-02-11 05:54:11372 "+services/resource_coordinator/public/mojom",
Ken Rockotd7e999b2018-02-11 15:48:21373 "+services/shape_detection/public/mojom",
Ken Rockotcebdf9c82019-05-28 20:33:03374 "+services/strings",
Oystein Eftevaag424fd372019-06-07 17:51:03375 "+services/tracing/public/cpp",
Guido Urdaneta191635e2018-05-09 16:00:53376 "+services/video_capture/public",
Scott Violet703b8242019-06-11 19:34:36377 "+services/viz/public",
Saman Sami2acabd12018-03-10 00:51:09378 "+services/viz/privileged",
[email protected]5b7937e2010-11-04 23:37:18379 "+skia/ext",
tfarina29a3a1742016-10-28 18:47:33380 "+third_party/boringssl/src/include",
manzagopa5d6688d2016-10-25 20:16:03381 "+third_party/crashpad",
[email protected]4404e5b2011-08-16 19:08:46382 "+third_party/cros_system_api",
Steven Holtef9d5ed62017-10-21 02:02:30383 "+third_party/metrics_proto",
Xiaohan Wangf170c732018-09-27 05:45:26384 "+third_party/widevine/cdm/buildflags.h",
Xiaohan Wanga4e41842018-06-26 18:45:10385 "+third_party/widevine/cdm/widevine_cdm_common.h",
Mehrdad Hessare645ec12020-08-12 18:32:56386 "+chrome/services/machine_learning",
[email protected]895701a2012-09-13 10:07:34387
James Cook625d4672020-06-01 21:54:02388 # Code under //ash should be accessed via its public API. See //ash/README.md.
jamescook1f91eac12017-05-30 17:27:32389 "-ash",
390 "+ash/public",
Leonard Grey213a1bb32020-05-27 13:25:31391 "+ash/keyboard/ui/grit",
Darren Shen50e14952019-05-14 03:40:43392 "+ash/keyboard/ui/resources",
Mike Wasserman1fff56852019-05-02 03:38:40393 "+ash/components/shortcut_viewer",
jamescook1f91eac12017-05-30 17:27:32394
Evan Stade30e7ed22019-06-11 21:43:54395 # The message center should only be accessed through
396 # //chrome/browser/notifications.
Evan Stade196ec042018-03-13 19:44:36397 "-ui/message_center",
398 "+ui/message_center/public",
399
Matt Amert2df4f1452019-12-09 04:59:49400 # chrome only needs switches and features flags from cc. All usage of the
401 # compositor is from content. Definitely don't include generic stuff from
402 # cc/base here, if this is needed these files need to move to base/
403 "+cc/base/features.h",
[email protected]1249f322013-10-23 21:03:16404 "+cc/base/switches.h",
405
[email protected]bbe2f512013-08-16 12:54:39406 # Unsafe to use from //chrome, see http://goo.gl/QQG5wo
407 "-content/public/test/test_browser_context.h",
408
pilgrime92c5fcd2014-09-10 23:31:23409 "+storage/browser",
pilgrim16330552014-09-10 01:32:22410 "+storage/common",
[email protected]c4298d02013-05-20 05:42:52411
Peter Kasting7801d48e2020-08-04 04:20:11412 # chrome/browser/ui/views/ is an implementation, not a public interface.
413 # Parent directories should not depend on it directly.
414 # TODO(crbug.com/1112591): Remove the exceptions below.
[email protected]81963ad2012-05-17 19:25:03415 "-chrome/browser/ui/views",
Greg Thompson0d974c42017-11-03 16:17:26416 "+chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.h",
[email protected]e8b6ca02013-07-10 18:00:51417 "+chrome/browser/ui/views/chrome_browser_main_extra_parts_views.h",
estaded3aa0e82016-02-17 22:55:21418 "+chrome/browser/ui/views/chrome_browser_main_extra_parts_views_linux.h",
Maksim Sisov1f2f2e62019-05-08 07:56:22419 "+chrome/browser/ui/views/chrome_browser_main_extra_parts_views_linux_x11.h",
ananta5ecf11b2017-04-29 00:45:10420 "+chrome/browser/ui/views/extensions/request_file_system_dialog_view.h",
Melissa Zhang5cf92fe2020-09-22 06:13:35421 "+chrome/browser/ui/views/sharesheet/sharesheet_bubble_view.h",
Greg Thompson0d974c42017-11-03 16:17:26422 "+chrome/browser/ui/views/try_chrome_dialog_win/try_chrome_dialog.h",
[email protected]81963ad2012-05-17 19:25:03423
Sebastien Marchandf466c532019-06-04 20:09:48424 # Ensure that only the public interface of performance_manager gets used.
425 "-chrome/browser/performance_manager",
426 "+chrome/browser/performance_manager/public",
Sebastien Marchandd1b927f2019-12-19 18:38:57427 "+chrome/browser/performance_manager/test_support",
Sebastien Marchandf466c532019-06-04 20:09:48428 "+chrome/browser/performance_manager/chrome_browser_main_extra_parts_performance_manager.h",
429 "+chrome/browser/performance_manager/chrome_content_browser_client_performance_manager_part.h",
Sigurdur Asgeirsson68667e12020-04-29 17:53:29430 "+chrome/browser/performance_manager/policies/policy_features.h",
Sebastien Marchandf466c532019-06-04 20:09:48431
boliu60df2072015-10-26 22:55:19432 # Explicitly disallow using SyncMessageFilter to prevent browser from
433 # sending synchronous IPC messages on non-UI threads.
434 "-ipc/ipc_sync_message_filter.h",
435
mmenkef73a5122017-07-13 23:27:39436 # Allows in-process use of NetworkService for URLRequestContext configuration.
437 # Should be removed once the actual network service ships.
438 "+content/public/network",
439
[email protected]4ec7327e2008-08-18 23:59:51440 # Other libraries.
[email protected]17a444c2014-06-24 01:44:32441 "+third_party/google_toolbox_for_mac/src",
[email protected]8bbf6192013-07-18 11:14:04442 "+third_party/icu/source/common/unicode",
443 "+third_party/icu/source/i18n/unicode",
[email protected]f82ef062012-04-27 17:52:54444 "+third_party/leveldatabase",
Robert Seseke63d2e222019-11-01 21:46:50445 "+third_party/libxml/chromium/xml_writer.h",
[email protected]17a444c2014-06-24 01:44:32446 "+third_party/mozilla", # Mozilla interface headers.
miguelgdbb2e232016-10-14 18:50:13447 "+third_party/ocmock/gtest_support.h",
[email protected]3828d6f2011-02-24 18:32:21448 "+third_party/protobuf/src/google/protobuf",
[email protected]4728ca82012-08-24 10:39:59449 "+third_party/re2",
[email protected]b84ee6e2014-03-15 22:51:54450 "+third_party/smhasher",
[email protected]2b733b32011-09-22 06:18:24451 "+third_party/sqlite",
[email protected]537c638d2013-07-04 00:49:19452 "+third_party/zlib",
[email protected]af6e0752013-06-21 15:50:38453
Kinuko Yasuda20083062018-02-10 02:13:30454 # No inclusion of WebKit from the browser, other than the ones in
Doug Arnett14d59e12019-09-26 21:59:44455 # WebKit/public/{mojom,common}.
456 # TODO(crbug.com/1008303) clarify dependency and remove or move these individual headers
457 # into public/common.
Blink Reformata30d4232018-04-07 15:31:06458 "-third_party/blink",
459 "+third_party/blink/public/common",
460 "+third_party/blink/public/mojom",
Blink Reformata30d4232018-04-07 15:31:06461 "+third_party/blink/public/public_buildflags.h",
[email protected]4ec7327e2008-08-18 23:59:51462]
Scott Violetd4b21d252017-08-11 17:27:36463
jamescook1f91eac12017-05-30 17:27:32464specific_include_rules = {
Yaron Friedman6975d1792020-07-08 18:50:53465 '.*Test\.java': [
Henrique Nakashima7a6558d2020-03-11 22:49:20466 # Android instrumentation tests depend on the whole app.
467 "+chrome/android",
Brandon Wyliec5a14572020-08-28 02:19:10468 "+chrome/android/java/src/org/chromium/chrome/browser/app/ChromeActivity.java",
Henrique Nakashima7a6558d2020-03-11 22:49:20469 ],
Kai Uwe Broulikda1cd322019-11-18 21:55:06470 "platform_util_linux.cc": [
471 # The following is used to call the org.freedesktop.FileManager1
472 # DBus interface to highlight a file within its parent folder
473 "+dbus"
474 ],
Christopher Cameron936b0a192018-10-08 20:22:35475 "platform_util_mac.mm": [
476 # The following is used to forward methods to an NSWindow in another
477 # process, via the views::Widget API.
478 "+ui/views/widget/widget.h",
479 ],
Scott Violet737fb752018-04-11 15:35:22480 "exo_parts\.cc": [
481 "+ash/shell.h",
482 ],
Evan Stade196ec042018-03-13 19:44:36483 # TODO(estade): the message center is initialized and shut down here, but it
484 # should be the responsibility of code in chrome/browser/notifications/
485 "browser_process_impl.cc": [
486 "+ui/message_center/message_center.h",
487 ],
Yuichiro Hanada08d90c75a2020-05-28 00:06:21488 "input_method_engine.cc": [
Yuichiro Hanada3566b752020-04-13 15:14:25489 # For GetInputMethodKeyboardController.
Darren Shencb2508442019-07-03 21:48:23490 "+ash/keyboard/ui/keyboard_ui_controller.h",
Darren Shen50e14952019-05-14 03:40:43491 ],
Robbie McElratheeebbf92019-06-13 17:37:13492 "chrome_browsing_data_remover_delegate_unittest.cc": [
493 "+services/network/network_context.h",
494 "+services/network/network_service.h",
495 ],
Martin Kreichgauer3676c7282019-07-19 19:27:22496 "chrome_authenticator_request_delegate_unittest\.cc": [
497 "+third_party/microsoft_webauthn/webauthn.h",
498 ],
Lukasz Anforowiczebee674e2020-01-08 05:26:31499 "chrome_find_request_manager_browsertest\.cc": [
500 "+pdf/document_loader_impl.h",
Brian Geffon11c06222020-08-26 18:54:35501 ],
502 "chrome_content_browser_client_receiver_bindings\.cc" : [
503 "+chrome/browser/performance_manager/mechanisms/userspace_swap_chromeos.h",
504 ],
jamescook1f91eac12017-05-30 17:27:32505}