| 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", |
| 19 "vr_device_manager.cc", | 18 "vr_device_manager.cc", |
| 20 "vr_device_manager.h", | 19 "vr_device_manager.h", |
| 21 "vr_device_provider.h", | 20 "vr_device_provider.h", |
| 21 "vr_display_impl.cc", |
| 22 "vr_display_impl.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", |
| 29 "//mojo/public/cpp/bindings", | 30 "//mojo/public/cpp/bindings", |
| 30 "//ui/gfx", | 31 "//ui/gfx", |
| 31 ] | 32 ] |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 ] | 72 ] |
| 72 } | 73 } |
| 73 | 74 |
| 74 mojom("mojo_bindings") { | 75 mojom("mojo_bindings") { |
| 75 sources = [ | 76 sources = [ |
| 76 "vr_service.mojom", | 77 "vr_service.mojom", |
| 77 ] | 78 ] |
| 78 | 79 |
| 79 use_new_wrapper_types = false | 80 use_new_wrapper_types = false |
| 80 } | 81 } |
| OLD | NEW |