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

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: Add unittest + cleanup 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 "vr_input_manager.cc", 66 "vr_input_manager.cc",
67 "vr_input_manager.h", 67 "vr_input_manager.h",
68 "vr_shell.cc", 68 "vr_shell.cc",
69 "vr_shell.h", 69 "vr_shell.h",
70 "vr_shell_delegate.cc", 70 "vr_shell_delegate.cc",
71 "vr_shell_delegate.h", 71 "vr_shell_delegate.h",
72 "vr_shell_gl.cc", 72 "vr_shell_gl.cc",
73 "vr_shell_gl.h", 73 "vr_shell_gl.h",
74 "vr_shell_renderer.cc", 74 "vr_shell_renderer.cc",
75 "vr_shell_renderer.h", 75 "vr_shell_renderer.h",
76 "vr_thread_envoy.h",
76 "vr_usage_monitor.cc", 77 "vr_usage_monitor.cc",
77 "vr_usage_monitor.h", 78 "vr_usage_monitor.h",
78 "vr_web_contents_observer.cc", 79 "vr_web_contents_observer.cc",
79 "vr_web_contents_observer.h", 80 "vr_web_contents_observer.h",
80 ] 81 ]
81 82
82 deps = [ 83 deps = [
83 ":vr_shell_jni_headers", 84 ":vr_shell_jni_headers",
84 "//base", 85 "//base",
85 "//cc", 86 "//cc",
(...skipping 32 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.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698