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

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: Temp fix for gn build 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
« no previous file with comments | « build/config/ui.gni ('k') | ui/gfx/canvas_android.cc » ('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 a74f5ac46c5a83aacf73b0c9522b58b3b3910da4..d7e2dc12d1e20c4e7a8618b406f71aba9f6a0f0d 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){
Alexei Svitkine (slow) 2014/07/18 20:19:10 Nit: add spaces after if and before {
Nico 2014/07/18 20:19:57 nit: add a space between if and (
+ sources -= ["canvas_notimplemented.cc",]
Nico 2014/07/18 20:19:57 nit: I think one-line lists usually don't have a t
+ }
+
# Ozone stuff.
if (use_ozone) {
sources += [
« no previous file with comments | « 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