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("//testing/test.gni") | 7 import("//testing/test.gni") |
8 | 8 |
9 assert(enable_vr_shell && android_java_ui) | 9 assert((enable_vr_shell || enable_webvr) && android_java_ui) |
10 | 10 |
11 static_library("vr_shell") { | 11 static_library("vr_shell") { |
12 sources = [ | 12 sources = [ |
13 "animation.cc", | 13 "animation.cc", |
14 "animation.h", | 14 "animation.h", |
15 "easing.cc", | 15 "easing.cc", |
16 "easing.h", | 16 "easing.h", |
17 "ui_elements.cc", | 17 "ui_elements.cc", |
18 "ui_elements.h", | 18 "ui_elements.h", |
19 "ui_scene.cc", | 19 "ui_scene.cc", |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 ] | 69 ] |
70 | 70 |
71 deps = [ | 71 deps = [ |
72 ":vr_shell", | 72 ":vr_shell", |
73 "//base/test:run_all_unittests", | 73 "//base/test:run_all_unittests", |
74 "//base/test:test_support", | 74 "//base/test:test_support", |
75 "//testing/gtest", | 75 "//testing/gtest", |
76 "//ui/gfx/geometry", | 76 "//ui/gfx/geometry", |
77 ] | 77 ] |
78 } | 78 } |
OLD | NEW |