| include_rules = [ |
| "+components/browsing_topics/common", |
| # components/download are needed for providing the download feature. |
| # TODO(qinmin): move it to services/download when download becomes a service. |
| "+components/download/public/common", |
| "+components/services/storage/public", |
| "+components/viz/common", |
| "+components/viz/host", |
| "+device/fido", |
| "+device/vr/buildflags", |
| "+device/vr/public/cpp", |
| "+device/vr/public/mojom", |
| "+services/audio/public", |
| "+services/data_decoder/public", |
| "+services/device/public", |
| "+services/media_session/public", |
| "+services/metrics/public/cpp", |
| "+services/network/public/cpp", |
| "+services/resource_coordinator/public", |
| "+services/tracing/public/mojom", |
| "+services/video_capture/public/mojom", |
| "+services/viz/public/mojom", |
| ] |
| |
| specific_include_rules = { |
| ".*\.cc": [ |
| "+content/browser", |
| "+content/common/content_constants_internal.h", |
| "-content/browser/loader", |
| ], |
| ".*\.mm": [ |
| "+content/browser", |
| ], |
| |
| "desktop_capture\.h": [ |
| # desktop_capture.h creates a DesktopCaptureOptions to share between |
| # content/browser and chrome/browser. |
| "+third_party/webrtc/modules/desktop_capture/desktop_capture_options.h", |
| ], |
| |
| "gpu_utils\.cc": [ |
| # For using switch::kPlatformDisallowsChromeOSDirectVideoDecoder. |
| # TODO(b/192563524): remove it when the legacy video decoder is replaced for |
| # all devices. |
| "+ui/ozone/public/ozone_switches.h", |
| ], |
| |
| ".*unittest\.cc": [ |
| "+services/network/network_service.h", |
| ], |
| } |