| 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 "color_scheme.cc", |
| 22 "color_scheme.h", |
| 21 "easing.cc", | 23 "easing.cc", |
| 22 "easing.h", | 24 "easing.h", |
| 23 "elbow_model.cc", | 25 "elbow_model.cc", |
| 24 "elbow_model.h", | 26 "elbow_model.h", |
| 25 "font_fallback.cc", | 27 "font_fallback.cc", |
| 26 "font_fallback.h", | 28 "font_fallback.h", |
| 27 "fps_meter.cc", | 29 "fps_meter.cc", |
| 28 "fps_meter.h", | 30 "fps_meter.h", |
| 29 "gltf_asset.cc", | 31 "gltf_asset.cc", |
| 30 "gltf_asset.h", | 32 "gltf_asset.h", |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 # See https://crbug.com/704305 for details. | 182 # See https://crbug.com/704305 for details. |
| 181 libs = [ "//third_party/gvr-android-sdk/libgvr_shim_static_${current_cpu}.a" ] | 183 libs = [ "//third_party/gvr-android-sdk/libgvr_shim_static_${current_cpu}.a" ] |
| 182 | 184 |
| 183 data = [ | 185 data = [ |
| 184 "test/data/sample_inline.gltf", | 186 "test/data/sample_inline.gltf", |
| 185 "test/data/sample_external.gltf", | 187 "test/data/sample_external.gltf", |
| 186 "test/data/sample.bin", | 188 "test/data/sample.bin", |
| 187 "test/data/sample.glb", | 189 "test/data/sample.glb", |
| 188 ] | 190 ] |
| 189 } | 191 } |
| OLD | NEW |