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 28 matching lines...) Expand all Loading... |
39 "textures/close_button_texture.cc", | 39 "textures/close_button_texture.cc", |
40 "textures/close_button_texture.h", | 40 "textures/close_button_texture.h", |
41 "textures/exit_warning_texture.cc", | 41 "textures/exit_warning_texture.cc", |
42 "textures/exit_warning_texture.h", | 42 "textures/exit_warning_texture.h", |
43 "textures/insecure_content_permanent_texture.cc", | 43 "textures/insecure_content_permanent_texture.cc", |
44 "textures/insecure_content_permanent_texture.h", | 44 "textures/insecure_content_permanent_texture.h", |
45 "textures/insecure_content_transient_texture.cc", | 45 "textures/insecure_content_transient_texture.cc", |
46 "textures/insecure_content_transient_texture.h", | 46 "textures/insecure_content_transient_texture.h", |
47 "textures/loading_indicator_texture.cc", | 47 "textures/loading_indicator_texture.cc", |
48 "textures/loading_indicator_texture.h", | 48 "textures/loading_indicator_texture.h", |
| 49 "textures/render_text_wrapper.cc", |
| 50 "textures/render_text_wrapper.h", |
49 "textures/system_indicator_texture.cc", | 51 "textures/system_indicator_texture.cc", |
50 "textures/system_indicator_texture.h", | 52 "textures/system_indicator_texture.h", |
51 "textures/ui_texture.cc", | 53 "textures/ui_texture.cc", |
52 "textures/ui_texture.h", | 54 "textures/ui_texture.h", |
53 "textures/url_bar_texture.cc", | 55 "textures/url_bar_texture.cc", |
54 "textures/url_bar_texture.h", | 56 "textures/url_bar_texture.h", |
55 "ui_elements/audio_capture_indicator.cc", | 57 "ui_elements/audio_capture_indicator.cc", |
56 "ui_elements/audio_capture_indicator.h", | 58 "ui_elements/audio_capture_indicator.h", |
57 "ui_elements/button.cc", | 59 "ui_elements/button.cc", |
58 "ui_elements/button.h", | 60 "ui_elements/button.h", |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 } | 155 } |
154 } | 156 } |
155 | 157 |
156 test("vr_shell_unittests") { | 158 test("vr_shell_unittests") { |
157 sources = [ | 159 sources = [ |
158 "fps_meter_unittest.cc", | 160 "fps_meter_unittest.cc", |
159 "gltf_parser_unittest.cc", | 161 "gltf_parser_unittest.cc", |
160 "test/paths.cc", | 162 "test/paths.cc", |
161 "test/paths.h", | 163 "test/paths.h", |
162 "textures/close_button_texture_unittest.cc", | 164 "textures/close_button_texture_unittest.cc", |
| 165 "textures/url_bar_texture_unittest.cc", |
163 "ui_elements/ui_element_unittest.cc", | 166 "ui_elements/ui_element_unittest.cc", |
164 "ui_scene_manager_unittest.cc", | 167 "ui_scene_manager_unittest.cc", |
165 "ui_scene_unittest.cc", | 168 "ui_scene_unittest.cc", |
166 ] | 169 ] |
167 | 170 |
168 deps = [ | 171 deps = [ |
169 ":vr_common", | 172 ":vr_common", |
170 "//base/test:run_all_unittests", | 173 "//base/test:run_all_unittests", |
171 "//base/test:test_support", | 174 "//base/test:test_support", |
172 "//chrome/browser", | 175 "//chrome/browser", |
| 176 "//components/url_formatter", |
173 "//testing/gmock", | 177 "//testing/gmock", |
174 "//testing/gtest", | 178 "//testing/gtest", |
175 "//third_party/WebKit/public:blink", | 179 "//third_party/WebKit/public:blink", |
176 "//ui/gfx/geometry", | 180 "//ui/gfx/geometry", |
177 ] | 181 ] |
178 | 182 |
179 # Ensure libgvr static library appears before gcc library in linking order. | 183 # Ensure libgvr static library appears before gcc library in linking order. |
180 # See https://crbug.com/704305 for details. | 184 # See https://crbug.com/704305 for details. |
181 libs = [ "//third_party/gvr-android-sdk/libgvr_shim_static_${current_cpu}.a" ] | 185 libs = [ "//third_party/gvr-android-sdk/libgvr_shim_static_${current_cpu}.a" ] |
182 | 186 |
183 data = [ | 187 data = [ |
184 "test/data/sample_inline.gltf", | 188 "test/data/sample_inline.gltf", |
185 "test/data/sample_external.gltf", | 189 "test/data/sample_external.gltf", |
186 "test/data/sample.bin", | 190 "test/data/sample.bin", |
187 "test/data/sample.glb", | 191 "test/data/sample.glb", |
188 ] | 192 ] |
189 } | 193 } |
OLD | NEW |