[email protected] | 4ec7327e | 2008-08-18 23:59:51 | [diff] [blame] | 1 | include_rules = [ |
[email protected] | c2e2b6d | 2013-01-22 02:23:29 | [diff] [blame] | 2 | "+apps", |
enne | 34f6084c | 2017-02-02 22:39:08 | [diff] [blame] | 3 | "+cc/paint", |
Joey Arhar | fee2db4 | 2020-07-31 21:07:11 | [diff] [blame] | 4 | "+cc/test", |
Brandon Wylie | c5a1457 | 2020-08-28 02:19:10 | [diff] [blame] | 5 | |
| 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 Thiessen | 8d9619a | 2020-01-07 23:09:39 | [diff] [blame] | 11 | "+chrome/android/native_j_unittests_jni_headers", |
Andrew Grieve | 4a42c22e | 2019-06-24 16:14:29 | [diff] [blame] | 12 | "+chrome/android/chrome_jni_headers", |
| 13 | "+chrome/android/features/autofill_assistant/jni_headers", |
Samuel Huang | 0a25657 | 2019-08-29 16:48:42 | [diff] [blame] | 14 | "+chrome/android/features/dev_ui", |
Tibor Goldschwendt | 54da7ccf | 2019-09-23 18:55:55 | [diff] [blame] | 15 | "+chrome/android/modules", |
Jinsuk Kim | 0533fb6 | 2019-09-27 00:02:46 | [diff] [blame] | 16 | "+chrome/android/test_support_jni_headers", |
[email protected] | a8cf61b | 2009-02-05 17:41:38 | [diff] [blame] | 17 | "+chrome/app", |
Henrique Nakashima | 5a0c990 | 2020-04-21 16:54:20 | [diff] [blame] | 18 | "+chrome/browser/flags/android", |
| 19 | "+chrome/browser/preferences/android", |
| 20 | "+chrome/browser/profiles/android/jni_headers", |
| 21 | "+chrome/browser/util/android", |
Shakti Sahu | 2741f8d | 2020-08-14 03:38:36 | [diff] [blame] | 22 | "+chrome/browser/video_tutorials", |
Tien Mai | b89c140 | 2018-11-13 13:25:36 | [diff] [blame] | 23 | "+chrome/credential_provider/common", |
thestig | 4a2e88e | 2016-08-27 23:23:51 | [diff] [blame] | 24 | "+chrome/grit", |
jwd | c882e48d | 2016-08-19 00:14:42 | [diff] [blame] | 25 | "+chrome/install_static", |
grt | 6990ce31 | 2017-03-27 12:04:17 | [diff] [blame] | 26 | "+chrome/installer/util", |
Xi Cheng | b7c35726b | 2018-04-25 04:55:14 | [diff] [blame] | 27 | "+chrome/notification_helper/notification_helper_constants.h", |
Luum Habtemariam | c295b4ea | 2019-04-24 20:18:51 | [diff] [blame] | 28 | "+chrome/services/cups_proxy", |
Maksim Ivanov | 23e78307 | 2018-10-30 21:50:14 | [diff] [blame] | 29 | "+chrome/services/diagnosticsd/public", |
Jay Civelli | 8743364b | 2017-11-02 18:14:36 | [diff] [blame] | 30 | "+chrome/services/file_util/public", |
Jia Li | abb08a3 | 2020-07-27 21:23:21 | [diff] [blame] | 31 | "+chrome/services/machine_learning/public", |
Jay Civelli | 069422f | 2017-11-10 18:55:52 | [diff] [blame] | 32 | "+chrome/services/media_gallery_util/public", |
Jay Civelli | 407c3fc | 2017-12-14 00:25:27 | [diff] [blame] | 33 | "+chrome/services/printing/public", |
Himanshu Jaju | 6d02188 | 2020-01-23 10:32:48 | [diff] [blame] | 34 | "+chrome/services/sharing/public", |
Jay Civelli | 66e0d89 | 2017-12-05 01:05:10 | [diff] [blame] | 35 | "+chrome/services/removable_storage_writer/public", |
Alex Gough | 490bdb0 | 2020-05-20 05:22:13 | [diff] [blame] | 36 | "+chrome/services/speech/buildflags.h", |
Jay Civelli | 446d1db | 2017-11-15 00:19:26 | [diff] [blame] | 37 | "+chrome/services/util_win/public", |
[email protected] | 5cf19b9 | 2012-03-21 22:25:05 | [diff] [blame] | 38 | "+chromeos", |
Colin Blundell | 09f2083 | 2019-07-05 13:35:15 | [diff] [blame] | 39 | "+components/about_ui", |
| 40 | "+components/account_id", |
Yao Xiao | 431dec6 | 2020-06-25 14:13:06 | [diff] [blame] | 41 | "+components/federated_learning", |
Colin Blundell | 09f2083 | 2019-07-05 13:35:15 | [diff] [blame] | 42 | "+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 Sahu | f9847ad | 2020-02-21 21:43:01 | [diff] [blame] | 49 | "+components/background_task_scheduler", |
Colin Blundell | 09f2083 | 2019-07-05 13:35:15 | [diff] [blame] | 50 | "+components/base32", |
Clark DuVall | 8236b6a8 | 2020-05-28 22:54:32 | [diff] [blame] | 51 | "+components/blocked_content", |
Aaron Colwell | 90ddc4b | 2020-06-09 18:00:45 | [diff] [blame] | 52 | "+components/blocklist/opt_out_blocklist", |
Colin Blundell | 09f2083 | 2019-07-05 13:35:15 | [diff] [blame] | 53 | "+components/bookmarks/browser", |
| 54 | "+components/bookmarks/common", |
| 55 | "+components/bookmarks/managed", |
| 56 | "+components/bookmarks/test", |
Robbie McElrath | 4e4a76b | 2020-03-30 17:30:30 | [diff] [blame] | 57 | "+components/browser_ui/settings", |
John Abd-El-Malek | 6807863 | 2020-04-04 00:05:22 | [diff] [blame] | 58 | "+components/browser_ui/util", |
Shakti Sahu | 91b955a9 | 2020-04-15 02:57:35 | [diff] [blame] | 59 | "+components/browser_ui/widget", |
Colin Blundell | 09f2083 | 2019-07-05 13:35:15 | [diff] [blame] | 60 | "+components/browser_sync", |
Robbie McElrath | 38cb3e5a | 2020-04-01 22:45:05 | [diff] [blame] | 61 | "+components/browser_ui/site_settings", |
Colin Blundell | 09f2083 | 2019-07-05 13:35:15 | [diff] [blame] | 62 | "+components/browser_watcher", |
| 63 | "+components/browsing_data/content", |
| 64 | "+components/browsing_data/core", |
Colin Blundell | 09f2083 | 2019-07-05 13:35:15 | [diff] [blame] | 65 | "+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 Lee | 8176c13 | 2019-09-19 05:49:56 | [diff] [blame] | 74 | "+components/chromeos_camera", |
Clark DuVall | 04894d7f | 2020-04-07 23:54:21 | [diff] [blame] | 75 | "+components/client_hints/browser", |
Colin Blundell | 09f2083 | 2019-07-05 13:35:15 | [diff] [blame] | 76 | "+components/cloud_devices/common", |
| 77 | "+components/component_updater", |
Ce Chen | 4d0fda7 | 2019-09-25 20:47:29 | [diff] [blame] | 78 | "+components/component_updater/installer_policies", |
Colin Blundell | 09f2083 | 2019-07-05 13:35:15 | [diff] [blame] | 79 | "+components/consent_auditor", |
| 80 | "+components/constrained_window", |
| 81 | "+components/content_capture/browser", |
Clark DuVall | 84a33d61 | 2020-04-17 16:01:00 | [diff] [blame] | 82 | "+components/content_settings/browser", |
Colin Blundell | 09f2083 | 2019-07-05 13:35:15 | [diff] [blame] | 83 | "+components/content_settings/core/browser", |
| 84 | "+components/content_settings/core/test", |
Oksana Zhuravlova | 9775228 | 2020-02-20 20:14:19 | [diff] [blame] | 85 | "+components/contextual_search/buildflags.h", |
Colin Blundell | 09f2083 | 2019-07-05 13:35:15 | [diff] [blame] | 86 | "+components/contextual_search/content/browser", |
| 87 | "+components/contextual_search/content/common", |
| 88 | "+components/contextual_search/core/browser", |
| 89 | "+components/cookie_config", |
Ben Schwartz | 35685c7 | 2020-06-03 04:53:13 | [diff] [blame] | 90 | "+components/country_codes", |
Colin Blundell | 09f2083 | 2019-07-05 13:35:15 | [diff] [blame] | 91 | "+components/crash/content/app", |
| 92 | "+components/crash/content/browser", |
Rohit Rao | 92f84b6a | 2020-03-25 14:57:50 | [diff] [blame] | 93 | "+components/crash/core/app", |
Colin Blundell | 09f2083 | 2019-07-05 13:35:15 | [diff] [blame] | 94 | "+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 Shin | 947a73c8 | 2019-11-06 00:19:55 | [diff] [blame] | 107 | "+components/dom_distiller/content/common", |
Colin Blundell | 09f2083 | 2019-07-05 13:35:15 | [diff] [blame] | 108 | "+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 Blundell | ab45f55 | 2020-01-22 15:08:40 | [diff] [blame] | 119 | "+components/embedder_support", |
Colin Blundell | 09f2083 | 2019-07-05 13:35:15 | [diff] [blame] | 120 | "+components/encrypted_messages", |
Guillaume Jenkins | 5828252b | 2020-06-30 17:01:06 | [diff] [blame] | 121 | "+components/enterprise", |
Ken Rockot | 4408a0f | 2020-07-27 19:40:54 | [diff] [blame] | 122 | "+components/error_page/content/browser", |
Colin Blundell | 09f2083 | 2019-07-05 13:35:15 | [diff] [blame] | 123 | "+components/exo", |
Colin Blundell | cdf9087 | 2020-03-11 12:25:51 | [diff] [blame] | 124 | "+components/external_intents", |
Colin Blundell | 09f2083 | 2019-07-05 13:35:15 | [diff] [blame] | 125 | "+components/favicon_base", |
| 126 | "+components/favicon/content", |
| 127 | "+components/favicon/core", |
| 128 | "+components/feature_engagement", |
| 129 | "+components/feed", |
| 130 | "+components/feedback", |
Evan Stade | 61ccab7 | 2020-01-17 20:17:51 | [diff] [blame] | 131 | "+components/find_in_page", |
Colin Blundell | 09f2083 | 2019-07-05 13:35:15 | [diff] [blame] | 132 | "+components/flags_ui", |
Sebastien | afa979b | 2019-10-04 12:39:44 | [diff] [blame] | 133 | "+components/games/core", |
Colin Blundell | 09f2083 | 2019-07-05 13:35:15 | [diff] [blame] | 134 | "+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 Blundell | 3704df9 | 2020-06-05 14:26:46 | [diff] [blame] | 146 | "+components/infobars/content", |
Colin Blundell | 09f2083 | 2019-07-05 13:35:15 | [diff] [blame] | 147 | "+components/infobars/core", |
| 148 | "+components/invalidation/impl", |
| 149 | "+components/invalidation/public", |
Evan Stade | 7220e47 | 2020-01-31 17:06:57 | [diff] [blame] | 150 | "+components/javascript_dialogs", |
Colin Blundell | 09f2083 | 2019-07-05 13:35:15 | [diff] [blame] | 151 | "+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 Lin | 9e6e307 | 2020-05-04 19:55:59 | [diff] [blame] | 162 | "+components/lookalikes/core", |
Colin Blundell | 09f2083 | 2019-07-05 13:35:15 | [diff] [blame] | 163 | "+components/login", |
| 164 | "+components/media_message_center", |
Evan Stade | ff2cc1b1 | 2020-09-10 22:00:06 | [diff] [blame] | 165 | "+components/media_router/browser", |
Pavel Yatsuk | 35829175 | 2020-09-03 18:25:22 | [diff] [blame] | 166 | "+components/messages/android", |
Christopher Cameron | 7e987473 | 2019-10-25 00:40:36 | [diff] [blame] | 167 | "+components/metal_util", |
Colin Blundell | 09f2083 | 2019-07-05 13:35:15 | [diff] [blame] | 168 | "+components/metrics", |
| 169 | "+components/metrics_services_manager", |
| 170 | "+components/metrics/ui", |
| 171 | "+components/mirroring/browser", |
| 172 | "+components/mirroring/mojom", |
| 173 | "+components/mirroring/service", |
Samuel Huang | 568a975 | 2019-08-30 16:30:44 | [diff] [blame] | 174 | "+components/module_installer/android", |
Colin Blundell | 09f2083 | 2019-07-05 13:35:15 | [diff] [blame] | 175 | "+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 Lakhani | b676216 | 2020-03-30 10:23:25 | [diff] [blame] | 199 | "+components/page_info", |
Tao Bai | b827b20 | 2019-09-19 21:22:12 | [diff] [blame] | 200 | "+components/page_load_metrics/browser", |
Tao Bai | 5993d2e | 2019-08-27 21:05:46 | [diff] [blame] | 201 | "+components/page_load_metrics/common", |
ckitagawa | 8dad53d | 2020-01-07 16:03:35 | [diff] [blame] | 202 | "+components/paint_preview/features", |
| 203 | "+components/paint_preview/browser", |
ckitagawa | 8695799b | 2020-02-05 16:08:49 | [diff] [blame] | 204 | "+components/paint_preview/buildflags", |
Colin Blundell | 09f2083 | 2019-07-05 13:35:15 | [diff] [blame] | 205 | "+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 Asgeirsson | 51d9d24 | 2019-10-07 20:38:34 | [diff] [blame] | 210 | "+components/performance_manager/public", |
Francois Doray | 91f3263a | 2019-12-16 17:40:49 | [diff] [blame] | 211 | "+components/performance_manager/embedder", |
Sigurdur Asgeirsson | 51d9d24 | 2019-10-07 20:38:34 | [diff] [blame] | 212 | "+components/performance_manager/performance_manager_tab_helper.h", |
Francois Doray | 91f3263a | 2019-12-16 17:40:49 | [diff] [blame] | 213 | "+components/performance_manager/test_support", |
Sigurdur Asgeirsson | 51d9d24 | 2019-10-07 20:38:34 | [diff] [blame] | 214 | "+components/performance_manager/performance_manager_impl.h", |
Clark DuVall | 484c256 | 2020-01-23 22:05:09 | [diff] [blame] | 215 | "+components/permissions", |
Colin Blundell | 09f2083 | 2019-07-05 13:35:15 | [diff] [blame] | 216 | "+components/pdf/browser", |
| 217 | "+components/policy", |
| 218 | "+components/pref_registry", |
| 219 | "+components/prefs", |
Mugdha Lakhani | 59f7675b | 2020-06-01 14:48:53 | [diff] [blame] | 220 | "+components/prerender", |
Colin Blundell | 09f2083 | 2019-07-05 13:35:15 | [diff] [blame] | 221 | "+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 Sahu | ce57c7d9 | 2020-04-29 01:47:17 | [diff] [blame] | 228 | "+components/query_tiles", |
Colin Blundell | 09f2083 | 2019-07-05 13:35:15 | [diff] [blame] | 229 | "+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 Bowen | 4ea1eb42 | 2020-03-18 23:44:58 | [diff] [blame] | 239 | "+components/schema_org", |
Colin Blundell | 09f2083 | 2019-07-05 13:35:15 | [diff] [blame] | 240 | "+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 Harris | d3191c0 | 2019-08-16 01:23:39 | [diff] [blame] | 248 | "+components/services/app_service/public", |
[email protected] | 2f82f86 | 2020-05-27 01:44:40 | [diff] [blame] | 249 | "+components/services/app_service/public/mojom", |
Miyoung Shin | a2622651 | 2019-07-17 09:44:38 | [diff] [blame] | 250 | "+components/services/filesystem/public/mojom", |
Colin Blundell | 09f2083 | 2019-07-05 13:35:15 | [diff] [blame] | 251 | "+components/services/heap_profiling", |
Doug Arnett | cf9fd685 | 2020-04-21 15:21:20 | [diff] [blame] | 252 | "+components/services/language_detection/public/cpp", |
| 253 | "+components/services/language_detection/public/mojom", |
Ken Rockot | d6ac38d | 2019-07-30 21:08:58 | [diff] [blame] | 254 | "+components/services/patch/content", |
| 255 | "+components/services/patch/public", |
Alan Screen | 6cef2c8 | 2020-01-14 20:58:52 | [diff] [blame] | 256 | "+components/services/print_compositor/public", |
Colin Blundell | 09f2083 | 2019-07-05 13:35:15 | [diff] [blame] | 257 | "+components/services/quarantine", |
Daniel Murphy | 846066f | 2020-01-06 21:31:28 | [diff] [blame] | 258 | '+components/services/storage/public', |
Colin Blundell | 09f2083 | 2019-07-05 13:35:15 | [diff] [blame] | 259 | "+components/services/unzip", |
| 260 | "+components/session_manager", |
| 261 | "+components/sessions/content", |
| 262 | "+components/sessions/core", |
| 263 | "+components/signin/core/browser", |
Colin Blundell | 09f2083 | 2019-07-05 13:35:15 | [diff] [blame] | 264 | "+components/signin/public", |
Alex Moshchuk | 51e1428b | 2020-04-22 18:00:54 | [diff] [blame] | 265 | "+components/site_isolation", |
Colin Blundell | 09f2083 | 2019-07-05 13:35:15 | [diff] [blame] | 266 | "+components/spellcheck", |
David Van Cleve | a39c2957 | 2020-01-14 23:04:49 | [diff] [blame] | 267 | "+components/sqlite_proto", |
Colin Blundell | 09f2083 | 2019-07-05 13:35:15 | [diff] [blame] | 268 | "+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 Wan | 866179b | 2019-12-18 21:39:33 | [diff] [blame] | 285 | "+components/tab_groups", |
Colin Blundell | 09f2083 | 2019-07-05 13:35:15 | [diff] [blame] | 286 | "+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] | fd31c221 | 2011-10-17 19:43:43 | [diff] [blame] | 318 | "+content/public/browser", |
Ke He | 0be22ba | 2017-12-18 05:12:38 | [diff] [blame] | 319 | "+content/public/common", |
[email protected] | 94a481b | 2014-03-28 19:41:55 | [diff] [blame] | 320 | "+courgette", |
alexis.menard | 2fe63eaa | 2016-10-13 21:42:43 | [diff] [blame] | 321 | "+device/base", |
[email protected] | 06af6a4 | 2012-12-14 00:16:40 | [diff] [blame] | 322 | "+device/bluetooth", |
Adam Langley | 573d3ac | 2018-04-28 00:32:13 | [diff] [blame] | 323 | "+device/fido", |
Matt Reynolds | 660a4775 | 2018-06-28 19:42:48 | [diff] [blame] | 324 | "+device/gamepad/public/cpp", |
Scott Violet | c8240b0 | 2018-03-08 22:03:59 | [diff] [blame] | 325 | "+device/vr/buildflags/buildflags.h", |
Bill Orr | eb42922 | 2018-08-08 21:14:43 | [diff] [blame] | 326 | "+device/vr/public", |
[email protected] | 993da5e | 2013-03-23 21:25:16 | [diff] [blame] | 327 | "+extensions/browser", |
[email protected] | 885c0e9 | 2012-11-13 20:27:42 | [diff] [blame] | 328 | "+extensions/common", |
oshima | 758abebc | 2014-11-06 10:55:50 | [diff] [blame] | 329 | "+extensions/components/javascript_dialog_extensions_client", |
Scott Violet | c8240b0 | 2018-03-08 22:03:59 | [diff] [blame] | 330 | "+extensions/buildflags", |
mukai | 4245dfe8 | 2014-09-05 17:40:51 | [diff] [blame] | 331 | "+extensions/grit", |
yoz | e8dc2f1 | 2014-09-09 23:16:32 | [diff] [blame] | 332 | "+extensions/test", |
[email protected] | 6386cf5 | 2012-09-07 04:26:37 | [diff] [blame] | 333 | "+google_apis", |
[email protected] | cec9984 | 2012-02-10 03:24:23 | [diff] [blame] | 334 | "+google_update", |
[email protected] | b4d08ea | 2012-05-24 19:26:57 | [diff] [blame] | 335 | "+installer_util_strings", # For generated headers |
Thomas Guilbert | 642e97d | 2019-03-27 23:33:37 | [diff] [blame] | 336 | "+media/media_buildflags.h", |
dalecurtis | 1620bd3a | 2015-04-28 20:26:29 | [diff] [blame] | 337 | "+media/audio", # For media audio hang monitor. |
[email protected] | e2e8e32 | 2012-09-12 04:37:02 | [diff] [blame] | 338 | "+media/base", # For media switches |
chcunningham | 9205ea8 | 2018-07-12 18:04:20 | [diff] [blame] | 339 | "+media/capabilities", # For InMemoryVideoDecodeStatsDB |
xhwang | c3a252b | 2016-05-23 02:35:48 | [diff] [blame] | 340 | "+media/cdm/cdm_paths.h", |
Xiangjun Zhang | 3aafe30 | 2018-02-07 20:10:40 | [diff] [blame] | 341 | "+media/capture", |
yhirano | bbea627 | 2015-09-17 07:09:03 | [diff] [blame] | 342 | "+media/midi", # For midi switches |
alokp | 6ecb238 | 2016-01-27 00:40:00 | [diff] [blame] | 343 | "+media/mojo", # For mojo media services. |
Saman Sami | 2acabd1 | 2018-03-10 00:51:09 | [diff] [blame] | 344 | "+media/renderers", |
Alex Loiko | 66f63f5c | 2018-11-16 10:21:06 | [diff] [blame] | 345 | "+media/webrtc", # For webrtc media switches. |
[email protected] | 1b4209f | 2011-01-07 00:25:40 | [diff] [blame] | 346 | "+ppapi/c", # For various types. |
[email protected] | b7631cc | 2012-09-15 05:08:38 | [diff] [blame] | 347 | "+ppapi/host", |
[email protected] | 709a847e | 2010-11-10 01:16:11 | [diff] [blame] | 348 | "+ppapi/proxy", |
[email protected] | 8ddc6b7c | 2013-12-12 20:42:06 | [diff] [blame] | 349 | "+ppapi/shared_impl", |
[email protected] | 5b7937e | 2010-11-04 23:37:18 | [diff] [blame] | 350 | "+rlz", |
[email protected] | 18149178 | 2012-07-18 00:59:15 | [diff] [blame] | 351 | "+sandbox/win/src", # The path doesn't say it, but this is the Windows sandbox. |
Olga Sharonova | a234a0a | 2018-02-16 11:12:23 | [diff] [blame] | 352 | "+services/audio/public", |
Matthew Denton | 03c45a2 | 2020-06-01 23:40:48 | [diff] [blame] | 353 | "+services/cert_verifier", |
Jay Civelli | d8dc7c6 | 2017-11-02 02:10:41 | [diff] [blame] | 354 | "+services/data_decoder/public", |
Ke He | 0be22ba | 2017-12-18 05:12:38 | [diff] [blame] | 355 | "+services/device/public", |
Andrew Moylan | 8ed9d83c8 | 2019-01-29 20:23:52 | [diff] [blame] | 356 | "+services/image_annotation/public", |
Becca Hughes | f87f525 | 2018-08-30 18:43:36 | [diff] [blame] | 357 | "+services/media_session/public", |
Steven Holte | e830e7e | 2017-11-07 23:47:30 | [diff] [blame] | 358 | "+services/metrics/metrics_mojo_service.h", |
Mounir Lamouri | fd9dcefa | 2017-07-06 10:26:55 | [diff] [blame] | 359 | "+services/metrics/public", |
John Abd-El-Malek | 21bca7c | 2018-10-26 22:13:33 | [diff] [blame] | 360 | "+services/network/cert_verifier_with_trust_anchors.h", |
John Abd-El-Malek | 8e82a32 | 2018-01-31 20:30:47 | [diff] [blame] | 361 | "+services/network/network_service.h", |
Ken Rockot | 7d0a5ff6 | 2018-04-26 21:46:51 | [diff] [blame] | 362 | "+services/network/public", |
Mark Pilgrim | 9c330c221 | 2018-04-27 15:35:27 | [diff] [blame] | 363 | "+services/network/test", |
| 364 | "+services/network/url_request_context_owner.h", |
John Abd-El-Malek | 8e82a32 | 2018-01-31 20:30:47 | [diff] [blame] | 365 | "+services/network/url_request_context_builder_mojo.h", |
rockot | 905e389 | 2017-02-18 10:47:11 | [diff] [blame] | 366 | "+services/preferences/public/cpp", |
Ken Rockot | f7f533e | 2018-02-11 02:21:33 | [diff] [blame] | 367 | "+services/preferences/public/mojom", |
Jay Civelli | 2df2464 | 2017-10-09 20:22:28 | [diff] [blame] | 368 | "+services/proxy_resolver", # Android runs the packaged proxy resolver |
| 369 | # service in process and needs impl access. |
Ken Rockot | 26cf474 | 2018-02-11 04:10:40 | [diff] [blame] | 370 | "+services/proxy_resolver/public/mojom", |
oysteine | 8c8d3b70 | 2017-05-18 15:18:17 | [diff] [blame] | 371 | "+services/resource_coordinator/public/cpp", |
Ken Rockot | 95c888a4 | 2018-02-11 05:54:11 | [diff] [blame] | 372 | "+services/resource_coordinator/public/mojom", |
Ken Rockot | d7e999b | 2018-02-11 15:48:21 | [diff] [blame] | 373 | "+services/shape_detection/public/mojom", |
Ken Rockot | cebdf9c8 | 2019-05-28 20:33:03 | [diff] [blame] | 374 | "+services/strings", |
Oystein Eftevaag | 424fd37 | 2019-06-07 17:51:03 | [diff] [blame] | 375 | "+services/tracing/public/cpp", |
Guido Urdaneta | 191635e | 2018-05-09 16:00:53 | [diff] [blame] | 376 | "+services/video_capture/public", |
Scott Violet | 703b824 | 2019-06-11 19:34:36 | [diff] [blame] | 377 | "+services/viz/public", |
Saman Sami | 2acabd1 | 2018-03-10 00:51:09 | [diff] [blame] | 378 | "+services/viz/privileged", |
[email protected] | 5b7937e | 2010-11-04 23:37:18 | [diff] [blame] | 379 | "+skia/ext", |
tfarina | 29a3a174 | 2016-10-28 18:47:33 | [diff] [blame] | 380 | "+third_party/boringssl/src/include", |
manzagop | a5d6688d | 2016-10-25 20:16:03 | [diff] [blame] | 381 | "+third_party/crashpad", |
[email protected] | 4404e5b | 2011-08-16 19:08:46 | [diff] [blame] | 382 | "+third_party/cros_system_api", |
Steven Holte | f9d5ed6 | 2017-10-21 02:02:30 | [diff] [blame] | 383 | "+third_party/metrics_proto", |
Xiaohan Wang | f170c73 | 2018-09-27 05:45:26 | [diff] [blame] | 384 | "+third_party/widevine/cdm/buildflags.h", |
Xiaohan Wang | a4e4184 | 2018-06-26 18:45:10 | [diff] [blame] | 385 | "+third_party/widevine/cdm/widevine_cdm_common.h", |
Mehrdad Hessar | e645ec1 | 2020-08-12 18:32:56 | [diff] [blame] | 386 | "+chrome/services/machine_learning", |
[email protected] | 895701a | 2012-09-13 10:07:34 | [diff] [blame] | 387 | |
James Cook | 625d467 | 2020-06-01 21:54:02 | [diff] [blame] | 388 | # Code under //ash should be accessed via its public API. See //ash/README.md. |
jamescook | 1f91eac1 | 2017-05-30 17:27:32 | [diff] [blame] | 389 | "-ash", |
| 390 | "+ash/public", |
Leonard Grey | 213a1bb3 | 2020-05-27 13:25:31 | [diff] [blame] | 391 | "+ash/keyboard/ui/grit", |
Darren Shen | 50e1495 | 2019-05-14 03:40:43 | [diff] [blame] | 392 | "+ash/keyboard/ui/resources", |
Mike Wasserman | 1fff5685 | 2019-05-02 03:38:40 | [diff] [blame] | 393 | "+ash/components/shortcut_viewer", |
jamescook | 1f91eac1 | 2017-05-30 17:27:32 | [diff] [blame] | 394 | |
Evan Stade | 30e7ed2 | 2019-06-11 21:43:54 | [diff] [blame] | 395 | # The message center should only be accessed through |
| 396 | # //chrome/browser/notifications. |
Evan Stade | 196ec04 | 2018-03-13 19:44:36 | [diff] [blame] | 397 | "-ui/message_center", |
| 398 | "+ui/message_center/public", |
| 399 | |
Matt Amert | 2df4f145 | 2019-12-09 04:59:49 | [diff] [blame] | 400 | # 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] | 1249f32 | 2013-10-23 21:03:16 | [diff] [blame] | 404 | "+cc/base/switches.h", |
| 405 | |
[email protected] | bbe2f51 | 2013-08-16 12:54:39 | [diff] [blame] | 406 | # Unsafe to use from //chrome, see http://goo.gl/QQG5wo |
| 407 | "-content/public/test/test_browser_context.h", |
| 408 | |
pilgrim | e92c5fcd | 2014-09-10 23:31:23 | [diff] [blame] | 409 | "+storage/browser", |
pilgrim | 1633055 | 2014-09-10 01:32:22 | [diff] [blame] | 410 | "+storage/common", |
[email protected] | c4298d0 | 2013-05-20 05:42:52 | [diff] [blame] | 411 | |
Peter Kasting | 7801d48e | 2020-08-04 04:20:11 | [diff] [blame] | 412 | # 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] | 81963ad | 2012-05-17 19:25:03 | [diff] [blame] | 415 | "-chrome/browser/ui/views", |
Greg Thompson | 0d974c4 | 2017-11-03 16:17:26 | [diff] [blame] | 416 | "+chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.h", |
[email protected] | e8b6ca0 | 2013-07-10 18:00:51 | [diff] [blame] | 417 | "+chrome/browser/ui/views/chrome_browser_main_extra_parts_views.h", |
estade | d3aa0e8 | 2016-02-17 22:55:21 | [diff] [blame] | 418 | "+chrome/browser/ui/views/chrome_browser_main_extra_parts_views_linux.h", |
Maksim Sisov | 1f2f2e6 | 2019-05-08 07:56:22 | [diff] [blame] | 419 | "+chrome/browser/ui/views/chrome_browser_main_extra_parts_views_linux_x11.h", |
ananta | 5ecf11b | 2017-04-29 00:45:10 | [diff] [blame] | 420 | "+chrome/browser/ui/views/extensions/request_file_system_dialog_view.h", |
Melissa Zhang | 5cf92fe | 2020-09-22 06:13:35 | [diff] [blame^] | 421 | "+chrome/browser/ui/views/sharesheet/sharesheet_bubble_view.h", |
Greg Thompson | 0d974c4 | 2017-11-03 16:17:26 | [diff] [blame] | 422 | "+chrome/browser/ui/views/try_chrome_dialog_win/try_chrome_dialog.h", |
[email protected] | 81963ad | 2012-05-17 19:25:03 | [diff] [blame] | 423 | |
Sebastien Marchand | f466c53 | 2019-06-04 20:09:48 | [diff] [blame] | 424 | # Ensure that only the public interface of performance_manager gets used. |
| 425 | "-chrome/browser/performance_manager", |
| 426 | "+chrome/browser/performance_manager/public", |
Sebastien Marchand | d1b927f | 2019-12-19 18:38:57 | [diff] [blame] | 427 | "+chrome/browser/performance_manager/test_support", |
Sebastien Marchand | f466c53 | 2019-06-04 20:09:48 | [diff] [blame] | 428 | "+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 Asgeirsson | 68667e1 | 2020-04-29 17:53:29 | [diff] [blame] | 430 | "+chrome/browser/performance_manager/policies/policy_features.h", |
Sebastien Marchand | f466c53 | 2019-06-04 20:09:48 | [diff] [blame] | 431 | |
boliu | 60df207 | 2015-10-26 22:55:19 | [diff] [blame] | 432 | # 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 | |
mmenke | f73a512 | 2017-07-13 23:27:39 | [diff] [blame] | 436 | # 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] | 4ec7327e | 2008-08-18 23:59:51 | [diff] [blame] | 440 | # Other libraries. |
[email protected] | 17a444c | 2014-06-24 01:44:32 | [diff] [blame] | 441 | "+third_party/google_toolbox_for_mac/src", |
[email protected] | 8bbf619 | 2013-07-18 11:14:04 | [diff] [blame] | 442 | "+third_party/icu/source/common/unicode", |
| 443 | "+third_party/icu/source/i18n/unicode", |
[email protected] | f82ef06 | 2012-04-27 17:52:54 | [diff] [blame] | 444 | "+third_party/leveldatabase", |
Robert Sesek | e63d2e22 | 2019-11-01 21:46:50 | [diff] [blame] | 445 | "+third_party/libxml/chromium/xml_writer.h", |
[email protected] | 17a444c | 2014-06-24 01:44:32 | [diff] [blame] | 446 | "+third_party/mozilla", # Mozilla interface headers. |
miguelg | dbb2e23 | 2016-10-14 18:50:13 | [diff] [blame] | 447 | "+third_party/ocmock/gtest_support.h", |
[email protected] | 3828d6f | 2011-02-24 18:32:21 | [diff] [blame] | 448 | "+third_party/protobuf/src/google/protobuf", |
[email protected] | 4728ca8 | 2012-08-24 10:39:59 | [diff] [blame] | 449 | "+third_party/re2", |
[email protected] | b84ee6e | 2014-03-15 22:51:54 | [diff] [blame] | 450 | "+third_party/smhasher", |
[email protected] | 2b733b3 | 2011-09-22 06:18:24 | [diff] [blame] | 451 | "+third_party/sqlite", |
[email protected] | 537c638d | 2013-07-04 00:49:19 | [diff] [blame] | 452 | "+third_party/zlib", |
[email protected] | af6e075 | 2013-06-21 15:50:38 | [diff] [blame] | 453 | |
Kinuko Yasuda | 2008306 | 2018-02-10 02:13:30 | [diff] [blame] | 454 | # No inclusion of WebKit from the browser, other than the ones in |
Doug Arnett | 14d59e1 | 2019-09-26 21:59:44 | [diff] [blame] | 455 | # WebKit/public/{mojom,common}. |
| 456 | # TODO(crbug.com/1008303) clarify dependency and remove or move these individual headers |
| 457 | # into public/common. |
Blink Reformat | a30d423 | 2018-04-07 15:31:06 | [diff] [blame] | 458 | "-third_party/blink", |
| 459 | "+third_party/blink/public/common", |
| 460 | "+third_party/blink/public/mojom", |
Blink Reformat | a30d423 | 2018-04-07 15:31:06 | [diff] [blame] | 461 | "+third_party/blink/public/public_buildflags.h", |
[email protected] | 4ec7327e | 2008-08-18 23:59:51 | [diff] [blame] | 462 | ] |
Scott Violet | d4b21d25 | 2017-08-11 17:27:36 | [diff] [blame] | 463 | |
jamescook | 1f91eac1 | 2017-05-30 17:27:32 | [diff] [blame] | 464 | specific_include_rules = { |
Yaron Friedman | 6975d179 | 2020-07-08 18:50:53 | [diff] [blame] | 465 | '.*Test\.java': [ |
Henrique Nakashima | 7a6558d | 2020-03-11 22:49:20 | [diff] [blame] | 466 | # Android instrumentation tests depend on the whole app. |
| 467 | "+chrome/android", |
Brandon Wylie | c5a1457 | 2020-08-28 02:19:10 | [diff] [blame] | 468 | "+chrome/android/java/src/org/chromium/chrome/browser/app/ChromeActivity.java", |
Henrique Nakashima | 7a6558d | 2020-03-11 22:49:20 | [diff] [blame] | 469 | ], |
Kai Uwe Broulik | da1cd32 | 2019-11-18 21:55:06 | [diff] [blame] | 470 | "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 Cameron | 936b0a19 | 2018-10-08 20:22:35 | [diff] [blame] | 475 | "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 Violet | 737fb75 | 2018-04-11 15:35:22 | [diff] [blame] | 480 | "exo_parts\.cc": [ |
| 481 | "+ash/shell.h", |
| 482 | ], |
Evan Stade | 196ec04 | 2018-03-13 19:44:36 | [diff] [blame] | 483 | # 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 Hanada | 08d90c75a | 2020-05-28 00:06:21 | [diff] [blame] | 488 | "input_method_engine.cc": [ |
Yuichiro Hanada | 3566b75 | 2020-04-13 15:14:25 | [diff] [blame] | 489 | # For GetInputMethodKeyboardController. |
Darren Shen | cb250844 | 2019-07-03 21:48:23 | [diff] [blame] | 490 | "+ash/keyboard/ui/keyboard_ui_controller.h", |
Darren Shen | 50e1495 | 2019-05-14 03:40:43 | [diff] [blame] | 491 | ], |
Robbie McElrath | eeebbf9 | 2019-06-13 17:37:13 | [diff] [blame] | 492 | "chrome_browsing_data_remover_delegate_unittest.cc": [ |
| 493 | "+services/network/network_context.h", |
| 494 | "+services/network/network_service.h", |
| 495 | ], |
Martin Kreichgauer | 3676c728 | 2019-07-19 19:27:22 | [diff] [blame] | 496 | "chrome_authenticator_request_delegate_unittest\.cc": [ |
| 497 | "+third_party/microsoft_webauthn/webauthn.h", |
| 498 | ], |
Lukasz Anforowicz | ebee674e | 2020-01-08 05:26:31 | [diff] [blame] | 499 | "chrome_find_request_manager_browsertest\.cc": [ |
| 500 | "+pdf/document_loader_impl.h", |
Brian Geffon | 11c0622 | 2020-08-26 18:54:35 | [diff] [blame] | 501 | ], |
| 502 | "chrome_content_browser_client_receiver_bindings\.cc" : [ |
| 503 | "+chrome/browser/performance_manager/mechanisms/userspace_swap_chromeos.h", |
| 504 | ], |
jamescook | 1f91eac1 | 2017-05-30 17:27:32 | [diff] [blame] | 505 | } |