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

Unified Diff: ui/gfx/BUILD.gn

Issue 1011323003: MacViews: Fix GN build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: too ambitious Created 5 years, 9 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 | « no previous file | ui/views/BUILD.gn » ('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 c6e91e90f7aeff6312b9f8602c6e3ebb104d18c1..467c420db5964ec73f11f4678c4813c6f9cbe642 100644
--- a/ui/gfx/BUILD.gn
+++ b/ui/gfx/BUILD.gn
@@ -327,11 +327,15 @@ component("gfx") {
if (!use_aura) {
sources -= [
- "nine_image_painter.cc",
- "nine_image_painter.h",
"path_aura.cc",
"screen_aura.cc",
]
+ if (!toolkit_views) {
+ sources -= [
+ "nine_image_painter.cc",
+ "nine_image_painter.h",
+ ]
+ }
}
if (use_x11) {
« no previous file with comments | « no previous file | ui/views/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698