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

Unified Diff: ui/gfx/BUILD.gn

Issue 2818553002: Rendering Insecure WebVR Warnings into a texture with Skia. (Closed)
Patch Set: Addressing suggestions Created 3 years, 8 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: ui/gfx/BUILD.gn
diff --git a/ui/gfx/BUILD.gn b/ui/gfx/BUILD.gn
index 6c38dea81c853ad487cbb210e131cbe41668d6cf..595f3d021985175a377bea39585c8da36d26d8a8 100644
--- a/ui/gfx/BUILD.gn
+++ b/ui/gfx/BUILD.gn
@@ -3,6 +3,7 @@
# found in the LICENSE file.
import("//build/config/ui.gni")
+import("//device/vr/features.gni")
import("//testing/test.gni")
import("//testing/libfuzzer/fuzzer_test.gni")
@@ -330,8 +331,8 @@ component("gfx") {
sources -= [ "canvas_notimplemented.cc" ]
}
- # Desktop only.
- if (use_aura || (!is_ios && !is_android)) {
+ # Desktop and Android+VR only.
+ if (use_aura || (!is_ios && !is_android) || (is_android && enable_vr)) {
sources += [
"paint_vector_icon.cc",
"paint_vector_icon.h",

Powered by Google App Engine
This is Rietveld 408576698