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

Unified Diff: ui/gfx/BUILD.gn

Issue 2661353002: ui/gfx: split out code that depends on paint (Closed)
Patch Set: Fix mac, chromeos build Created 3 years, 11 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 | « chrome/browser/ui/views/infobars/infobar_container_view.cc ('k') | ui/gfx/canvas.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 b9f0a4a3a434eeae2907225b75dc8787e3f4b702..e443d4ff78dd7c4d0abd2ca8ffac15c18b9a367d 100644
--- a/ui/gfx/BUILD.gn
+++ b/ui/gfx/BUILD.gn
@@ -166,8 +166,6 @@ component("gfx") {
"selection_model.h",
"sequential_id_generator.cc",
"sequential_id_generator.h",
- "shadow_util.cc",
- "shadow_util.h",
"shadow_value.cc",
"shadow_value.h",
"skbitmap_operations.cc",
@@ -233,6 +231,10 @@ component("gfx") {
"paint_throbber.h",
"scoped_canvas.cc",
"scoped_canvas.h",
+ "shadow_util.cc",
+ "shadow_util.h",
+ "skia_paint_util.cc",
+ "skia_paint_util.h",
]
}
@@ -402,13 +404,11 @@ component("gfx") {
]
}
- if (!use_aura) {
- if (!toolkit_views) {
- sources -= [
- "nine_image_painter.cc",
- "nine_image_painter.h",
- ]
- }
+ if ((!use_aura && !toolkit_views) || is_ios) {
+ sources -= [
+ "nine_image_painter.cc",
+ "nine_image_painter.h",
+ ]
}
if (use_x11) {
« no previous file with comments | « chrome/browser/ui/views/infobars/infobar_container_view.cc ('k') | ui/gfx/canvas.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698