| include_rules = [ |
| "+components/ukm", |
| "+components/viz/common/gpu/context_provider.h", |
| "+device/base/features.h", |
| "+device/gamepad/public/cpp/gamepads.h", |
| "+gpu/command_buffer/client/gles2_interface.h", |
| "+gpu/command_buffer/common/constants.h", |
| "+gpu/command_buffer/common/mailbox_holder.h", |
| "+gpu/command_buffer/common/sync_token.h", |
| "+device/vr/jni_headers", |
| "+services/device/public", |
| "+services/metrics/public/cpp/ukm_builders.h", |
| "+third_party/gvr-android-sdk/src", |
| "+third_party/skia/include/core/SkColor.h", |
| "+ui/display", |
| "+ui/gfx", |
| "+ui/gl", |
| # The third_party version of openxr_platform depends on certain platform |
| # headers being included before it, so we disallow direct dependency on it. |
| # Places needing to take a dependency on code in openxr_platform.h should |
| # include "device/vr/openxr/openxr_platform.h", which ensures that these |
| # platform dependencies are included without forcing modifications on all |
| # other files that would like to include it. |
| "-third_party/openxr/src/include/openxr/openxr_platform.h" |
| ] |
| |
| specific_include_rules = { |
| # Override the earlier restriction on third_party openxr_platform for the |
| # wrapper class. |
| "device/vr/openxr/openxr_platform\.h" : [ |
| "+third_party/openxr/src/include/openxr/openxr_platform.h" |
| ] |
| } |