| 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.gni") | 7 import("//device/vr/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", |
| 24 "elbow_model.h", |
| 23 "fps_meter.cc", | 25 "fps_meter.cc", |
| 24 "fps_meter.h", | 26 "fps_meter.h", |
| 25 "gltf_asset.cc", | 27 "gltf_asset.cc", |
| 26 "gltf_asset.h", | 28 "gltf_asset.h", |
| 27 "gltf_parser.cc", | 29 "gltf_parser.cc", |
| 28 "gltf_parser.h", | 30 "gltf_parser.h", |
| 29 "mailbox_to_surface_bridge.cc", | 31 "mailbox_to_surface_bridge.cc", |
| 30 "mailbox_to_surface_bridge.h", | 32 "mailbox_to_surface_bridge.h", |
| 31 "non_presenting_gvr_delegate.cc", | 33 "non_presenting_gvr_delegate.cc", |
| 32 "non_presenting_gvr_delegate.h", | 34 "non_presenting_gvr_delegate.h", |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 libs = | 137 libs = |
| 136 [ "//third_party/gvr-android-sdk/libgvr_shim_static_${current_cpu}.a" ] | 138 [ "//third_party/gvr-android-sdk/libgvr_shim_static_${current_cpu}.a" ] |
| 137 | 139 |
| 138 data = [ | 140 data = [ |
| 139 "test/data/sample_inline.gltf", | 141 "test/data/sample_inline.gltf", |
| 140 "test/data/sample_external.gltf", | 142 "test/data/sample_external.gltf", |
| 141 "test/data/sample.bin", | 143 "test/data/sample.bin", |
| 142 ] | 144 ] |
| 143 } | 145 } |
| 144 } | 146 } |
| OLD | NEW |