| 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 } |
| 11 | 11 |
| 12 component("vr") { | 12 component("vr") { |
| 13 output_name = "device_vr" | 13 output_name = "device_vr" |
| 14 | 14 |
| 15 sources = [ | 15 sources = [ |
| 16 "vr_client_dispatcher.h", | |
| 17 "vr_device.cc", | 16 "vr_device.cc", |
| 18 "vr_device.h", | 17 "vr_device.h", |
| 18 "vr_device_client_impl.cc", |
| 19 "vr_device_client_impl.h", |
| 19 "vr_device_manager.cc", | 20 "vr_device_manager.cc", |
| 20 "vr_device_manager.h", | 21 "vr_device_manager.h", |
| 21 "vr_device_provider.h", | 22 "vr_device_provider.h", |
| 22 "vr_service_impl.cc", | 23 "vr_service_impl.cc", |
| 23 "vr_service_impl.h", | 24 "vr_service_impl.h", |
| 24 ] | 25 ] |
| 25 | 26 |
| 26 deps = [ | 27 deps = [ |
| 27 ":mojo_bindings", | 28 ":mojo_bindings", |
| 28 "//base", | 29 "//base", |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 | 92 |
| 92 android_library("java") { | 93 android_library("java") { |
| 93 java_files = java_sources_needing_jni | 94 java_files = java_sources_needing_jni |
| 94 deps = [ | 95 deps = [ |
| 95 "//base:base_java", | 96 "//base:base_java", |
| 96 "//third_party/android_protobuf:protobuf_nano_javalib", | 97 "//third_party/android_protobuf:protobuf_nano_javalib", |
| 97 "//third_party/gvr-android-sdk:gvr_common_java", | 98 "//third_party/gvr-android-sdk:gvr_common_java", |
| 98 ] | 99 ] |
| 99 } | 100 } |
| 100 } | 101 } |
| OLD | NEW |