| 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 "ui_elements/transient_security_warning.cc", | 45 "ui_elements/transient_security_warning.cc", |
| 46 "ui_elements/transient_security_warning.h", | 46 "ui_elements/transient_security_warning.h", |
| 47 "ui_elements/ui_element.cc", | 47 "ui_elements/ui_element.cc", |
| 48 "ui_elements/ui_element.h", | 48 "ui_elements/ui_element.h", |
| 49 "ui_interface.cc", | 49 "ui_interface.cc", |
| 50 "ui_interface.h", | 50 "ui_interface.h", |
| 51 "ui_scene.cc", | 51 "ui_scene.cc", |
| 52 "ui_scene.h", | 52 "ui_scene.h", |
| 53 "ui_scene_manager.cc", | 53 "ui_scene_manager.cc", |
| 54 "ui_scene_manager.h", | 54 "ui_scene_manager.h", |
| 55 "vr_browser_interface.h", |
| 55 "vr_compositor.cc", | 56 "vr_compositor.cc", |
| 56 "vr_compositor.h", | 57 "vr_compositor.h", |
| 57 "vr_controller.cc", | 58 "vr_controller.cc", |
| 58 "vr_controller.h", | 59 "vr_controller.h", |
| 59 "vr_controller_model.cc", | 60 "vr_controller_model.cc", |
| 60 "vr_controller_model.h", | 61 "vr_controller_model.h", |
| 61 "vr_gl_thread.cc", | 62 "vr_gl_thread.cc", |
| 62 "vr_gl_thread.h", | 63 "vr_gl_thread.h", |
| 63 "vr_gl_util.cc", | 64 "vr_gl_util.cc", |
| 64 "vr_gl_util.h", | 65 "vr_gl_util.h", |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 } | 118 } |
| 118 | 119 |
| 119 if (enable_vr) { | 120 if (enable_vr) { |
| 120 test("vr_shell_unittests") { | 121 test("vr_shell_unittests") { |
| 121 sources = [ | 122 sources = [ |
| 122 "fps_meter_unittest.cc", | 123 "fps_meter_unittest.cc", |
| 123 "gltf_parser_unittest.cc", | 124 "gltf_parser_unittest.cc", |
| 124 "test/paths.cc", | 125 "test/paths.cc", |
| 125 "test/paths.h", | 126 "test/paths.h", |
| 126 "ui_elements/ui_element_unittest.cc", | 127 "ui_elements/ui_element_unittest.cc", |
| 128 "ui_scene_manager_unittest.cc", |
| 127 "ui_scene_unittest.cc", | 129 "ui_scene_unittest.cc", |
| 128 ] | 130 ] |
| 129 | 131 |
| 130 deps = [ | 132 deps = [ |
| 131 ":vr_common", | 133 ":vr_common", |
| 132 "//base/test:run_all_unittests", | 134 "//base/test:run_all_unittests", |
| 133 "//base/test:test_support", | 135 "//base/test:test_support", |
| 134 "//chrome/browser", | 136 "//chrome/browser", |
| 137 "//testing/gmock", |
| 135 "//testing/gtest", | 138 "//testing/gtest", |
| 136 "//third_party/WebKit/public:blink", | 139 "//third_party/WebKit/public:blink", |
| 137 "//ui/gfx/geometry", | 140 "//ui/gfx/geometry", |
| 138 ] | 141 ] |
| 139 | 142 |
| 140 # Ensure libgvr static library appears before gcc library in linking order. | 143 # Ensure libgvr static library appears before gcc library in linking order. |
| 141 # See https://crbug.com/704305 for details. | 144 # See https://crbug.com/704305 for details. |
| 142 libs = | 145 libs = |
| 143 [ "//third_party/gvr-android-sdk/libgvr_shim_static_${current_cpu}.a" ] | 146 [ "//third_party/gvr-android-sdk/libgvr_shim_static_${current_cpu}.a" ] |
| 144 | 147 |
| 145 data = [ | 148 data = [ |
| 146 "test/data/sample_inline.gltf", | 149 "test/data/sample_inline.gltf", |
| 147 "test/data/sample_external.gltf", | 150 "test/data/sample_external.gltf", |
| 148 "test/data/sample.bin", | 151 "test/data/sample.bin", |
| 149 "test/data/sample.glb", | 152 "test/data/sample.glb", |
| 150 ] | 153 ] |
| 151 } | 154 } |
| 152 } | 155 } |
| OLD | NEW |