| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("features.gni") | 5 import("features.gni") |
| 6 import("//build/buildflag_header.gni") | 6 import("//build/buildflag_header.gni") |
| 7 import("//mojo/public/tools/bindings/mojom.gni") | 7 import("//mojo/public/tools/bindings/mojom.gni") |
| 8 | 8 |
| 9 if (is_android) { | 9 if (is_android) { |
| 10 import("//build/config/android/rules.gni") # For generate_jni(). | 10 import("//build/config/android/rules.gni") # For generate_jni(). |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 ] | 82 ] |
| 83 ldflags = [ "-landroid" ] | 83 ldflags = [ "-landroid" ] |
| 84 libs = [ "//third_party/gvr-android-sdk/libgvr_shim_static_${current_cpu}.
a" ] | 84 libs = [ "//third_party/gvr-android-sdk/libgvr_shim_static_${current_cpu}.
a" ] |
| 85 configs += [ "//third_party/gvr-android-sdk:libgvr_config" ] | 85 configs += [ "//third_party/gvr-android-sdk:libgvr_config" ] |
| 86 } | 86 } |
| 87 | 87 |
| 88 if (enable_openvr) { | 88 if (enable_openvr) { |
| 89 deps += [ "//third_party/openvr:openvr" ] | 89 deps += [ "//third_party/openvr:openvr" ] |
| 90 sources += [ | 90 sources += [ |
| 91 "openvr/openvr_device.cc", | 91 "openvr/openvr_device.cc", |
| 92 "openvr/openvr_device.h", |
| 92 "openvr/openvr_device_provider.cc", | 93 "openvr/openvr_device_provider.cc", |
| 94 "openvr/openvr_device_provider.h", |
| 93 ] | 95 ] |
| 94 } | 96 } |
| 95 } | 97 } |
| 96 } | 98 } |
| 97 | 99 |
| 98 if (enable_vr) { | 100 if (enable_vr) { |
| 99 static_library("fakes") { | 101 static_library("fakes") { |
| 100 testonly = true | 102 testonly = true |
| 101 | 103 |
| 102 sources = [ | 104 sources = [ |
| (...skipping 23 matching lines...) Expand all Loading... |
| 126 | 128 |
| 127 public_deps = [ | 129 public_deps = [ |
| 128 "//gpu/ipc/common:interfaces", | 130 "//gpu/ipc/common:interfaces", |
| 129 "//mojo/common:common_custom_types", | 131 "//mojo/common:common_custom_types", |
| 130 ] | 132 ] |
| 131 | 133 |
| 132 export_class_attribute = "DEVICE_VR_EXPORT" | 134 export_class_attribute = "DEVICE_VR_EXPORT" |
| 133 export_define = "DEVICE_VR_IMPLEMENTATION=1" | 135 export_define = "DEVICE_VR_IMPLEMENTATION=1" |
| 134 export_header = "device/vr/vr_export.h" | 136 export_header = "device/vr/vr_export.h" |
| 135 } | 137 } |
| OLD | NEW |