| 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   75       "ui_elements/ui_element_debug_id.h", |   75       "ui_elements/ui_element_debug_id.h", | 
|   76       "ui_elements/url_bar.cc", |   76       "ui_elements/url_bar.cc", | 
|   77       "ui_elements/url_bar.h", |   77       "ui_elements/url_bar.h", | 
|   78       "ui_elements/video_capture_indicator.cc", |   78       "ui_elements/video_capture_indicator.cc", | 
|   79       "ui_elements/video_capture_indicator.h", |   79       "ui_elements/video_capture_indicator.h", | 
|   80       "ui_interface.h", |   80       "ui_interface.h", | 
|   81       "ui_scene.cc", |   81       "ui_scene.cc", | 
|   82       "ui_scene.h", |   82       "ui_scene.h", | 
|   83       "ui_scene_manager.cc", |   83       "ui_scene_manager.cc", | 
|   84       "ui_scene_manager.h", |   84       "ui_scene_manager.h", | 
 |   85       "ui_unsupported_mode.h", | 
|   85       "vr_browser_interface.h", |   86       "vr_browser_interface.h", | 
|   86       "vr_compositor.cc", |   87       "vr_compositor.cc", | 
|   87       "vr_compositor.h", |   88       "vr_compositor.h", | 
|   88       "vr_controller.cc", |   89       "vr_controller.cc", | 
|   89       "vr_controller.h", |   90       "vr_controller.h", | 
|   90       "vr_controller_model.cc", |   91       "vr_controller_model.cc", | 
|   91       "vr_controller_model.h", |   92       "vr_controller_model.h", | 
|   92       "vr_gl_thread.cc", |   93       "vr_gl_thread.cc", | 
|   93       "vr_gl_thread.h", |   94       "vr_gl_thread.h", | 
|   94       "vr_gl_util.cc", |   95       "vr_gl_util.cc", | 
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  153   } |  154   } | 
|  154 } |  155 } | 
|  155  |  156  | 
|  156 test("vr_shell_unittests") { |  157 test("vr_shell_unittests") { | 
|  157   sources = [ |  158   sources = [ | 
|  158     "fps_meter_unittest.cc", |  159     "fps_meter_unittest.cc", | 
|  159     "gltf_parser_unittest.cc", |  160     "gltf_parser_unittest.cc", | 
|  160     "test/paths.cc", |  161     "test/paths.cc", | 
|  161     "test/paths.h", |  162     "test/paths.h", | 
|  162     "textures/close_button_texture_unittest.cc", |  163     "textures/close_button_texture_unittest.cc", | 
 |  164     "textures/url_bar_texture_unittest.cc", | 
|  163     "ui_elements/ui_element_unittest.cc", |  165     "ui_elements/ui_element_unittest.cc", | 
|  164     "ui_scene_manager_unittest.cc", |  166     "ui_scene_manager_unittest.cc", | 
|  165     "ui_scene_unittest.cc", |  167     "ui_scene_unittest.cc", | 
|  166   ] |  168   ] | 
|  167  |  169  | 
|  168   deps = [ |  170   deps = [ | 
|  169     ":vr_common", |  171     ":vr_common", | 
|  170     "//base/test:run_all_unittests", |  172     "//base/test:run_all_unittests", | 
|  171     "//base/test:test_support", |  173     "//base/test:test_support", | 
|  172     "//chrome/browser", |  174     "//chrome/browser", | 
|  173     "//testing/gmock", |  175     "//testing/gmock", | 
|  174     "//testing/gtest", |  176     "//testing/gtest", | 
|  175     "//third_party/WebKit/public:blink", |  177     "//third_party/WebKit/public:blink", | 
|  176     "//ui/gfx/geometry", |  178     "//ui/gfx/geometry", | 
|  177   ] |  179   ] | 
|  178  |  180  | 
|  179   # Ensure libgvr static library appears before gcc library in linking order. |  181   # Ensure libgvr static library appears before gcc library in linking order. | 
|  180   # See https://crbug.com/704305 for details. |  182   # See https://crbug.com/704305 for details. | 
|  181   libs = [ "//third_party/gvr-android-sdk/libgvr_shim_static_${current_cpu}.a" ] |  183   libs = [ "//third_party/gvr-android-sdk/libgvr_shim_static_${current_cpu}.a" ] | 
|  182  |  184  | 
|  183   data = [ |  185   data = [ | 
|  184     "test/data/sample_inline.gltf", |  186     "test/data/sample_inline.gltf", | 
|  185     "test/data/sample_external.gltf", |  187     "test/data/sample_external.gltf", | 
|  186     "test/data/sample.bin", |  188     "test/data/sample.bin", | 
|  187     "test/data/sample.glb", |  189     "test/data/sample.glb", | 
|  188   ] |  190   ] | 
|  189 } |  191 } | 
| OLD | NEW |