Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(252)

Side by Side Diff: chrome/browser/android/vr_shell/BUILD.gn

Issue 2833773005: Pause drawing webvr when the App button is pressed (Closed)
Patch Set: refactor Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 "ui_elements/transient_security_warning.cc", 45 "ui_elements/transient_security_warning.cc",
46 "ui_elements/transient_security_warning.h", 46 "ui_elements/transient_security_warning.h",
47 "ui_elements/ui_element.cc", 47 "ui_elements/ui_element.cc",
48 "ui_elements/ui_element.h", 48 "ui_elements/ui_element.h",
49 "ui_interface.cc", 49 "ui_interface.cc",
50 "ui_interface.h", 50 "ui_interface.h",
51 "ui_scene.cc", 51 "ui_scene.cc",
52 "ui_scene.h", 52 "ui_scene.h",
53 "ui_scene_manager.cc", 53 "ui_scene_manager.cc",
54 "ui_scene_manager.h", 54 "ui_scene_manager.h",
55 "vr_browser_interface.h",
55 "vr_compositor.cc", 56 "vr_compositor.cc",
56 "vr_compositor.h", 57 "vr_compositor.h",
57 "vr_controller.cc", 58 "vr_controller.cc",
58 "vr_controller.h", 59 "vr_controller.h",
59 "vr_controller_model.cc", 60 "vr_controller_model.cc",
60 "vr_controller_model.h", 61 "vr_controller_model.h",
61 "vr_gesture.h", 62 "vr_gesture.h",
62 "vr_gl_thread.cc", 63 "vr_gl_thread.cc",
63 "vr_gl_thread.h", 64 "vr_gl_thread.h",
64 "vr_gl_util.cc", 65 "vr_gl_util.cc",
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 } 119 }
119 120
120 if (enable_vr) { 121 if (enable_vr) {
121 test("vr_shell_unittests") { 122 test("vr_shell_unittests") {
122 sources = [ 123 sources = [
123 "fps_meter_unittest.cc", 124 "fps_meter_unittest.cc",
124 "gltf_parser_unittest.cc", 125 "gltf_parser_unittest.cc",
125 "test/paths.cc", 126 "test/paths.cc",
126 "test/paths.h", 127 "test/paths.h",
127 "ui_elements/ui_element_unittest.cc", 128 "ui_elements/ui_element_unittest.cc",
129 "ui_scene_manager_unittest.cc",
128 "ui_scene_unittest.cc", 130 "ui_scene_unittest.cc",
129 ] 131 ]
130 132
131 deps = [ 133 deps = [
132 ":vr_common", 134 ":vr_common",
133 "//base/test:run_all_unittests", 135 "//base/test:run_all_unittests",
134 "//base/test:test_support", 136 "//base/test:test_support",
135 "//chrome/browser", 137 "//chrome/browser",
138 "//testing/gmock",
136 "//testing/gtest", 139 "//testing/gtest",
137 "//third_party/WebKit/public:blink", 140 "//third_party/WebKit/public:blink",
138 "//ui/gfx/geometry", 141 "//ui/gfx/geometry",
139 ] 142 ]
140 143
141 # Ensure libgvr static library appears before gcc library in linking order. 144 # Ensure libgvr static library appears before gcc library in linking order.
142 # See https://crbug.com/704305 for details. 145 # See https://crbug.com/704305 for details.
143 libs = 146 libs =
144 [ "//third_party/gvr-android-sdk/libgvr_shim_static_${current_cpu}.a" ] 147 [ "//third_party/gvr-android-sdk/libgvr_shim_static_${current_cpu}.a" ]
145 148
146 data = [ 149 data = [
147 "test/data/sample_inline.gltf", 150 "test/data/sample_inline.gltf",
148 "test/data/sample_external.gltf", 151 "test/data/sample_external.gltf",
149 "test/data/sample.bin", 152 "test/data/sample.bin",
150 ] 153 ]
151 } 154 }
152 } 155 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/android/vr_shell/ui_interface.h » ('j') | chrome/browser/android/vr_shell/ui_scene_manager.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698