| 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 if (is_android && (current_cpu == "arm" || current_cpu == "arm64")) { | 57 if (is_android && (current_cpu == "arm" || current_cpu == "arm64")) { |
| 58 sources += [ | 58 sources += [ |
| 59 "android/gvr/gvr_delegate.cc", | 59 "android/gvr/gvr_delegate.cc", |
| 60 "android/gvr/gvr_delegate.h", | 60 "android/gvr/gvr_delegate.h", |
| 61 "android/gvr/gvr_device.cc", | 61 "android/gvr/gvr_device.cc", |
| 62 "android/gvr/gvr_device.h", | 62 "android/gvr/gvr_device.h", |
| 63 "android/gvr/gvr_device_provider.cc", | 63 "android/gvr/gvr_device_provider.cc", |
| 64 "android/gvr/gvr_device_provider.h", | 64 "android/gvr/gvr_device_provider.h", |
| 65 "android/gvr/gvr_gamepad_data_fetcher.cc", | 65 "android/gvr/gvr_gamepad_data_fetcher.cc", |
| 66 "android/gvr/gvr_gamepad_data_fetcher.h", | 66 "android/gvr/gvr_gamepad_data_fetcher.h", |
| 67 "android/gvr/gvr_gamepad_data_provider.h", |
| 67 ] | 68 ] |
| 68 | 69 |
| 69 deps += [ | 70 deps += [ |
| 70 "//device/gamepad", | 71 "//device/gamepad", |
| 71 "//third_party/WebKit/public:blink_headers", | 72 "//third_party/WebKit/public:blink_headers", |
| 72 ] | 73 ] |
| 73 ldflags = [ "-landroid" ] | 74 ldflags = [ "-landroid" ] |
| 74 libs = [ "//third_party/gvr-android-sdk/libgvr_shim_static_${current_cpu}.
a" ] | 75 libs = [ "//third_party/gvr-android-sdk/libgvr_shim_static_${current_cpu}.
a" ] |
| 75 configs += [ "//third_party/gvr-android-sdk:libgvr_config" ] | 76 configs += [ "//third_party/gvr-android-sdk:libgvr_config" ] |
| 76 } | 77 } |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 | 109 |
| 109 public_deps = [ | 110 public_deps = [ |
| 110 "//gpu/ipc/common:interfaces", | 111 "//gpu/ipc/common:interfaces", |
| 111 "//mojo/common:common_custom_types", | 112 "//mojo/common:common_custom_types", |
| 112 ] | 113 ] |
| 113 | 114 |
| 114 export_class_attribute = "DEVICE_VR_EXPORT" | 115 export_class_attribute = "DEVICE_VR_EXPORT" |
| 115 export_define = "DEVICE_VR_IMPLEMENTATION=1" | 116 export_define = "DEVICE_VR_IMPLEMENTATION=1" |
| 116 export_header = "device/vr/vr_export.h" | 117 export_header = "device/vr/vr_export.h" |
| 117 } | 118 } |
| OLD | NEW |