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