| 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 # NB: This is a deprecated vector icon target that should be removed. Add vector | 7 # NB: This is a deprecated vector icon target that should be removed. Add vector |
| 8 # icons to a more specific target, or ui/vector_icons if ui/ is the right place | 8 # icons to a more specific target, or ui/vector_icons if ui/ is the right place |
| 9 # for them. TODO(estade): remove this target. | 9 # for them. TODO(estade): remove this target. |
| 10 action("aggregate_vector_icons") { | 10 action("aggregate_vector_icons") { |
| 11 visibility = [ ":*" ] | 11 visibility = [ ":*" ] |
| 12 | 12 |
| 13 script = "aggregate_vector_icons.py" | 13 script = "aggregate_vector_icons.py" |
| 14 | 14 |
| 15 icons = [ | 15 icons = [ |
| 16 "account_box.icon", | 16 "account_box.icon", |
| 17 "account_child.icon", | 17 "account_child.icon", |
| 18 "account_child_circle.icon", | 18 "account_child_circle.icon", |
| 19 "account_circle.icon", | 19 "account_circle.icon", |
| 20 "blocked_badge.icon", | |
| 21 "business.icon", | 20 "business.icon", |
| 22 "check_circle.1x.icon", | 21 "check_circle.1x.icon", |
| 23 "check_circle.icon", | 22 "check_circle.icon", |
| 24 "close_all.icon", | 23 "close_all.icon", |
| 25 "code.icon", | |
| 26 "cookie.icon", | |
| 27 "default_favicon.icon", | 24 "default_favicon.icon", |
| 28 "eol.icon", | 25 "eol.icon", |
| 29 "extension.icon", | |
| 30 "file_download.icon", | |
| 31 "fullscreen.icon", | 26 "fullscreen.icon", |
| 32 "help_outline.icon", | 27 "help_outline.icon", |
| 33 "image.icon", | |
| 34 "info_outline.icon", | 28 "info_outline.icon", |
| 35 "lock.icon", | 29 "lock.icon", |
| 36 "midi.icon", | |
| 37 "mixed_content.icon", | |
| 38 "mode_edit.icon", | 30 "mode_edit.icon", |
| 39 "my_location.icon", | |
| 40 "notifications.icon", | 31 "notifications.icon", |
| 41 "notifications_off.icon", | 32 "notifications_off.icon", |
| 42 | 33 |
| 43 # TODO(estade): this is the same as the one in components/omnibox, but it's | 34 # TODO(estade): this is the same as the one in components/omnibox, but it's |
| 44 # referenced from Ash. De-dupe this soon. | 35 # referenced from Ash. De-dupe this soon. |
| 45 "omnibox_search.icon", | 36 "omnibox_search.icon", |
| 46 "pdf.1x.icon", | 37 "pdf.1x.icon", |
| 47 "pdf.icon", | 38 "pdf.icon", |
| 48 "photo_camera.icon", | 39 "photo_camera.icon", |
| 49 "protocol_handler.icon", | |
| 50 "remove_box.icon", | 40 "remove_box.icon", |
| 51 "remove_circle.icon", | 41 "remove_circle.icon", |
| 52 "settings.icon", | 42 "settings.icon", |
| 53 "subresource_filter_active.icon", | |
| 54 "supervisor_account.icon", | 43 "supervisor_account.icon", |
| 55 "supervisor_account_circle.icon", | 44 "supervisor_account_circle.icon", |
| 56 "sync_problem.icon", | 45 "sync_problem.icon", |
| 57 "user_account_avatar.icon", | 46 "user_account_avatar.icon", |
| 58 "videocam.icon", | |
| 59 "warning.icon", | 47 "warning.icon", |
| 60 "warning_badge.icon", | |
| 61 "web.icon", | 48 "web.icon", |
| 62 ] | 49 ] |
| 63 | 50 |
| 64 if (is_mac) { | 51 if (is_mac) { |
| 65 icons += [ "google_search_mac_touchbar.icon" ] | 52 icons += [ "google_search_mac_touchbar.icon" ] |
| 66 } | 53 } |
| 67 | 54 |
| 68 output_cc = "$target_gen_dir/vector_icons.cc" | 55 output_cc = "$target_gen_dir/vector_icons.cc" |
| 69 output_h = "$target_gen_dir/vector_icons.h" | 56 output_h = "$target_gen_dir/vector_icons.h" |
| 70 | 57 |
| (...skipping 24 matching lines...) Expand all Loading... |
| 95 "../vector_icon_types.h", | 82 "../vector_icon_types.h", |
| 96 "../vector_icons_public.h", | 83 "../vector_icons_public.h", |
| 97 ] | 84 ] |
| 98 | 85 |
| 99 deps = [ | 86 deps = [ |
| 100 ":aggregate_vector_icons", | 87 ":aggregate_vector_icons", |
| 101 "//base", | 88 "//base", |
| 102 "//skia", | 89 "//skia", |
| 103 ] | 90 ] |
| 104 } | 91 } |
| OLD | NEW |