| include_rules = [ |
| # TODO(ananta): Remove this when we move files which display UI in |
| # chrome/browser/chromeos to chrome/browser/ui/views/chromeos |
| # crbug.com/728877 |
| "+chrome/browser/ui/views/chrome_layout_provider.h", |
| |
| "+chrome/services/app_service/public", |
| "+cros", |
| "+dbus", |
| "+device/bluetooth", |
| "+mash/public/mojom", |
| "+media/audio/sounds", # For system sounds |
| "+media/base/media_switches.h", # For media command line switches. |
| "+media/mojo/interfaces", # For platform verification mojom interface. |
| "+remoting/host/it2me", # For CRD host in remote command |
| "+services/device/public", |
| "+services/metrics/public", |
| "+services/network", |
| "+services/tracing/public", |
| "+services/viz/public/interfaces", |
| # Chromeos should not use ozone directly, it must go through mojo as ozone |
| # does not run in process in mus. |
| "-ui/ozone/public", |
| "+ui/ozone/public/ozone_switches.h", |
| |
| # keyboard::KeyboardController only exists in ash and should not be accessed |
| # directly from src/chrome. Use ChromeKeyboardControllerClient instead. |
| "-ui/keyboard/keyboard_controller.h", |
| "-ui/keyboard/keyboard_util.h", |
| ] |
| |
| specific_include_rules = { |
| ".*test.*": [ |
| "!ash", |
| ], |
| "chrome_browser_main_chromeos\.cc": [ |
| # TODO(mash): Support EventRewriters, http://crbug.com/647781. |
| "+ash/events/event_rewriter_controller.h", |
| "+ash/shell.h", |
| "+ash/sticky_keys/sticky_keys_controller.h", |
| ], |
| "event_rewriter_unittest\.cc": [ |
| "+ui/events/devices/device_data_manager.h", |
| ], |
| "file_manager_browsertest_base.cc": [ |
| "+chrome/browser/ui/views/extensions/extension_dialog.h", |
| "+chrome/browser/ui/views/select_file_dialog_extension.h", |
| ], |
| "input_method_manager_impl\.cc": [ |
| # For GetInputMethodKeyboardController. TODO(stevenjb/shuchen): Fix this |
| # for Mash. https://crbug.com/756059 |
| "+ui/keyboard/keyboard_controller.h", |
| ], |
| } |