| include_rules = [ |
| "-content", |
| |
| # These are low-level system APIs on ChromeOS that need to be available |
| # everywhere. |
| "+chromeos/lacros/lacros_chrome_service_impl.h", |
| "+chromeos/startup/startup_switches.h", |
| |
| "+content/public", |
| "+components/discardable_memory/service", |
| "+components/download/public/common", |
| "+components/leveldb_proto/public", |
| "+components/services/storage/public", |
| "+components/viz/client", |
| "+components/viz/common", |
| "+components/viz/host", |
| "+components/viz/test", |
| "+device/vr/public/mojom", |
| "+services/audio", |
| "+services/metrics/public/cpp", |
| "+services/network", |
| "+services/service_manager", |
| "+services/tracing/public/cpp", |
| "+testing/android/native_test/native_browser_test_support.h", |
| "+ui/ozone/public", |
| "+ui/views", |
| "+v8/include/v8.h", |
| "+ui/platform_window/common/platform_window_defaults.h", |
| ] |
| |
| # Ensure we don't leak internal content headers through public headers. |
| specific_include_rules = { |
| ".*\.(cc|mm)": [ |
| # Testing utilities can access anything in content/ |
| "+content", |
| "+components/tracing/common", |
| "+gin/v8_initializer.h", |
| "+services/network/network_context.h", |
| "+third_party/iaccessible2", |
| "+ui/base/resource/resource_bundle.h", |
| ], |
| } |