Index: ui/gfx/BUILD.gn |
diff --git a/ui/gfx/BUILD.gn b/ui/gfx/BUILD.gn |
index d4f30dce1f14ad51678d5b193983bff4fe2ea268..c23fb16ac9fb3e928c50e47b378d97bf29d67c18 100644 |
--- a/ui/gfx/BUILD.gn |
+++ b/ui/gfx/BUILD.gn |
@@ -55,7 +55,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", |
@@ -291,6 +291,8 @@ component("gfx") { |
"android", |
"jnigraphics", |
] |
+ } else { |
+ sources -= [ "canvas_notimplemented.cc" ] |
} |
# Windows. |