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

Side by Side Diff: device/vr/BUILD.gn

Issue 2351573002: Added support for GVR controllers (Closed)
Patch Set: Remove LOG, make string length adjustment suggested by Michael Created 4 years, 3 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 unified diff | Download patch
OLDNEW
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
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",
47 "//third_party/gvr-android-sdk:libgvr", 50 "//third_party/gvr-android-sdk:libgvr",
48 ] 51 ]
49 configs += [ "//third_party/gvr-android-sdk:libgvr_config" ] 52 configs += [ "//third_party/gvr-android-sdk:libgvr_config" ]
50 } 53 }
51 } 54 }
52 55
53 static_library("fakes") { 56 static_library("fakes") {
54 testonly = true 57 testonly = true
55 58
56 sources = [ 59 sources = [
(...skipping 30 matching lines...) Expand all
87 90
88 android_library("java") { 91 android_library("java") {
89 java_files = java_sources_needing_jni 92 java_files = java_sources_needing_jni
90 deps = [ 93 deps = [
91 "//base:base_java", 94 "//base:base_java",
92 "//third_party/android_protobuf:protobuf_nano_javalib", 95 "//third_party/android_protobuf:protobuf_nano_javalib",
93 "//third_party/gvr-android-sdk:gvr_common_java", 96 "//third_party/gvr-android-sdk:gvr_common_java",
94 ] 97 ]
95 } 98 }
96 } 99 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698