Fix missing ozone demo in CrOS build
The ozone demo build file is currently removed from Chrome OS & chromecast
builds, but we want to have it in all builds that set use_ozone=true.
Review URL: https://codereview.chromium.org/1864583004
Cr-Commit-Position: refs/heads/master@{#385462}
diff --git a/BUILD.gn b/BUILD.gn
index aa706be..5384e51 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -711,15 +711,15 @@
"//third_party/libjpeg_turbo:simd_asm",
]
}
- if (use_ozone) {
- deps += [ "//ui/ozone/demo" ]
- }
-
if (is_linux && current_toolchain == host_toolchain) {
deps += [ "//v8:d8" ]
}
}
+ if (use_ozone) {
+ deps += [ "//ui/ozone/demo" ]
+ }
+
if (enable_nacl) {
deps += [ "//native_client_sdk/src:nacl_core_sdk" ]
}