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("//build/config/features.gni") | 5 import("//build/config/features.gni") |
6 import("//mojo/public/tools/bindings/mojom.gni") | 6 import("//mojo/public/tools/bindings/mojom.gni") |
7 | 7 |
8 if (is_android) { | 8 if (is_android) { |
9 import("//build/config/android/rules.gni") # For generate_jni(). | 9 import("//build/config/android/rules.gni") # For generate_jni(). |
10 } | 10 } |
(...skipping 22 matching lines...) Expand all Loading... |
33 defines = [ "DEVICE_VR_IMPLEMENTATION" ] | 33 defines = [ "DEVICE_VR_IMPLEMENTATION" ] |
34 | 34 |
35 if (is_android) { | 35 if (is_android) { |
36 sources += [ | 36 sources += [ |
37 "android/gvr/gvr_delegate.cc", | 37 "android/gvr/gvr_delegate.cc", |
38 "android/gvr/gvr_delegate.h", | 38 "android/gvr/gvr_delegate.h", |
39 "android/gvr/gvr_device.cc", | 39 "android/gvr/gvr_device.cc", |
40 "android/gvr/gvr_device.h", | 40 "android/gvr/gvr_device.h", |
41 "android/gvr/gvr_device_provider.cc", | 41 "android/gvr/gvr_device_provider.cc", |
42 "android/gvr/gvr_device_provider.h", | 42 "android/gvr/gvr_device_provider.h", |
| 43 "android/gvr/gvr_gamepad_data_fetcher.cc", |
| 44 "android/gvr/gvr_gamepad_data_fetcher.h", |
43 ] | 45 ] |
44 | 46 |
45 deps += [ | 47 deps += [ |
46 ":jni_headers", | 48 ":jni_headers", |
| 49 "//device/gamepad", |
| 50 "//third_party/WebKit/public:blink_headers", |
47 "//third_party/gvr-android-sdk:libgvr", | 51 "//third_party/gvr-android-sdk:libgvr", |
48 ] | 52 ] |
49 configs += [ "//third_party/gvr-android-sdk:libgvr_config" ] | 53 configs += [ "//third_party/gvr-android-sdk:libgvr_config" ] |
50 } | 54 } |
51 } | 55 } |
52 | 56 |
53 static_library("fakes") { | 57 static_library("fakes") { |
54 testonly = true | 58 testonly = true |
55 | 59 |
56 sources = [ | 60 sources = [ |
(...skipping 30 matching lines...) Expand all Loading... |
87 | 91 |
88 android_library("java") { | 92 android_library("java") { |
89 java_files = java_sources_needing_jni | 93 java_files = java_sources_needing_jni |
90 deps = [ | 94 deps = [ |
91 "//base:base_java", | 95 "//base:base_java", |
92 "//third_party/android_protobuf:protobuf_nano_javalib", | 96 "//third_party/android_protobuf:protobuf_nano_javalib", |
93 "//third_party/gvr-android-sdk:gvr_common_java", | 97 "//third_party/gvr-android-sdk:gvr_common_java", |
94 ] | 98 ] |
95 } | 99 } |
96 } | 100 } |
OLD | NEW |