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

Unified Diff: ui/gfx/BUILD.gn

Issue 1214693005: Introduce some util code for drawing vector assets. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: compile? Created 5 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 | « chrome/browser/ui/views/profiles/profile_chooser_view.cc ('k') | ui/gfx/gfx.gyp » ('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 b6468d932b82c282852a281d4cf715123f88d8d2..720c520d7432d868d2dda82bf4d253b9e05fcfa6 100644
--- a/ui/gfx/BUILD.gn
+++ b/ui/gfx/BUILD.gn
@@ -210,6 +210,8 @@ component("gfx") {
"ui_gfx_exports.cc",
"utf16_indexing.cc",
"utf16_indexing.h",
+ "vector_icons.cc",
+ "vector_icons.h",
"vsync_provider.h",
"win/direct_write.cc",
"win/direct_write.h",
@@ -321,6 +323,14 @@ component("gfx") {
sources -= [ "canvas_notimplemented.cc" ]
}
+ # Non desktop.
+ if (is_ios || is_android) {
+ sources -= [
+ "vector_icons.cc",
+ "vector_icons.h",
+ ]
+ }
+
# Windows.
if (is_win) {
cflags = [ "/wd4324" ] # Structure was padded due to __declspec(align()), which is
« no previous file with comments | « chrome/browser/ui/views/profiles/profile_chooser_view.cc ('k') | ui/gfx/gfx.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698