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_webvr) | 9 assert(enable_webvr) |
10 | 10 |
11 if (current_cpu == "arm" || current_cpu == "arm64") { | 11 if (current_cpu == "arm" || current_cpu == "arm64") { |
12 static_library("vr_common") { | 12 static_library("vr_common") { |
13 defines = [] | 13 defines = [] |
14 | 14 |
15 sources = [ | 15 sources = [ |
16 "android_ui_gesture_target.cc", | 16 "android_ui_gesture_target.cc", |
17 "android_ui_gesture_target.h", | 17 "android_ui_gesture_target.h", |
18 "animation.cc", | 18 "animation.cc", |
19 "animation.h", | 19 "animation.h", |
20 "easing.cc", | 20 "easing.cc", |
21 "easing.h", | 21 "easing.h", |
22 "mailbox_to_surface_bridge.cc", | |
23 "mailbox_to_surface_bridge.h", | |
24 "non_presenting_gvr_delegate.cc", | 22 "non_presenting_gvr_delegate.cc", |
25 "non_presenting_gvr_delegate.h", | 23 "non_presenting_gvr_delegate.h", |
26 "ui_elements.cc", | 24 "ui_elements.cc", |
27 "ui_elements.h", | 25 "ui_elements.h", |
28 "ui_interface.cc", | 26 "ui_interface.cc", |
29 "ui_interface.h", | 27 "ui_interface.h", |
30 "ui_scene.cc", | 28 "ui_scene.cc", |
31 "ui_scene.h", | 29 "ui_scene.h", |
32 "vr_compositor.cc", | 30 "vr_compositor.cc", |
33 "vr_compositor.h", | 31 "vr_compositor.h", |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 "//base", | 65 "//base", |
68 "//cc", | 66 "//cc", |
69 "//components/omnibox/browser", | 67 "//components/omnibox/browser", |
70 "//components/rappor", | 68 "//components/rappor", |
71 "//components/security_state/core", | 69 "//components/security_state/core", |
72 "//content/public/android:jni", | 70 "//content/public/android:jni", |
73 "//content/public/browser", | 71 "//content/public/browser", |
74 "//content/public/common", | 72 "//content/public/common", |
75 "//device/gamepad", | 73 "//device/gamepad", |
76 "//device/vr", | 74 "//device/vr", |
77 "//services/ui/public/cpp/gpu", | |
78 "//ui/android", | 75 "//ui/android", |
79 "//ui/base", | 76 "//ui/base", |
80 "//ui/display", | 77 "//ui/display", |
81 "//ui/gl", | 78 "//ui/gl", |
82 "//ui/gl/init", | 79 "//ui/gl/init", |
83 ] | 80 ] |
84 | 81 |
85 libs = [ | 82 libs = [ |
86 "//third_party/gvr-android-sdk/libgvr_shim_static_${current_cpu}.a", | 83 "//third_party/gvr-android-sdk/libgvr_shim_static_${current_cpu}.a", |
87 "android", | 84 "android", |
(...skipping 21 matching lines...) Expand all Loading... |
109 ":vr_common", | 106 ":vr_common", |
110 "//base/test:run_all_unittests", | 107 "//base/test:run_all_unittests", |
111 "//base/test:test_support", | 108 "//base/test:test_support", |
112 "//chrome/browser", | 109 "//chrome/browser", |
113 "//testing/gtest", | 110 "//testing/gtest", |
114 "//third_party/WebKit/public:blink", | 111 "//third_party/WebKit/public:blink", |
115 "//ui/gfx/geometry", | 112 "//ui/gfx/geometry", |
116 ] | 113 ] |
117 } | 114 } |
118 } | 115 } |
OLD | NEW |