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/android/rules.gni") | 5 import("//build/config/android/rules.gni") |
6 import("//chrome/common/features.gni") | 6 import("//chrome/common/features.gni") |
7 import("//device/vr/features/features.gni") | 7 import("//device/vr/features/features.gni") |
8 import("//testing/test.gni") | 8 import("//testing/test.gni") |
9 | 9 |
10 assert(enable_vr) | 10 assert(enable_vr) |
11 | 11 |
12 if (current_cpu == "arm" || current_cpu == "arm64") { | 12 if (current_cpu == "arm" || current_cpu == "arm64") { |
13 static_library("vr_common") { | 13 static_library("vr_common") { |
14 defines = [] | 14 defines = [] |
15 | 15 |
16 sources = [ | 16 sources = [ |
17 "android_ui_gesture_target.cc", | 17 "android_ui_gesture_target.cc", |
18 "android_ui_gesture_target.h", | 18 "android_ui_gesture_target.h", |
19 "animation.cc", | 19 "animation.cc", |
20 "animation.h", | 20 "animation.h", |
21 "easing.cc", | 21 "easing.cc", |
22 "easing.h", | 22 "easing.h", |
23 "elbow_model.cc", | 23 "elbow_model.cc", |
24 "elbow_model.h", | 24 "elbow_model.h", |
| 25 "font_fallback.cc", |
| 26 "font_fallback.h", |
25 "fps_meter.cc", | 27 "fps_meter.cc", |
26 "fps_meter.h", | 28 "fps_meter.h", |
27 "gltf_asset.cc", | 29 "gltf_asset.cc", |
28 "gltf_asset.h", | 30 "gltf_asset.h", |
29 "gltf_parser.cc", | 31 "gltf_parser.cc", |
30 "gltf_parser.h", | 32 "gltf_parser.h", |
31 "mailbox_to_surface_bridge.cc", | 33 "mailbox_to_surface_bridge.cc", |
32 "mailbox_to_surface_bridge.h", | 34 "mailbox_to_surface_bridge.h", |
33 "non_presenting_gvr_delegate.cc", | 35 "non_presenting_gvr_delegate.cc", |
34 "non_presenting_gvr_delegate.h", | 36 "non_presenting_gvr_delegate.h", |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 # See https://crbug.com/704305 for details. | 149 # See https://crbug.com/704305 for details. |
148 libs = [ "//third_party/gvr-android-sdk/libgvr_shim_static_${current_cpu}.a" ] | 150 libs = [ "//third_party/gvr-android-sdk/libgvr_shim_static_${current_cpu}.a" ] |
149 | 151 |
150 data = [ | 152 data = [ |
151 "test/data/sample_inline.gltf", | 153 "test/data/sample_inline.gltf", |
152 "test/data/sample_external.gltf", | 154 "test/data/sample_external.gltf", |
153 "test/data/sample.bin", | 155 "test/data/sample.bin", |
154 "test/data/sample.glb", | 156 "test/data/sample.glb", |
155 ] | 157 ] |
156 } | 158 } |
OLD | NEW |