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

Side by Side Diff: ui/vector_icons/BUILD.gn

Issue 2667753006: Make new target for vector icon structs to replace ui/gfx/vector_icons/ (Closed)
Patch Set: fix deps Created 3 years, 10 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 unified diff | Download patch
« no previous file with comments | « ui/gfx/vector_icons/bar_close.1x.icon ('k') | ui/vector_icons/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright 2017 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 action("aggregate_vector_icons") {
6 visibility = [ ":*" ]
7
8 script = "//ui/gfx/vector_icons/aggregate_vector_icons.py"
9
10 icons = [
11 "close.1x.icon",
12 "close.icon",
13 ]
14
15 output_cc = "$target_gen_dir/vector_icons.cc"
16 output_h = "$target_gen_dir/vector_icons.h"
17
18 inputs = icons
19 inputs += [
20 "vector_icons.cc.template",
21 "vector_icons.h.template",
22 ]
23 outputs = [
24 output_cc,
25 output_h,
26 ]
27
28 response_file_contents = rebase_path(icons, root_build_dir)
29
30 args = [
31 "--working_directory=" + rebase_path("./"),
32 "--file_list={{response_file_name}}",
33 "--output_cc=" + rebase_path(output_cc, root_build_dir),
34 "--output_h=" + rebase_path(output_h, root_build_dir),
35 ]
36 }
37
38 static_library("vector_icons") {
39 sources = get_target_outputs(":aggregate_vector_icons")
40 sources += [ "//ui/gfx/vector_icon_types.h" ]
41
42 deps = [
43 ":aggregate_vector_icons",
44 "//base",
45 "//skia",
46 ]
47 }
OLDNEW
« no previous file with comments | « ui/gfx/vector_icons/bar_close.1x.icon ('k') | ui/vector_icons/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698