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

Unified Diff: device/BUILD.gn

Issue 2219203002: Migrate WebVR Cardboard implementation to GVR (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gvr_third_party
Patch Set: Disabling WebVR on non-component builds 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 side-by-side diff with in-line comments
Download patch
Index: device/BUILD.gn
diff --git a/device/BUILD.gn b/device/BUILD.gn
index 6330dacbb1e74f5c1536524e75912c2bdda02a83..d5c211d8293eee8f48367a90425c59a4b60ef8e1 100644
--- a/device/BUILD.gn
+++ b/device/BUILD.gn
@@ -63,8 +63,6 @@ test("device_unittests") {
"nfc/nfc_chromeos_unittest.cc",
"nfc/nfc_ndef_record_unittest.cc",
"test/run_all_unittests.cc",
- "vr/vr_device_manager_unittest.cc",
- "vr/vr_service_impl_unittest.cc",
]
deps = [
@@ -78,9 +76,6 @@ test("device_unittests") {
"//device/geolocation:unittests",
"//device/nfc",
"//device/power_save_blocker",
- "//device/vr",
- "//device/vr:fakes",
- "//device/vr:mojo_bindings",
"//mojo/common",
"//mojo/edk/system",
"//mojo/public/cpp/bindings",
@@ -225,6 +220,19 @@ test("device_unittests") {
"bluetooth/bluetooth_low_energy_win_fake.h",
]
}
+
+ if (enable_webvr) {
+ sources += [
+ "vr/vr_device_manager_unittest.cc",
+ "vr/vr_service_impl_unittest.cc",
+ ]
+
+ deps += [
+ "//device/vr",
+ "//device/vr:fakes",
+ "//device/vr:mojo_bindings",
+ ]
+ }
}
if (is_android) {

Powered by Google App Engine
This is Rietveld 408576698