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

Unified Diff: ui/gfx/vector_icons/BUILD.gn

Issue 2733823003: Move final vector icons out of ui/gfx/vector_icons/ and remove the (Closed)
Patch Set: fix cast shell maybe Created 3 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
Index: ui/gfx/vector_icons/BUILD.gn
diff --git a/ui/gfx/vector_icons/BUILD.gn b/ui/gfx/vector_icons/BUILD.gn
deleted file mode 100644
index cec728d2e581fa9d8d9218129d1e977d47fe0266..0000000000000000000000000000000000000000
--- a/ui/gfx/vector_icons/BUILD.gn
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 2014 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.
-
-import("//build/config/chrome_build.gni")
-
-# NB: This is a deprecated vector icon target that should be removed. Add vector
-# icons to a more specific target, or ui/vector_icons if ui/ is the right place
-# for them. TODO(estade): remove this target.
-action("aggregate_vector_icons") {
- visibility = [ ":*" ]
-
- script = "aggregate_vector_icons.py"
-
- icons = [
- "business.icon",
- "check_circle.1x.icon",
- "check_circle.icon",
- "default_favicon.icon",
- "eol.icon",
- "fullscreen.icon",
- "help_outline.icon",
- "info_outline.icon",
- "notifications.icon",
- "notifications_off.icon",
-
- # TODO(estade): this is the same as the one in components/omnibox, but it's
- # referenced from Ash. De-dupe this soon.
- "omnibox_search.icon",
- "pdf.1x.icon",
- "pdf.icon",
- "warning.icon",
- "web.icon",
- ]
-
- if (is_mac) {
- icons += [ "google_search_mac_touchbar.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),
- "--use_legacy_template",
- ]
-}
-
-source_set("vector_icons") {
- sources = get_target_outputs(":aggregate_vector_icons")
- sources += [
- "../vector_icon_types.h",
- "../vector_icons_public.h",
- ]
-
- deps = [
- ":aggregate_vector_icons",
- "//base",
- "//skia",
- ]
-}

Powered by Google App Engine
This is Rietveld 408576698