| 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 16 matching lines...) Expand all Loading... |
| 27 ":mojo_bindings", | 27 ":mojo_bindings", |
| 28 "//base", | 28 "//base", |
| 29 "//mojo/public/cpp/bindings", | 29 "//mojo/public/cpp/bindings", |
| 30 "//ui/gfx", | 30 "//ui/gfx", |
| 31 ] | 31 ] |
| 32 | 32 |
| 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_api_manager.cc", | 37 "android/gvr/gvr_delegate.cc", |
| 38 "android/gvr/gvr_api_manager.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 ] | 43 ] |
| 44 | 44 |
| 45 deps += [ | 45 deps += [ |
| 46 ":jni_headers", | 46 ":jni_headers", |
| 47 "//third_party/gvr-android-sdk:libgvr", | 47 "//third_party/gvr-android-sdk:libgvr", |
| 48 ] | 48 ] |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 | 87 |
| 88 android_library("java") { | 88 android_library("java") { |
| 89 java_files = java_sources_needing_jni | 89 java_files = java_sources_needing_jni |
| 90 deps = [ | 90 deps = [ |
| 91 "//base:base_java", | 91 "//base:base_java", |
| 92 "//third_party/android_protobuf:protobuf_nano_javalib", | 92 "//third_party/android_protobuf:protobuf_nano_javalib", |
| 93 "//third_party/gvr-android-sdk:gvr_common_java", | 93 "//third_party/gvr-android-sdk:gvr_common_java", |
| 94 ] | 94 ] |
| 95 } | 95 } |
| 96 } | 96 } |
| OLD | NEW |