Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2473)

Unified Diff: device/vr/BUILD.gn

Issue 2817663003: Rendering text on insecure-site warnings for WebVR (Closed)
Patch Set: build workaround Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: device/vr/BUILD.gn
diff --git a/device/vr/BUILD.gn b/device/vr/BUILD.gn
index 6afccbcbd3769989b84b6a0e78c96876e48e1da1..3aa3c8d653601b3076cfb6109f2e7ee945f1cabf 100644
--- a/device/vr/BUILD.gn
+++ b/device/vr/BUILD.gn
@@ -28,8 +28,10 @@ component("vr") {
defines = [ "DEVICE_VR_IMPLEMENTATION" ]
deps = [
":features",
- ":mojo_bindings",
]
+ if (!is_ios) {
+ deps += [ ":mojo_bindings" ]
+ }
if (!enable_vr) {
sources += [
@@ -121,17 +123,19 @@ if (enable_vr) {
}
}
-mojom("mojo_bindings") {
- sources = [
- "vr_service.mojom",
- ]
+if (!is_ios) {
+ mojom("mojo_bindings") {
+ sources = [
+ "vr_service.mojom",
+ ]
- public_deps = [
- "//gpu/ipc/common:interfaces",
- "//mojo/common:common_custom_types",
- ]
+ public_deps = [
+ "//gpu/ipc/common:interfaces",
+ "//mojo/common:common_custom_types",
+ ]
- export_class_attribute = "DEVICE_VR_EXPORT"
- export_define = "DEVICE_VR_IMPLEMENTATION=1"
- export_header = "device/vr/vr_export.h"
+ export_class_attribute = "DEVICE_VR_EXPORT"
+ export_define = "DEVICE_VR_IMPLEMENTATION=1"
+ export_header = "device/vr/vr_export.h"
+ }
}
« no previous file with comments | « chrome/browser/android/vr_shell/vr_shell.cc ('k') | ui/gfx/BUILD.gn » ('j') | ui/gfx/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698