| 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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 } | 153 } |
| 154 } | 154 } |
| 155 | 155 |
| 156 test("vr_shell_unittests") { | 156 test("vr_shell_unittests") { |
| 157 sources = [ | 157 sources = [ |
| 158 "fps_meter_unittest.cc", | 158 "fps_meter_unittest.cc", |
| 159 "gltf_parser_unittest.cc", | 159 "gltf_parser_unittest.cc", |
| 160 "test/paths.cc", | 160 "test/paths.cc", |
| 161 "test/paths.h", | 161 "test/paths.h", |
| 162 "textures/close_button_texture_unittest.cc", | 162 "textures/close_button_texture_unittest.cc", |
| 163 "textures/url_bar_texture_unittest.cc", |
| 163 "ui_elements/ui_element_unittest.cc", | 164 "ui_elements/ui_element_unittest.cc", |
| 164 "ui_scene_manager_unittest.cc", | 165 "ui_scene_manager_unittest.cc", |
| 165 "ui_scene_unittest.cc", | 166 "ui_scene_unittest.cc", |
| 166 ] | 167 ] |
| 167 | 168 |
| 168 deps = [ | 169 deps = [ |
| 169 ":vr_common", | 170 ":vr_common", |
| 170 "//base/test:run_all_unittests", | 171 "//base/test:run_all_unittests", |
| 171 "//base/test:test_support", | 172 "//base/test:test_support", |
| 172 "//chrome/browser", | 173 "//chrome/browser", |
| 173 "//testing/gmock", | 174 "//testing/gmock", |
| 174 "//testing/gtest", | 175 "//testing/gtest", |
| 175 "//third_party/WebKit/public:blink", | 176 "//third_party/WebKit/public:blink", |
| 176 "//ui/gfx/geometry", | 177 "//ui/gfx/geometry", |
| 177 ] | 178 ] |
| 178 | 179 |
| 179 # Ensure libgvr static library appears before gcc library in linking order. | 180 # Ensure libgvr static library appears before gcc library in linking order. |
| 180 # See https://crbug.com/704305 for details. | 181 # See https://crbug.com/704305 for details. |
| 181 libs = [ "//third_party/gvr-android-sdk/libgvr_shim_static_${current_cpu}.a" ] | 182 libs = [ "//third_party/gvr-android-sdk/libgvr_shim_static_${current_cpu}.a" ] |
| 182 | 183 |
| 183 data = [ | 184 data = [ |
| 184 "test/data/sample_inline.gltf", | 185 "test/data/sample_inline.gltf", |
| 185 "test/data/sample_external.gltf", | 186 "test/data/sample_external.gltf", |
| 186 "test/data/sample.bin", | 187 "test/data/sample.bin", |
| 187 "test/data/sample.glb", | 188 "test/data/sample.glb", |
| 188 ] | 189 ] |
| 189 } | 190 } |
| OLD | NEW |