OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//build/config/chrome_build.gni") | 5 import("//build/config/chrome_build.gni") |
6 | 6 |
7 action("aggregate_vector_icons") { | 7 action("aggregate_vector_icons") { |
8 visibility = [ ":*" ] | 8 visibility = [ ":*" ] |
9 | 9 |
10 script = "aggregate_vector_icons.py" | 10 script = "aggregate_vector_icons.py" |
11 | 11 |
12 icons = [ | 12 icons = [ |
13 "account_box.icon", | 13 "account_box.icon", |
14 "account_child.icon", | 14 "account_child.icon", |
15 "account_child_circle.icon", | 15 "account_child_circle.icon", |
16 "account_circle.icon", | 16 "account_circle.icon", |
17 "apps.icon", | |
18 "blocked_badge.icon", | 17 "blocked_badge.icon", |
19 "business.icon", | 18 "business.icon", |
20 "check_circle.1x.icon", | 19 "check_circle.1x.icon", |
21 "check_circle.icon", | 20 "check_circle.icon", |
22 "close_all.icon", | 21 "close_all.icon", |
23 "code.icon", | 22 "code.icon", |
24 "cookie.icon", | 23 "cookie.icon", |
25 "default_favicon.icon", | 24 "default_favicon.icon", |
26 "eol.icon", | 25 "eol.icon", |
27 "extension.icon", | 26 "extension.icon", |
28 "extension_crashed.icon", | |
29 "file_download.icon", | 27 "file_download.icon", |
30 "fullscreen.icon", | 28 "fullscreen.icon", |
31 "globe.icon", | |
32 "help_outline.icon", | 29 "help_outline.icon", |
33 "image.icon", | 30 "image.icon", |
34 "info_outline.icon", | 31 "info_outline.icon", |
35 "lock.icon", | 32 "lock.icon", |
36 "midi.icon", | 33 "midi.icon", |
37 "mixed_content.icon", | 34 "mixed_content.icon", |
38 "mode_edit.icon", | 35 "mode_edit.icon", |
39 "my_location.icon", | 36 "my_location.icon", |
40 "notifications.icon", | 37 "notifications.icon", |
41 "notifications_off.icon", | 38 "notifications_off.icon", |
42 | 39 |
43 # TODO(estade): this is the same as the one in components/omnibox, but it's | 40 # TODO(estade): this is the same as the one in components/omnibox, but it's |
44 # referenced from Ash. De-dupe this soon. | 41 # referenced from Ash. De-dupe this soon. |
45 "omnibox_search.icon", | 42 "omnibox_search.icon", |
46 "paintbrush.icon", | |
47 "pdf.1x.icon", | 43 "pdf.1x.icon", |
48 "pdf.icon", | 44 "pdf.icon", |
49 "photo_camera.icon", | 45 "photo_camera.icon", |
50 "protocol_handler.icon", | 46 "protocol_handler.icon", |
51 "remove_box.icon", | 47 "remove_box.icon", |
52 "remove_circle.icon", | 48 "remove_circle.icon", |
53 "sad_tab.icon", | |
54 "settings.icon", | 49 "settings.icon", |
55 "subresource_filter_active.icon", | 50 "subresource_filter_active.icon", |
56 "supervisor_account.icon", | 51 "supervisor_account.icon", |
57 "supervisor_account_circle.icon", | 52 "supervisor_account_circle.icon", |
58 "sync_problem.icon", | 53 "sync_problem.icon", |
59 "user_account_avatar.icon", | 54 "user_account_avatar.icon", |
60 "videocam.icon", | 55 "videocam.icon", |
61 "warning.icon", | 56 "warning.icon", |
62 "warning_badge.icon", | 57 "warning_badge.icon", |
63 "web.icon", | 58 "web.icon", |
64 "${branding_path_component}/product.icon", | |
65 ] | 59 ] |
66 | 60 |
67 output_cc = "$target_gen_dir/vector_icons.cc" | 61 output_cc = "$target_gen_dir/vector_icons.cc" |
68 output_h = "$target_gen_dir/vector_icons.h" | 62 output_h = "$target_gen_dir/vector_icons.h" |
69 | 63 |
70 inputs = icons | 64 inputs = icons |
71 inputs += [ | 65 inputs += [ |
72 "vector_icons.cc.template", | 66 "vector_icons.cc.template", |
73 "vector_icons.h.template", | 67 "vector_icons.h.template", |
74 ] | 68 ] |
(...skipping 19 matching lines...) Expand all Loading... |
94 "../vector_icon_types.h", | 88 "../vector_icon_types.h", |
95 "../vector_icons_public.h", | 89 "../vector_icons_public.h", |
96 ] | 90 ] |
97 | 91 |
98 deps = [ | 92 deps = [ |
99 ":aggregate_vector_icons", | 93 ":aggregate_vector_icons", |
100 "//base", | 94 "//base", |
101 "//skia", | 95 "//skia", |
102 ] | 96 ] |
103 } | 97 } |
OLD | NEW |