| 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"
|
| + }
|
| }
|
|
|