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

Unified Diff: ui/gfx/BUILD.gn

Issue 2817663003: Rendering text on insecure-site warnings for WebVR (Closed)
Patch Set: build workaround 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
« no previous file with comments | « device/vr/BUILD.gn ('k') | ui/gfx/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/BUILD.gn
diff --git a/ui/gfx/BUILD.gn b/ui/gfx/BUILD.gn
index 595f3d021985175a377bea39585c8da36d26d8a8..744fd6561bc2484ba375f2e2c41a95e2fb9bafed 100644
--- a/ui/gfx/BUILD.gn
+++ b/ui/gfx/BUILD.gn
@@ -255,12 +255,13 @@ component("gfx") {
"//base:base_static",
"//base:i18n",
"//base/third_party/dynamic_annotations",
+ "//device/vr:features",
sadrul 2017/04/21 22:31:47 Actually, can you move this down, in (is_android &
acondor_ 2017/04/24 14:28:21 "features" is a header that defines ENABLE_VR, so
sadrul 2017/04/24 14:31:49 I see. Maybe that header could move into an OS_AND
"//skia",
"//third_party/zlib",
]
# Text rendering conditions (complicated so separated out).
- if (use_aura || is_mac) {
+ if (use_aura || is_mac || (is_android && enable_vr)) {
# Mac doesn't use RenderTextHarfBuzz by default yet.
sources += [
"harfbuzz_font_skia.cc",
@@ -282,7 +283,7 @@ component("gfx") {
# We don't support RenderText on these platforms.
}
- if (is_android && use_aura) {
+ if (is_android && enable_vr) {
sources -= [
"platform_font_android.cc",
"text_utils_android.cc",
@@ -306,7 +307,7 @@ component("gfx") {
# Android.
if (is_android) {
- if (use_aura) {
+ if (enable_vr) {
sources -= [ "canvas_notimplemented.cc" ]
sources += [ "font_fallback_android.cc" ]
} else {
« no previous file with comments | « device/vr/BUILD.gn ('k') | ui/gfx/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698