| 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/ui/views/mahi", |
| |
| # 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/mahi/web_contents/test_support", |
| "+chrome/browser/ui/ash/editor_menu/utils", |
| "+chrome/browser/ui/ash/magic_boost/magic_boost_constants.h", |
| "+chrome/browser/ui/ash/read_write_cards", |
| "+chrome/browser/ui/browser.h", |
| "+chrome/test", |
| |
| ] |
| |
| specific_include_rules = { |
| ".*unittest\\.cc": [ |
| "+chrome/browser/global_features.h", |
| ], |
| } |