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

Unified Diff: ui/gfx/BUILD.gn

Issue 382633002: Fix use_canvas_skia = 0 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Style fix Created 6 years, 5 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 a74f5ac46c5a83aacf73b0c9522b58b3b3910da4..d11c095d258342721d60e2f8877ebaf825f30b95 100644
--- a/ui/gfx/BUILD.gn
+++ b/ui/gfx/BUILD.gn
@@ -58,7 +58,7 @@ component("gfx") {
"break_list.h",
"canvas.cc",
"canvas.h",
- "canvas_android.cc",
+ "canvas_notimplemented.cc",
"canvas_paint_mac.h",
"canvas_paint_mac.mm",
"canvas_paint_win.cc",
@@ -253,7 +253,7 @@ component("gfx") {
sources += [ "render_text_ozone.cc" ]
}
}
-
+
# iOS.
if (is_ios) {
sources -= [
@@ -312,6 +312,11 @@ component("gfx") {
configs += [ "//build/config/linux:fontconfig" ]
}
+ # Canvas_Skia stuff.
+ if (use_canvas_skia) {
+ sources -= [ "canvas_notimplemented.cc" ]
+ }
+
# Ozone stuff.
if (use_ozone) {
sources += [
« build/config/ui.gni ('K') | « build/config/ui.gni ('k') | ui/gfx/canvas_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698