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

Unified Diff: ui/gfx/BUILD.gn

Issue 2286323004: Remove vector_icons.gypi (Closed)
Patch Set: Missing includes Created 4 years, 4 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 | « ash/common/wm/overview/window_selector_item.cc ('k') | ui/gfx/paint_vector_icon.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 5c2e973eb12ef017963815c1be0d2b0bd182e021..e65a545e96a494c103b857c3fbf8219031e15ca3 100644
--- a/ui/gfx/BUILD.gn
+++ b/ui/gfx/BUILD.gn
@@ -21,15 +21,6 @@ source_set("gfx_export") {
]
}
-vector_icons_sources_gypi =
- exec_script("//build/gypi_to_gn.py",
- [ rebase_path("vector_icons_sources.gypi") ],
- "scope",
- [ "vector_icons_sources.gypi" ])
-
-vector_icons_cc_file = "$target_gen_dir/vector_icons.cc"
-vector_icons_h_file = "$target_gen_dir/vector_icons.h"
-
component("gfx") {
sources = [
"android/device_display_info.cc",
@@ -349,10 +340,8 @@ component("gfx") {
"paint_vector_icon.h",
"vector_icon_types.h",
"vector_icons_public.h",
- vector_icons_cc_file,
- vector_icons_h_file,
]
- deps += [ ":aggregate_vector_icons" ]
+ deps += [ "//ui/gfx/vector_icons" ]
}
# Windows.
@@ -421,29 +410,6 @@ component("gfx") {
}
}
-# GYP version: ui/gfx/gfx.gyp:aggregate_vector_icons
-action("aggregate_vector_icons") {
- script = "vector_icons/aggregate_vector_icons.py"
-
- inputs = vector_icons_sources_gypi.common
-
- outputs = [
- vector_icons_cc_file,
- vector_icons_h_file,
- ]
-
- response_file_contents = rebase_path(inputs, root_build_dir)
-
- args = [
- "--working_directory=" + rebase_path("vector_icons/"),
- "--file_list={{response_file_name}}",
- "--output_cc=" + rebase_path(vector_icons_cc_file, root_build_dir),
- "--output_h=" + rebase_path(vector_icons_h_file, root_build_dir),
- ]
-}
-
-# Looking for gfx_geometry? It's //ui/gfx/geometry:geometry
-
# Depend on this to use native_widget_types.h without pulling in all of gfx.
source_set("native_widget_types") {
public = [
« no previous file with comments | « ash/common/wm/overview/window_selector_item.cc ('k') | ui/gfx/paint_vector_icon.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698