| 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/chromeos/printing", |
| |
| # Existing dependencies within //chrome. There is an active effort to |
| # refactor chromeos codes in //chrome to break these dependencies; see |
| # b/332804822. Whenever possible, avoid adding new //chrome dependencies to |
| # this list. |
| ] |
| |
| specific_include_rules = { |
| # Used to assert equality between chromeos::PrinterErrorCode and |
| # chromeos.printing.printing_manager.mojom.PrinterErrorCode values. |
| "printer_error_codes\.cc": [ |
| "+chromeos/components/print_management/mojom/printing_manager.mojom.h", |
| ], |
| } |