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("features.gni") | 5 import("features.gni") |
6 import("//build/buildflag_header.gni") | 6 import("//build/buildflag_header.gni") |
7 import("//mojo/public/tools/bindings/mojom.gni") | 7 import("//mojo/public/tools/bindings/mojom.gni") |
8 | 8 |
9 if (is_android) { | 9 if (is_android) { |
10 import("//build/config/android/rules.gni") # For generate_jni(). | 10 import("//build/config/android/rules.gni") # For generate_jni(). |
(...skipping 28 matching lines...) Expand all Loading... |
39 ] | 39 ] |
40 } else { | 40 } else { |
41 sources += [ | 41 sources += [ |
42 "vr_device.cc", | 42 "vr_device.cc", |
43 "vr_device.h", | 43 "vr_device.h", |
44 "vr_device_manager.cc", | 44 "vr_device_manager.cc", |
45 "vr_device_manager.h", | 45 "vr_device_manager.h", |
46 "vr_device_provider.h", | 46 "vr_device_provider.h", |
47 "vr_display_impl.cc", | 47 "vr_display_impl.cc", |
48 "vr_display_impl.h", | 48 "vr_display_impl.h", |
49 "vr_export.h", | |
50 "vr_math.cc", | 49 "vr_math.cc", |
51 "vr_math.h", | 50 "vr_math.h", |
52 "vr_service_impl.cc", | 51 "vr_service_impl.cc", |
53 "vr_service_impl.h", | 52 "vr_service_impl.h", |
54 "vr_types.h", | 53 "vr_types.h", |
55 ] | 54 ] |
56 | 55 |
57 deps += [ | 56 deps += [ |
58 "//base", | 57 "//base", |
59 "//gpu/ipc/common:interfaces", | 58 "//gpu/ipc/common:interfaces", |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 | 128 |
130 public_deps = [ | 129 public_deps = [ |
131 "//gpu/ipc/common:interfaces", | 130 "//gpu/ipc/common:interfaces", |
132 "//mojo/common:common_custom_types", | 131 "//mojo/common:common_custom_types", |
133 ] | 132 ] |
134 | 133 |
135 export_class_attribute = "DEVICE_VR_EXPORT" | 134 export_class_attribute = "DEVICE_VR_EXPORT" |
136 export_define = "DEVICE_VR_IMPLEMENTATION=1" | 135 export_define = "DEVICE_VR_IMPLEMENTATION=1" |
137 export_header = "device/vr/vr_export.h" | 136 export_header = "device/vr/vr_export.h" |
138 } | 137 } |
OLD | NEW |