[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", |
[email protected] | a8cf61b | 2009-02-05 17:41:38 | [diff] [blame] | 4 | "+chrome/app", |
erikwright | 0cdddbff | 2015-03-12 18:05:34 | [diff] [blame] | 5 | "+chrome/chrome_watcher", |
Tien Mai | b89c140 | 2018-11-13 13:25:36 | [diff] [blame] | 6 | "+chrome/credential_provider/common", |
thestig | 4a2e88e | 2016-08-27 23:23:51 | [diff] [blame] | 7 | "+chrome/grit", |
jwd | c882e48d | 2016-08-19 00:14:42 | [diff] [blame] | 8 | "+chrome/install_static", |
grt | 6990ce31 | 2017-03-27 12:04:17 | [diff] [blame] | 9 | "+chrome/installer/util", |
Xi Cheng | b7c35726b | 2018-04-25 04:55:14 | [diff] [blame] | 10 | "+chrome/notification_helper/notification_helper_constants.h", |
Maggie Cai | 5e292d2 | 2019-03-11 22:58:24 | [diff] [blame] | 11 | "+chrome/services/app_service/public/mojom", |
Luum Habtemariam | 9d99993 | 2018-10-15 23:04:12 | [diff] [blame] | 12 | "+chrome/services/cups_ipp_parser/public", |
Luum Habtemariam | c295b4ea | 2019-04-24 20:18:51 | [diff] [blame] | 13 | "+chrome/services/cups_proxy", |
Maksim Ivanov | 23e78307 | 2018-10-30 21:50:14 | [diff] [blame] | 14 | "+chrome/services/diagnosticsd/public", |
Jay Civelli | 8743364b | 2017-11-02 18:14:36 | [diff] [blame] | 15 | "+chrome/services/file_util/public", |
Jay Civelli | 069422f | 2017-11-10 18:55:52 | [diff] [blame] | 16 | "+chrome/services/media_gallery_util/public", |
Clark DuVall | 8f7a121 | 2019-01-24 17:39:41 | [diff] [blame] | 17 | "+chrome/services/noop/public", |
Jay Civelli | 407c3fc | 2017-12-14 00:25:27 | [diff] [blame] | 18 | "+chrome/services/printing/public", |
Jay Civelli | 66e0d89 | 2017-12-05 01:05:10 | [diff] [blame] | 19 | "+chrome/services/removable_storage_writer/public", |
Jay Civelli | 446d1db | 2017-11-15 00:19:26 | [diff] [blame] | 20 | "+chrome/services/util_win/public", |
| 21 | "+chrome/services/wifi_util_win/public", |
[email protected] | c80b3502 | 2014-03-03 17:01:41 | [diff] [blame] | 22 | "+chrome_elf/blacklist", |
[email protected] | e5890e1 | 2014-02-27 17:15:05 | [diff] [blame] | 23 | "+chrome_elf/chrome_elf_constants.h", |
[email protected] | c80b3502 | 2014-03-03 17:01:41 | [diff] [blame] | 24 | "+chrome_elf/dll_hash", |
[email protected] | 5cf19b9 | 2012-03-21 22:25:05 | [diff] [blame] | 25 | "+chromeos", |
brettw | b1fc1b8 | 2016-02-02 00:19:08 | [diff] [blame] | 26 | "+components", |
Colin Blundell | d55fde8 | 2018-12-18 16:04:37 | [diff] [blame] | 27 | # Use identity_manager.h instead of the below files; |
| 28 | # see https://groups.google.com/a/chromium.org/d/msg/chromium-dev/dgFLuxqZt1o/iEqkyoQQBwAJ for help and info. |
| 29 | "!components/signin/core/browser/fake_profile_oauth2_token_service.h", |
Colin Blundell | d55fde8 | 2018-12-18 16:04:37 | [diff] [blame] | 30 | "!components/signin/core/browser/signin_manager.h", |
| 31 | "!components/signin/core/browser/signin_manager_base.h", |
[email protected] | fd31c221 | 2011-10-17 19:43:43 | [diff] [blame] | 32 | "+content/public/browser", |
Ke He | 0be22ba | 2017-12-18 05:12:38 | [diff] [blame] | 33 | "+content/public/common", |
[email protected] | 94a481b | 2014-03-28 19:41:55 | [diff] [blame] | 34 | "+courgette", |
alexis.menard | 2fe63eaa | 2016-10-13 21:42:43 | [diff] [blame] | 35 | "+device/base", |
[email protected] | 06af6a4 | 2012-12-14 00:16:40 | [diff] [blame] | 36 | "+device/bluetooth", |
Adam Langley | 573d3ac | 2018-04-28 00:32:13 | [diff] [blame] | 37 | "+device/fido", |
Matt Reynolds | 660a4775 | 2018-06-28 19:42:48 | [diff] [blame] | 38 | "+device/gamepad/public/cpp", |
thestig | 5e9352a | 2016-04-04 21:44:04 | [diff] [blame] | 39 | "+device/usb", |
Scott Violet | c8240b0 | 2018-03-08 22:03:59 | [diff] [blame] | 40 | "+device/vr/buildflags/buildflags.h", |
Bill Orr | eb42922 | 2018-08-08 21:14:43 | [diff] [blame] | 41 | "+device/vr/public", |
[email protected] | 993da5e | 2013-03-23 21:25:16 | [diff] [blame] | 42 | "+extensions/browser", |
[email protected] | 885c0e9 | 2012-11-13 20:27:42 | [diff] [blame] | 43 | "+extensions/common", |
oshima | 758abebc | 2014-11-06 10:55:50 | [diff] [blame] | 44 | "+extensions/components/javascript_dialog_extensions_client", |
Scott Violet | c8240b0 | 2018-03-08 22:03:59 | [diff] [blame] | 45 | "+extensions/buildflags", |
mukai | 4245dfe8 | 2014-09-05 17:40:51 | [diff] [blame] | 46 | "+extensions/grit", |
yoz | e8dc2f1 | 2014-09-09 23:16:32 | [diff] [blame] | 47 | "+extensions/test", |
[email protected] | 83c2950 | 2012-08-22 19:34:48 | [diff] [blame] | 48 | "+google/cacheinvalidation", # Sync invalidation API protobuf files. |
[email protected] | 6386cf5 | 2012-09-07 04:26:37 | [diff] [blame] | 49 | "+google_apis", |
[email protected] | cec9984 | 2012-02-10 03:24:23 | [diff] [blame] | 50 | "+google_update", |
[email protected] | b4d08ea | 2012-05-24 19:26:57 | [diff] [blame] | 51 | "+installer_util_strings", # For generated headers |
[email protected] | 1249f32 | 2013-10-23 21:03:16 | [diff] [blame] | 52 | "+jni", |
Ken Rockot | 388ba4fc | 2018-02-10 17:23:41 | [diff] [blame] | 53 | "+mash/public/mojom", |
Thomas Guilbert | 642e97d | 2019-03-27 23:33:37 | [diff] [blame] | 54 | "+media/media_buildflags.h", |
dalecurtis | 1620bd3a | 2015-04-28 20:26:29 | [diff] [blame] | 55 | "+media/audio", # For media audio hang monitor. |
[email protected] | e2e8e32 | 2012-09-12 04:37:02 | [diff] [blame] | 56 | "+media/base", # For media switches |
chcunningham | 9205ea8 | 2018-07-12 18:04:20 | [diff] [blame] | 57 | "+media/capabilities", # For InMemoryVideoDecodeStatsDB |
xhwang | c3a252b | 2016-05-23 02:35:48 | [diff] [blame] | 58 | "+media/cdm/cdm_paths.h", |
Xiangjun Zhang | 3aafe30 | 2018-02-07 20:10:40 | [diff] [blame] | 59 | "+media/capture", |
yhirano | bbea627 | 2015-09-17 07:09:03 | [diff] [blame] | 60 | "+media/midi", # For midi switches |
alokp | 6ecb238 | 2016-01-27 00:40:00 | [diff] [blame] | 61 | "+media/mojo", # For mojo media services. |
Saman Sami | 2acabd1 | 2018-03-10 00:51:09 | [diff] [blame] | 62 | "+media/renderers", |
Alex Loiko | 66f63f5c | 2018-11-16 10:21:06 | [diff] [blame] | 63 | "+media/webrtc", # For webrtc media switches. |
[email protected] | 1b4209f | 2011-01-07 00:25:40 | [diff] [blame] | 64 | "+ppapi/c", # For various types. |
[email protected] | b7631cc | 2012-09-15 05:08:38 | [diff] [blame] | 65 | "+ppapi/host", |
[email protected] | 709a847e | 2010-11-10 01:16:11 | [diff] [blame] | 66 | "+ppapi/proxy", |
[email protected] | 8ddc6b7c | 2013-12-12 20:42:06 | [diff] [blame] | 67 | "+ppapi/shared_impl", |
[email protected] | 5b7937e | 2010-11-04 23:37:18 | [diff] [blame] | 68 | "+rlz", |
[email protected] | 18149178 | 2012-07-18 00:59:15 | [diff] [blame] | 69 | "+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] | 70 | "+services/audio/public", |
Ken Rockot | 80b08e9 | 2018-08-15 04:22:02 | [diff] [blame] | 71 | "+services/content/simple_browser", |
Jay Civelli | d8dc7c6 | 2017-11-02 02:10:41 | [diff] [blame] | 72 | "+services/data_decoder/public", |
Ke He | 0be22ba | 2017-12-18 05:12:38 | [diff] [blame] | 73 | "+services/device/public", |
Colin Blundell | e89886a | 2017-06-12 11:26:56 | [diff] [blame] | 74 | "+services/identity/public", |
Andrew Moylan | 8ed9d83c8 | 2019-01-29 20:23:52 | [diff] [blame] | 75 | "+services/image_annotation/public", |
Becca Hughes | f87f525 | 2018-08-30 18:43:36 | [diff] [blame] | 76 | "+services/media_session/public", |
Steven Holte | e830e7e | 2017-11-07 23:47:30 | [diff] [blame] | 77 | "+services/metrics/metrics_mojo_service.h", |
Mounir Lamouri | fd9dcefa | 2017-07-06 10:26:55 | [diff] [blame] | 78 | "+services/metrics/public", |
John Abd-El-Malek | 21bca7c | 2018-10-26 22:13:33 | [diff] [blame] | 79 | "+services/network/cert_verifier_with_trust_anchors.h", |
| 80 | "+services/network/cert_verify_proc_chromeos.h", |
John Abd-El-Malek | 89c02ae | 2018-02-01 01:56:19 | [diff] [blame] | 81 | "+services/network/ignore_errors_cert_verifier.h", |
John Abd-El-Malek | 8e82a32 | 2018-01-31 20:30:47 | [diff] [blame] | 82 | "+services/network/network_service.h", |
Ken Rockot | 7d0a5ff6 | 2018-04-26 21:46:51 | [diff] [blame] | 83 | "+services/network/public", |
Mark Pilgrim | 9c330c221 | 2018-04-27 15:35:27 | [diff] [blame] | 84 | "+services/network/test", |
Matt Mueller | dbc0aa7 | 2019-02-04 22:13:18 | [diff] [blame] | 85 | "+services/network/trial_comparison_cert_verifier_mojo.h", |
Mark Pilgrim | 9c330c221 | 2018-04-27 15:35:27 | [diff] [blame] | 86 | "+services/network/url_request_context_owner.h", |
John Abd-El-Malek | 8e82a32 | 2018-01-31 20:30:47 | [diff] [blame] | 87 | "+services/network/url_request_context_builder_mojo.h", |
rockot | 905e389 | 2017-02-18 10:47:11 | [diff] [blame] | 88 | "+services/preferences/public/cpp", |
Ken Rockot | f7f533e | 2018-02-11 02:21:33 | [diff] [blame] | 89 | "+services/preferences/public/mojom", |
Jay Civelli | 2df2464 | 2017-10-09 20:22:28 | [diff] [blame] | 90 | "+services/proxy_resolver", # Android runs the packaged proxy resolver |
| 91 | # service in process and needs impl access. |
Ken Rockot | 26cf474 | 2018-02-11 04:10:40 | [diff] [blame] | 92 | "+services/proxy_resolver/public/mojom", |
oysteine | 8c8d3b70 | 2017-05-18 15:18:17 | [diff] [blame] | 93 | "+services/resource_coordinator/public/cpp", |
Ken Rockot | 95c888a4 | 2018-02-11 05:54:11 | [diff] [blame] | 94 | "+services/resource_coordinator/public/mojom", |
Ken Rockot | d7e999b | 2018-02-11 15:48:21 | [diff] [blame] | 95 | "+services/shape_detection/public/mojom", |
Guido Urdaneta | 191635e | 2018-05-09 16:00:53 | [diff] [blame] | 96 | "+services/video_capture/public", |
Saman Sami | 2acabd1 | 2018-03-10 00:51:09 | [diff] [blame] | 97 | "+services/viz/privileged", |
Mohsen Izadi | 6a6476b7 | 2018-12-07 04:34:35 | [diff] [blame] | 98 | "+services/viz/public/interfaces", |
Scott Violet | 9f98425 | 2018-08-27 19:02:13 | [diff] [blame] | 99 | "+services/ws/common", |
| 100 | "+services/ws/public", |
[email protected] | 5b7937e | 2010-11-04 23:37:18 | [diff] [blame] | 101 | "+skia/ext", |
tfarina | 29a3a174 | 2016-10-28 18:47:33 | [diff] [blame] | 102 | "+third_party/boringssl/src/include", |
manzagop | a5d6688d | 2016-10-25 20:16:03 | [diff] [blame] | 103 | "+third_party/crashpad", |
[email protected] | 4404e5b | 2011-08-16 19:08:46 | [diff] [blame] | 104 | "+third_party/cros_system_api", |
Steven Holte | f9d5ed6 | 2017-10-21 02:02:30 | [diff] [blame] | 105 | "+third_party/metrics_proto", |
Xiaohan Wang | f170c73 | 2018-09-27 05:45:26 | [diff] [blame] | 106 | "+third_party/widevine/cdm/buildflags.h", |
Xiaohan Wang | a4e4184 | 2018-06-26 18:45:10 | [diff] [blame] | 107 | "+third_party/widevine/cdm/widevine_cdm_common.h", |
[email protected] | 895701a | 2012-09-13 10:07:34 | [diff] [blame] | 108 | |
Scott Violet | 8ff9c30 | 2018-02-22 22:28:35 | [diff] [blame] | 109 | # Code under //ash runs out-of-process in mash so it must be accessed via mojo |
| 110 | # interfaces in //ash/public/interfaces. See //ash/README.md. |
jamescook | 1f91eac1 | 2017-05-30 17:27:32 | [diff] [blame] | 111 | "-ash", |
| 112 | "+ash/public", |
Mike Wasserman | 65386c1 | 2018-05-22 16:59:40 | [diff] [blame] | 113 | "+ash/components/shortcut_viewer/public/mojom", |
James Cook | a938409 | 2018-05-23 02:54:26 | [diff] [blame] | 114 | "+ash/components/tap_visualizer/public/mojom", |
jamescook | 1f91eac1 | 2017-05-30 17:27:32 | [diff] [blame] | 115 | |
Evan Stade | 196ec04 | 2018-03-13 19:44:36 | [diff] [blame] | 116 | # The message center may not exist, or may run out of process (in mash). |
| 117 | "-ui/message_center", |
| 118 | "+ui/message_center/public", |
| 119 | |
Steven Bennetts | 34692a33 | 2018-11-10 02:11:44 | [diff] [blame] | 120 | # KeyboardController and related classes are part of Ash. |
| 121 | "-ui/keyboard", |
| 122 | "+ui/keyboard/grit", |
| 123 | "+ui/keyboard/public", |
| 124 | "+ui/keyboard/resources", |
| 125 | |
[email protected] | 1249f32 | 2013-10-23 21:03:16 | [diff] [blame] | 126 | # chrome only needs switches from cc. All usage of the compositor is from |
| 127 | # content. Definitely don't include generic stuff from cc/base here, if this |
| 128 | # is needed these files need to move to base/ |
| 129 | "+cc/base/switches.h", |
| 130 | |
[email protected] | bbe2f51 | 2013-08-16 12:54:39 | [diff] [blame] | 131 | # Unsafe to use from //chrome, see http://goo.gl/QQG5wo |
| 132 | "-content/public/test/test_browser_context.h", |
| 133 | |
pilgrim | e92c5fcd | 2014-09-10 23:31:23 | [diff] [blame] | 134 | "+storage/browser", |
pilgrim | 1633055 | 2014-09-10 01:32:22 | [diff] [blame] | 135 | "+storage/common", |
[email protected] | c4298d0 | 2013-05-20 05:42:52 | [diff] [blame] | 136 | |
[email protected] | 81963ad | 2012-05-17 19:25:03 | [diff] [blame] | 137 | "-chrome/browser/ui/views", |
Greg Thompson | 0d974c4 | 2017-11-03 16:17:26 | [diff] [blame] | 138 | "+chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.h", |
[email protected] | e8b6ca0 | 2013-07-10 18:00:51 | [diff] [blame] | 139 | "+chrome/browser/ui/views/chrome_browser_main_extra_parts_views.h", |
estade | d3aa0e8 | 2016-02-17 22:55:21 | [diff] [blame] | 140 | "+chrome/browser/ui/views/chrome_browser_main_extra_parts_views_linux.h", |
ananta | 5ecf11b | 2017-04-29 00:45:10 | [diff] [blame] | 141 | "+chrome/browser/ui/views/extensions/request_file_system_dialog_view.h", |
Greg Thompson | 0d974c4 | 2017-11-03 16:17:26 | [diff] [blame] | 142 | "+chrome/browser/ui/views/try_chrome_dialog_win/try_chrome_dialog.h", |
[email protected] | 81963ad | 2012-05-17 19:25:03 | [diff] [blame] | 143 | |
boliu | 60df207 | 2015-10-26 22:55:19 | [diff] [blame] | 144 | # Explicitly disallow using SyncMessageFilter to prevent browser from |
| 145 | # sending synchronous IPC messages on non-UI threads. |
| 146 | "-ipc/ipc_sync_message_filter.h", |
| 147 | |
mmenke | f73a512 | 2017-07-13 23:27:39 | [diff] [blame] | 148 | # Allows in-process use of NetworkService for URLRequestContext configuration. |
| 149 | # Should be removed once the actual network service ships. |
| 150 | "+content/public/network", |
| 151 | |
[email protected] | 4ec7327e | 2008-08-18 23:59:51 | [diff] [blame] | 152 | # Other libraries. |
tfarina | c28691d | 2015-07-23 19:22:51 | [diff] [blame] | 153 | "+libxml", |
[email protected] | 17a444c | 2014-06-24 01:44:32 | [diff] [blame] | 154 | "+third_party/google_toolbox_for_mac/src", |
[email protected] | 8bbf619 | 2013-07-18 11:14:04 | [diff] [blame] | 155 | "+third_party/icu/source/common/unicode", |
| 156 | "+third_party/icu/source/i18n/unicode", |
[email protected] | f82ef06 | 2012-04-27 17:52:54 | [diff] [blame] | 157 | "+third_party/leveldatabase", |
tfarina | c28691d | 2015-07-23 19:22:51 | [diff] [blame] | 158 | "+third_party/libxml", |
[email protected] | 17a444c | 2014-06-24 01:44:32 | [diff] [blame] | 159 | "+third_party/mozilla", # Mozilla interface headers. |
miguelg | dbb2e23 | 2016-10-14 18:50:13 | [diff] [blame] | 160 | "+third_party/ocmock/gtest_support.h", |
[email protected] | 3828d6f | 2011-02-24 18:32:21 | [diff] [blame] | 161 | "+third_party/protobuf/src/google/protobuf", |
[email protected] | 4728ca8 | 2012-08-24 10:39:59 | [diff] [blame] | 162 | "+third_party/re2", |
[email protected] | b84ee6e | 2014-03-15 22:51:54 | [diff] [blame] | 163 | "+third_party/smhasher", |
[email protected] | 2b733b3 | 2011-09-22 06:18:24 | [diff] [blame] | 164 | "+third_party/sqlite", |
[email protected] | 537c638d | 2013-07-04 00:49:19 | [diff] [blame] | 165 | "+third_party/zlib", |
[email protected] | af6e075 | 2013-06-21 15:50:38 | [diff] [blame] | 166 | |
Kinuko Yasuda | 2008306 | 2018-02-10 02:13:30 | [diff] [blame] | 167 | # No inclusion of WebKit from the browser, other than the ones in |
Kinuko Yasuda | 6f03105 | 2018-02-19 15:25:27 | [diff] [blame] | 168 | # WebKit/public/{mojom,common}, or the ones that are strictly enum/POD, |
[email protected] | af6e075 | 2013-06-21 15:50:38 | [diff] [blame] | 169 | # header-only types, and some selected common code. |
Blink Reformat | a30d423 | 2018-04-07 15:31:06 | [diff] [blame] | 170 | "-third_party/blink", |
| 171 | "+third_party/blink/public/common", |
| 172 | "+third_party/blink/public/mojom", |
| 173 | "+third_party/blink/public/platform/web_cache.h", |
Blink Reformat | a30d423 | 2018-04-07 15:31:06 | [diff] [blame] | 174 | "+third_party/blink/public/platform/web_loading_behavior_flag.h", |
| 175 | "+third_party/blink/public/platform/web_gesture_event.h", |
| 176 | "+third_party/blink/public/platform/web_input_event.h", |
| 177 | "+third_party/blink/public/platform/web_mouse_event.h", |
| 178 | "+third_party/blink/public/platform/web_mouse_wheel_event.h", |
Aldo Culquicondor | 5319555 | 2018-06-19 21:53:13 | [diff] [blame] | 179 | "+third_party/blink/public/platform/web_touch_event.h", |
Blink Reformat | a30d423 | 2018-04-07 15:31:06 | [diff] [blame] | 180 | "+third_party/blink/public/platform/web_security_style.h", |
Katie D | 8236c3a3 | 2018-04-24 18:49:27 | [diff] [blame] | 181 | "+third_party/blink/public/platform/web_speech_synthesis_constants.h", |
Blink Reformat | a30d423 | 2018-04-07 15:31:06 | [diff] [blame] | 182 | "+third_party/blink/public/platform/web_sudden_termination_disabler_type.h", |
| 183 | "+third_party/blink/public/platform/modules/notifications/web_notification_constants.h", |
| 184 | "+third_party/blink/public/platform/modules/remoteplayback/web_remote_playback_availability.h", |
| 185 | "+third_party/blink/public/platform/modules/screen_orientation/web_screen_orientation_lock_type.h", |
| 186 | "+third_party/blink/public/public_buildflags.h", |
| 187 | "+third_party/blink/public/web/web_context_menu_data.h", |
Dave Tapuska | 3ed4419 | 2018-05-01 18:53:30 | [diff] [blame] | 188 | "+third_party/blink/public/web/web_fullscreen_options.h", |
Blink Reformat | a30d423 | 2018-04-07 15:31:06 | [diff] [blame] | 189 | "+third_party/blink/public/web/web_media_player_action.h", |
| 190 | "+third_party/blink/public/web/web_plugin_action.h", |
| 191 | "+third_party/blink/public/web/web_presentation_receiver_flags.h", |
| 192 | "+third_party/blink/public/web/web_text_direction.h", |
| 193 | "+third_party/blink/public/web/web_triggering_event_info.h", |
Kinuko Yasuda | 74702f9 | 2017-07-31 03:27:53 | [diff] [blame] | 194 | |
Kenichi Ishibashi | 16309bb | 2017-11-07 06:21:46 | [diff] [blame] | 195 | # Allow mojo generated files in WebKit. These files use STL types and |
| 196 | # don't use WTF types. |
Blink Reformat | a30d423 | 2018-04-07 15:31:06 | [diff] [blame] | 197 | "+third_party/blink/public/platform/modules/budget_service/budget_service.mojom.h", |
Blink Reformat | a30d423 | 2018-04-07 15:31:06 | [diff] [blame] | 198 | "+third_party/blink/public/platform/modules/presentation/presentation.mojom.h", |
Kenichi Ishibashi | 16309bb | 2017-11-07 06:21:46 | [diff] [blame] | 199 | |
Scott Violet | d4b21d25 | 2017-08-11 17:27:36 | [diff] [blame] | 200 | # The following restrictions are for ChromeOS and in particular mus/mash where |
| 201 | # Ozone does not run in process. If the linux build transitions to Ozone then |
| 202 | # we likely need to make these restrictions applicable only to ChromeOS files. |
| 203 | "-ui/events/ozone", |
Maksim Sisov | ac76759 | 2018-08-10 08:00:15 | [diff] [blame] | 204 | "-ui/ozone/", |
| 205 | "+ui/ozone/public/ozone_platform.h", |
Scott Violet | d4b21d25 | 2017-08-11 17:27:36 | [diff] [blame] | 206 | "+ui/ozone/public/ozone_switches.h", |
| 207 | # ui/events/devices is tied with ozone, which is controlled by mus, and |
| 208 | # shouldn't be used by Chrome directly. |
| 209 | "-ui/events/devices", |
| 210 | # Enums and supporting classes or observers that are safe (should be moved to |
Scott Violet | 9f98425 | 2018-08-27 19:02:13 | [diff] [blame] | 211 | # services/ws/public/cpp). http://crbug.com/747544. |
Scott Violet | d4b21d25 | 2017-08-11 17:27:36 | [diff] [blame] | 212 | "+ui/events/devices/device_hotplug_event_observer.h", |
| 213 | "+ui/events/devices/input_device.h", |
| 214 | "+ui/events/devices/input_device_event_observer.h", |
Scott Violet | 7cbe201 | 2017-08-19 00:54:30 | [diff] [blame] | 215 | "+ui/events/devices/input_device_manager.h", |
Scott Violet | d4b21d25 | 2017-08-11 17:27:36 | [diff] [blame] | 216 | "+ui/events/devices/stylus_state.h", |
| 217 | "+ui/events/devices/touchscreen_device.h", |
Scott Violet | d4b21d25 | 2017-08-11 17:27:36 | [diff] [blame] | 218 | |
| 219 | # Only used by X11 (non-ChromeOS) code, which can use X directly. |
| 220 | "+ui/events/devices/x11", |
[email protected] | 4ec7327e | 2008-08-18 23:59:51 | [diff] [blame] | 221 | ] |
Scott Violet | d4b21d25 | 2017-08-11 17:27:36 | [diff] [blame] | 222 | |
jamescook | 1f91eac1 | 2017-05-30 17:27:32 | [diff] [blame] | 223 | specific_include_rules = { |
Scott Violet | 0eea3b2 | 2018-05-05 16:50:06 | [diff] [blame] | 224 | "ash_service_registry\.cc": [ |
James Cook | abc9018 | 2018-09-28 20:45:09 | [diff] [blame] | 225 | # The following are needed for classic mode to create the WindowService. |
| 226 | # Once Ash runs out of process no longer needed. |
| 227 | "+ash/shell.h", |
| 228 | |
Scott Violet | 0eea3b2 | 2018-05-05 16:50:06 | [diff] [blame] | 229 | # Needed for classic mode. |
Scott Violet | 7eb50d2 | 2018-05-04 17:12:18 | [diff] [blame] | 230 | "+ash/ash_service.h", |
| 231 | ], |
Christopher Cameron | 936b0a19 | 2018-10-08 20:22:35 | [diff] [blame] | 232 | "platform_util_mac.mm": [ |
| 233 | # The following is used to forward methods to an NSWindow in another |
| 234 | # process, via the views::Widget API. |
| 235 | "+ui/views/widget/widget.h", |
| 236 | ], |
Steven Bennetts | 26121cb | 2018-06-25 20:54:40 | [diff] [blame] | 237 | # TODO(mash): Fix. https://crbug.com/768439, https://crbug.com/768395. |
Scott Violet | 737fb75 | 2018-04-11 15:35:22 | [diff] [blame] | 238 | "exo_parts\.cc": [ |
| 239 | "+ash/shell.h", |
| 240 | ], |
jamescook | 1f91eac1 | 2017-05-30 17:27:32 | [diff] [blame] | 241 | # TODO(mash): Remove. http://crbug.com/678705 |
| 242 | "fullscreen_chromeos\.cc": [ |
| 243 | "+ash/root_window_controller.h", |
| 244 | "+ash/shell.h", |
Scott Violet | 776edf8 | 2017-09-29 02:03:01 | [diff] [blame] | 245 | ], |
Evan Stade | 196ec04 | 2018-03-13 19:44:36 | [diff] [blame] | 246 | # TODO(estade): the message center is initialized and shut down here, but it |
| 247 | # should be the responsibility of code in chrome/browser/notifications/ |
| 248 | "browser_process_impl.cc": [ |
| 249 | "+ui/message_center/message_center.h", |
| 250 | ], |
Lukasz Anforowicz | 23f6bc71 | 2019-02-25 20:05:57 | [diff] [blame] | 251 | # To share values of UMA enums between product code and tests. |
| 252 | "translate_manager_browsertest.cc": [ |
| 253 | "+services/network/initiator_lock_compatibility.h", |
| 254 | ], |
jamescook | 1f91eac1 | 2017-05-30 17:27:32 | [diff] [blame] | 255 | } |