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

Side by Side Diff: device/BUILD.gn

Issue 2258513003: Revert of Migrate WebVR Cardboard implementation to GVR (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gvr_third_party
Patch Set: Created 4 years, 4 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
« no previous file with comments | « content/public/android/BUILD.gn ('k') | device/vr/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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/features.gni") 5 import("//build/config/features.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 if (is_android) { 8 if (is_android) {
9 import("//build/config/android/rules.gni") # For generate_jni(). 9 import("//build/config/android/rules.gni") # For generate_jni().
10 } 10 }
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 "bluetooth/test/mock_bluetooth_central_manager_mac.h", 56 "bluetooth/test/mock_bluetooth_central_manager_mac.h",
57 "bluetooth/test/mock_bluetooth_central_manager_mac.mm", 57 "bluetooth/test/mock_bluetooth_central_manager_mac.mm",
58 "bluetooth/test/test_bluetooth_adapter_observer.cc", 58 "bluetooth/test/test_bluetooth_adapter_observer.cc",
59 "bluetooth/test/test_bluetooth_adapter_observer.h", 59 "bluetooth/test/test_bluetooth_adapter_observer.h",
60 "bluetooth/test/test_bluetooth_local_gatt_service_delegate.cc", 60 "bluetooth/test/test_bluetooth_local_gatt_service_delegate.cc",
61 "bluetooth/test/test_bluetooth_local_gatt_service_delegate.h", 61 "bluetooth/test/test_bluetooth_local_gatt_service_delegate.h",
62 "gamepad/gamepad_provider_unittest.cc", 62 "gamepad/gamepad_provider_unittest.cc",
63 "nfc/nfc_chromeos_unittest.cc", 63 "nfc/nfc_chromeos_unittest.cc",
64 "nfc/nfc_ndef_record_unittest.cc", 64 "nfc/nfc_ndef_record_unittest.cc",
65 "test/run_all_unittests.cc", 65 "test/run_all_unittests.cc",
66 "vr/vr_device_manager_unittest.cc",
67 "vr/vr_service_impl_unittest.cc",
66 ] 68 ]
67 69
68 deps = [ 70 deps = [
69 "//base/test:test_support", 71 "//base/test:test_support",
70 "//device/battery", 72 "//device/battery",
71 "//device/battery:mojo_bindings", 73 "//device/battery:mojo_bindings",
72 "//device/bluetooth", 74 "//device/bluetooth",
73 "//device/bluetooth:mocks", 75 "//device/bluetooth:mocks",
74 "//device/gamepad", 76 "//device/gamepad",
75 "//device/gamepad:test_helpers", 77 "//device/gamepad:test_helpers",
76 "//device/geolocation:unittests", 78 "//device/geolocation:unittests",
77 "//device/nfc", 79 "//device/nfc",
78 "//device/power_save_blocker", 80 "//device/power_save_blocker",
81 "//device/vr",
82 "//device/vr:fakes",
83 "//device/vr:mojo_bindings",
79 "//mojo/common", 84 "//mojo/common",
80 "//mojo/edk/system", 85 "//mojo/edk/system",
81 "//mojo/public/cpp/bindings", 86 "//mojo/public/cpp/bindings",
82 "//net", 87 "//net",
83 "//testing/gmock", 88 "//testing/gmock",
84 "//testing/gtest", 89 "//testing/gtest",
85 "//tools/usb_gadget", 90 "//tools/usb_gadget",
86 "//url", 91 "//url",
87 ] 92 ]
88 93
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 } 218 }
214 219
215 if (is_win) { 220 if (is_win) {
216 sources += [ 221 sources += [
217 "bluetooth/bluetooth_classic_win_fake.cc", 222 "bluetooth/bluetooth_classic_win_fake.cc",
218 "bluetooth/bluetooth_classic_win_fake.h", 223 "bluetooth/bluetooth_classic_win_fake.h",
219 "bluetooth/bluetooth_low_energy_win_fake.cc", 224 "bluetooth/bluetooth_low_energy_win_fake.cc",
220 "bluetooth/bluetooth_low_energy_win_fake.h", 225 "bluetooth/bluetooth_low_energy_win_fake.h",
221 ] 226 ]
222 } 227 }
223
224 if (enable_webvr) {
225 sources += [
226 "vr/vr_device_manager_unittest.cc",
227 "vr/vr_service_impl_unittest.cc",
228 ]
229
230 deps += [
231 "//device/vr",
232 "//device/vr:fakes",
233 "//device/vr:mojo_bindings",
234 ]
235 }
236 } 228 }
237 229
238 if (is_android) { 230 if (is_android) {
239 bluetooth_java_sources_needing_jni = [ "bluetooth/test/android/java/src/org/ch romium/device/bluetooth/Fakes.java" ] 231 bluetooth_java_sources_needing_jni = [ "bluetooth/test/android/java/src/org/ch romium/device/bluetooth/Fakes.java" ]
240 232
241 generate_jni("bluetooth_test_jni_headers") { 233 generate_jni("bluetooth_test_jni_headers") {
242 sources = bluetooth_java_sources_needing_jni 234 sources = bluetooth_java_sources_needing_jni
243 jni_package = "bluetooth" 235 jni_package = "bluetooth"
244 } 236 }
245 237
(...skipping 10 matching lines...) Expand all
256 java_files = [ "gamepad/android/junit/src/org/chromium/device/gamepad/Gamepa dMappingsTest.java" ] 248 java_files = [ "gamepad/android/junit/src/org/chromium/device/gamepad/Gamepa dMappingsTest.java" ]
257 deps = [ 249 deps = [
258 "//base:base_java", 250 "//base:base_java",
259 "//base:base_java_test_support", 251 "//base:base_java_test_support",
260 "//device/gamepad:java", 252 "//device/gamepad:java",
261 "//third_party/android_tools:android_support_annotations_java", 253 "//third_party/android_tools:android_support_annotations_java",
262 ] 254 ]
263 srcjar_deps = [ "//device/gamepad:java_enums_srcjar" ] 255 srcjar_deps = [ "//device/gamepad:java_enums_srcjar" ]
264 } 256 }
265 } 257 }
OLDNEW
« no previous file with comments | « content/public/android/BUILD.gn ('k') | device/vr/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698