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 += [ |