| include_rules = [ |
| # ChromeOS should not depend on //chrome. See //docs/chromeos/code.md for |
| # details. |
| "-chrome", |
| |
| # This directory is in //chrome, which violates the rule above. Allow this |
| # directory to #include its own files. |
| "+chrome/browser/ash/test", |
| |
| # Existing dependencies within //chrome. There is an active effort to |
| # refactor ash codes in //chrome to break these dependencies; see b/332804822. |
| # Whenever possible, avoid adding new //chrome dependencies to this list. |
| "+chrome/browser/ash/login", |
| "+chrome/browser/lifetime/termination_notification.h", |
| "+chrome/browser/ui/webui/ash/login/device_disabled_screen_handler.h", |
| ] |
| |
| specific_include_rules = { |
| "device_restriction_schedule_controller_browsertest\.cc": [ |
| "+ui/message_center", |
| ], |
| ".*_browser_test_mixin\.(h|cc)": [ |
| "+chrome/test/base/mixin_based_in_process_browser_test.h", |
| ], |
| ".*_browsertest\.cc": [ |
| "+chrome/browser/browser_process.h", |
| "+chrome/browser/browser_process_platform_part.h", |
| ], |
| } |