blob: f9645043576e3d09d63ac50e6158ea17706581a0 [file] [log] [blame]
# Please consult components/viz/README.md about allowable dependencies.
include_rules = [
"+cc/paint/filter_operations.h",
# Do not use mojo bindings in viz/client/. This library should be agnostic
# about how to communicate with viz. The exceptions for struct_ and
# union_traits.h are for defining friends only.
"-mojo/public/cpp/bindings",
"+mojo/public/cpp/bindings/struct_traits.h",
"+mojo/public/cpp/bindings/union_traits.h",
"+third_party/perfetto/protos/perfetto/trace/track_event",
"+third_party/skia",
"+third_party/blink/public/common/tokens/tokens.h",
]
specific_include_rules = {
# DEPS for GLHelper and friends which are in the root common/ directory.
"(yuv_readback|gl_helper|gl_scaler).*\.(cc|h)": [
"+gpu/GLES2",
"+gpu/command_buffer/client",
"+gpu/command_buffer/common",
"+gpu/command_buffer/service",
"+gpu/ipc/common",
],
".*(_unittest|_pixeltest|test_util)\.cc": [
"+cc/test",
"+components/viz/test",
"+gpu/ipc/gl_in_process_context.h",
"+gpu/ipc/test_gpu_thread_holder.h",
"+media/base",
"+ui/gl",
],
".*_benchmark\.cc": [
"+components/viz/test/test_gpu_service_holder.h",
"+gpu/ipc/gl_in_process_context.h",
],
"features.cc" : [
"+gpu/config/gpu_driver_bug_workaround_type.h",
"+gpu/config/gpu_finch_features.h",
"+gpu/config/gpu_switches.h",
"+media/media_buildflags.h",
"+ui/gl/gl_switches.h",
],
"bitmap_allocation.cc" : [
# Only used to pass Mojo handles, not to communicate with the viz service.
"+mojo/public/cpp/base/shared_memory_utils.h",
],
"renderer_settings.h" : [
"+ui/display/types/display_constants.h",
]
}