| 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) |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 "mailbox_to_surface_bridge.cc", | 111 "mailbox_to_surface_bridge.cc", |
| 112 "mailbox_to_surface_bridge.h", | 112 "mailbox_to_surface_bridge.h", |
| 113 "non_presenting_gvr_delegate.cc", | 113 "non_presenting_gvr_delegate.cc", |
| 114 "non_presenting_gvr_delegate.h", | 114 "non_presenting_gvr_delegate.h", |
| 115 "vr_compositor.cc", | 115 "vr_compositor.cc", |
| 116 "vr_compositor.h", | 116 "vr_compositor.h", |
| 117 "vr_controller.cc", | 117 "vr_controller.cc", |
| 118 "vr_controller.h", | 118 "vr_controller.h", |
| 119 "vr_controller_model.cc", | 119 "vr_controller_model.cc", |
| 120 "vr_controller_model.h", | 120 "vr_controller_model.h", |
| 121 "vr_core_info.cc", |
| 122 "vr_core_info.h", |
| 121 "vr_gl_thread.cc", | 123 "vr_gl_thread.cc", |
| 122 "vr_gl_thread.h", | 124 "vr_gl_thread.h", |
| 123 "vr_gl_util.cc", | 125 "vr_gl_util.cc", |
| 124 "vr_gl_util.h", | 126 "vr_gl_util.h", |
| 125 "vr_input_manager.cc", | 127 "vr_input_manager.cc", |
| 126 "vr_input_manager.h", | 128 "vr_input_manager.h", |
| 129 "vr_metrics_util.cc", |
| 130 "vr_metrics_util.h", |
| 127 "vr_shell.cc", | 131 "vr_shell.cc", |
| 128 "vr_shell.h", | 132 "vr_shell.h", |
| 129 "vr_shell_delegate.cc", | 133 "vr_shell_delegate.cc", |
| 130 "vr_shell_delegate.h", | 134 "vr_shell_delegate.h", |
| 131 "vr_shell_gl.cc", | 135 "vr_shell_gl.cc", |
| 132 "vr_shell_gl.h", | 136 "vr_shell_gl.h", |
| 133 "vr_shell_renderer.cc", | 137 "vr_shell_renderer.cc", |
| 134 "vr_shell_renderer.h", | 138 "vr_shell_renderer.h", |
| 135 "vr_usage_monitor.cc", | 139 "vr_usage_monitor.cc", |
| 136 "vr_usage_monitor.h", | 140 "vr_usage_monitor.h", |
| (...skipping 28 matching lines...) Expand all Loading... |
| 165 libs = [ | 169 libs = [ |
| 166 "//third_party/gvr-android-sdk/libgvr_shim_static_${current_cpu}.a", | 170 "//third_party/gvr-android-sdk/libgvr_shim_static_${current_cpu}.a", |
| 167 "android", | 171 "android", |
| 168 ] | 172 ] |
| 169 | 173 |
| 170 configs += [ "//third_party/gvr-android-sdk:libgvr_config" ] | 174 configs += [ "//third_party/gvr-android-sdk:libgvr_config" ] |
| 171 } | 175 } |
| 172 | 176 |
| 173 generate_jni("vr_shell_jni_headers") { | 177 generate_jni("vr_shell_jni_headers") { |
| 174 sources = [ | 178 sources = [ |
| 179 "//chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrCoreInfo
.java", |
| 175 "//chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDel
egate.java", | 180 "//chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDel
egate.java", |
| 176 "//chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellImp
l.java", | 181 "//chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellImp
l.java", |
| 177 ] | 182 ] |
| 178 jni_package = "vr_shell" | 183 jni_package = "vr_shell" |
| 179 } | 184 } |
| 180 } | 185 } |
| 181 | 186 |
| 182 test("vr_shell_unittests") { | 187 test("vr_shell_unittests") { |
| 183 sources = [ | 188 sources = [ |
| 184 "fps_meter_unittest.cc", | 189 "fps_meter_unittest.cc", |
| (...skipping 19 matching lines...) Expand all Loading... |
| 204 "//ui/gl", | 209 "//ui/gl", |
| 205 ] | 210 ] |
| 206 | 211 |
| 207 data = [ | 212 data = [ |
| 208 "test/data/sample_inline.gltf", | 213 "test/data/sample_inline.gltf", |
| 209 "test/data/sample_external.gltf", | 214 "test/data/sample_external.gltf", |
| 210 "test/data/sample.bin", | 215 "test/data/sample.bin", |
| 211 "test/data/sample.glb", | 216 "test/data/sample.glb", |
| 212 ] | 217 ] |
| 213 } | 218 } |
| OLD | NEW |