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("//chrome/common/features.gni") | 5 import("//chrome/common/features.gni") |
6 import("//device/vr/features/features.gni") | 6 import("//device/vr/features/features.gni") |
7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
8 | 8 |
9 if (is_android) { | 9 if (is_android) { |
10 import("//build/config/android/rules.gni") | 10 import("//build/config/android/rules.gni") |
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
194 "//chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellImp l.java", | 194 "//chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellImp l.java", |
195 ] | 195 ] |
196 jni_package = "vr_shell" | 196 jni_package = "vr_shell" |
197 } | 197 } |
198 } | 198 } |
199 | 199 |
200 test("vr_common_unittests") { | 200 test("vr_common_unittests") { |
201 sources = [ | 201 sources = [ |
202 "fps_meter_unittest.cc", | 202 "fps_meter_unittest.cc", |
203 "gltf_parser_unittest.cc", | 203 "gltf_parser_unittest.cc", |
204 "run_all_unittests.cc", | |
204 "test/paths.cc", | 205 "test/paths.cc", |
205 "test/paths.h", | 206 "test/paths.h", |
206 "textures/close_button_texture_unittest.cc", | 207 "textures/close_button_texture_unittest.cc", |
207 "textures/url_bar_texture_unittest.cc", | 208 "textures/url_bar_texture_unittest.cc", |
208 "ui_elements/exit_prompt_unittest.cc", | 209 "ui_elements/exit_prompt_unittest.cc", |
209 "ui_elements/ui_element_unittest.cc", | 210 "ui_elements/ui_element_unittest.cc", |
210 "ui_scene_manager_unittest.cc", | 211 "ui_scene_manager_unittest.cc", |
211 "ui_scene_unittest.cc", | 212 "ui_scene_unittest.cc", |
212 ] | 213 ] |
213 | 214 |
214 deps = [ | 215 deps = [ |
215 ":vr_common", | 216 ":vr_common", |
216 "//base/test:run_all_unittests", | |
217 "//base/test:test_support", | 217 "//base/test:test_support", |
218 "//components:components_tests_pak", | |
218 "//components/security_state/core", | 219 "//components/security_state/core", |
219 "//skia", | 220 "//skia", |
220 "//testing/gmock", | 221 "//testing/gmock", |
221 "//testing/gtest", | 222 "//testing/gtest", |
222 "//ui/gfx:test_support", | 223 "//ui/gfx:test_support", |
223 "//ui/gfx/geometry", | 224 "//ui/gfx/geometry", |
224 "//ui/gl", | 225 "//ui/gl", |
225 ] | 226 ] |
226 | 227 |
228 if (is_android) { | |
sadrul
2017/06/16 16:47:48
This code is in chrome/browser/android/. If this b
cjgrant
2017/06/16 17:42:03
Indeed it should. We're soon to migrate this out
| |
229 deps += [ "//ui/android:ui_java" ] | |
230 } | |
231 | |
227 data = [ | 232 data = [ |
228 "test/data/sample_inline.gltf", | 233 "test/data/", |
229 "test/data/sample_external.gltf", | 234 "$root_out_dir/components_tests_resources.pak", |
230 "test/data/sample.bin", | |
231 "test/data/sample.glb", | |
232 ] | 235 ] |
233 } | 236 } |
OLD | NEW |