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

Unified Diff: chrome/app/vector_icons/BUILD.gn

Issue 2618403002: Reland crrev.com/8283cad74e0cad4840d1f with fix for static initializers. (Closed)
Patch Set: re-up 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
Index: chrome/app/vector_icons/BUILD.gn
diff --git a/chrome/app/vector_icons/BUILD.gn b/chrome/app/vector_icons/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..35502cdb6ba7ca426e9b12defd5da250030475a9
--- /dev/null
+++ b/chrome/app/vector_icons/BUILD.gn
@@ -0,0 +1,58 @@
+# Copyright 2017 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+action("aggregate_vector_icons") {
+ visibility = [ ":*" ]
+
+ script = "//ui/gfx/vector_icons/aggregate_vector_icons.py"
+
+ icons = [
+ "browser_tools.icon",
+ "browser_tools_error.icon",
+ "browser_tools_update.icon",
+ "navigate_back.1x.icon",
+ "navigate_back.icon",
+ "navigate_forward.1x.icon",
+ "navigate_forward.icon",
+ "navigate_home.1x.icon",
+ "navigate_home.icon",
+ "navigate_reload.1x.icon",
+ "navigate_reload.icon",
+ "navigate_stop.1x.icon",
+ "navigate_stop.icon",
+ ]
+
+ output_cc = "$target_gen_dir/vector_icons.cc"
+ output_h = "$target_gen_dir/vector_icons.h"
+
+ inputs = icons
+ inputs += [
+ "vector_icons.cc.template",
+ "vector_icons.h.template",
+ ]
+ outputs = [
+ output_cc,
+ output_h,
+ ]
+
+ response_file_contents = rebase_path(icons, root_build_dir)
+
+ args = [
+ "--working_directory=" + rebase_path("./"),
+ "--file_list={{response_file_name}}",
+ "--output_cc=" + rebase_path(output_cc, root_build_dir),
+ "--output_h=" + rebase_path(output_h, root_build_dir),
+ ]
+}
+
+source_set("vector_icons") {
+ sources = get_target_outputs(":aggregate_vector_icons")
+ sources += [ "//ui/gfx/vector_icon_types.h" ]
+
+ deps = [
+ ":aggregate_vector_icons",
+ "//base",
+ "//skia",
+ ]
+}
« no previous file with comments | « no previous file | chrome/app/vector_icons/browser_tools.icon » ('j') | chrome/browser/ui/views/toolbar/toolbar_view.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698