| 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", |
| 16 "vr_device.cc", | 17 "vr_device.cc", |
| 17 "vr_device.h", | 18 "vr_device.h", |
| 18 "vr_device_manager.cc", | 19 "vr_device_manager.cc", |
| 19 "vr_device_manager.h", | 20 "vr_device_manager.h", |
| 20 "vr_device_provider.h", | 21 "vr_device_provider.h", |
| 22 "vr_service_impl.cc", |
| 23 "vr_service_impl.h", |
| 21 ] | 24 ] |
| 22 | 25 |
| 23 deps = [ | 26 deps = [ |
| 24 ":mojo_bindings", | 27 ":mojo_bindings", |
| 25 "//base", | 28 "//base", |
| 26 "//mojo/public/cpp/bindings", | 29 "//mojo/public/cpp/bindings", |
| 27 "//ui/gfx", | 30 "//ui/gfx", |
| 28 ] | 31 ] |
| 29 | 32 |
| 30 defines = [ "DEVICE_VR_IMPLEMENTATION" ] | 33 defines = [ "DEVICE_VR_IMPLEMENTATION" ] |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 } | 83 } |
| 81 | 84 |
| 82 android_library("java") { | 85 android_library("java") { |
| 83 java_files = java_sources_needing_jni | 86 java_files = java_sources_needing_jni |
| 84 deps = [ | 87 deps = [ |
| 85 "//base:base_java", | 88 "//base:base_java", |
| 86 "//third_party/cardboard-java:cardboard-java", | 89 "//third_party/cardboard-java:cardboard-java", |
| 87 ] | 90 ] |
| 88 } | 91 } |
| 89 } | 92 } |
| OLD | NEW |