| 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 "apps.icon", | |
| 21 "blocked_badge.icon", | 20 "blocked_badge.icon", |
| 22 "business.icon", | 21 "business.icon", |
| 23 "check_circle.1x.icon", | 22 "check_circle.1x.icon", |
| 24 "check_circle.icon", | 23 "check_circle.icon", |
| 25 "close_all.icon", | 24 "close_all.icon", |
| 26 "code.icon", | 25 "code.icon", |
| 27 "cookie.icon", | 26 "cookie.icon", |
| 28 "default_favicon.icon", | 27 "default_favicon.icon", |
| 29 "eol.icon", | 28 "eol.icon", |
| 30 "extension.icon", | 29 "extension.icon", |
| 31 "extension_crashed.icon", | |
| 32 "file_download.icon", | 30 "file_download.icon", |
| 33 "fullscreen.icon", | 31 "fullscreen.icon", |
| 34 "globe.icon", | |
| 35 "help_outline.icon", | 32 "help_outline.icon", |
| 36 "image.icon", | 33 "image.icon", |
| 37 "info_outline.icon", | 34 "info_outline.icon", |
| 38 "lock.icon", | 35 "lock.icon", |
| 39 "midi.icon", | 36 "midi.icon", |
| 40 "mixed_content.icon", | 37 "mixed_content.icon", |
| 41 "mode_edit.icon", | 38 "mode_edit.icon", |
| 42 "my_location.icon", | 39 "my_location.icon", |
| 43 "notifications.icon", | 40 "notifications.icon", |
| 44 "notifications_off.icon", | 41 "notifications_off.icon", |
| 45 | 42 |
| 46 # TODO(estade): this is the same as the one in components/omnibox, but it's | 43 # TODO(estade): this is the same as the one in components/omnibox, but it's |
| 47 # referenced from Ash. De-dupe this soon. | 44 # referenced from Ash. De-dupe this soon. |
| 48 "omnibox_search.icon", | 45 "omnibox_search.icon", |
| 49 "paintbrush.icon", | |
| 50 "pdf.1x.icon", | 46 "pdf.1x.icon", |
| 51 "pdf.icon", | 47 "pdf.icon", |
| 52 "photo_camera.icon", | 48 "photo_camera.icon", |
| 53 "protocol_handler.icon", | 49 "protocol_handler.icon", |
| 54 "remove_box.icon", | 50 "remove_box.icon", |
| 55 "remove_circle.icon", | 51 "remove_circle.icon", |
| 56 "sad_tab.icon", | |
| 57 "settings.icon", | 52 "settings.icon", |
| 58 "subresource_filter_active.icon", | 53 "subresource_filter_active.icon", |
| 59 "supervisor_account.icon", | 54 "supervisor_account.icon", |
| 60 "supervisor_account_circle.icon", | 55 "supervisor_account_circle.icon", |
| 61 "sync_problem.icon", | 56 "sync_problem.icon", |
| 62 "user_account_avatar.icon", | 57 "user_account_avatar.icon", |
| 63 "videocam.icon", | 58 "videocam.icon", |
| 64 "warning.icon", | 59 "warning.icon", |
| 65 "warning_badge.icon", | 60 "warning_badge.icon", |
| 66 "web.icon", | 61 "web.icon", |
| 67 "${branding_path_component}/product.icon", | |
| 68 ] | 62 ] |
| 69 | 63 |
| 70 if (is_mac) { | 64 if (is_mac) { |
| 71 icons += [ "google_search_mac_touchbar.icon" ] | 65 icons += [ "google_search_mac_touchbar.icon" ] |
| 72 } | 66 } |
| 73 | 67 |
| 74 output_cc = "$target_gen_dir/vector_icons.cc" | 68 output_cc = "$target_gen_dir/vector_icons.cc" |
| 75 output_h = "$target_gen_dir/vector_icons.h" | 69 output_h = "$target_gen_dir/vector_icons.h" |
| 76 | 70 |
| 77 inputs = icons | 71 inputs = icons |
| (...skipping 23 matching lines...) Expand all Loading... |
| 101 "../vector_icon_types.h", | 95 "../vector_icon_types.h", |
| 102 "../vector_icons_public.h", | 96 "../vector_icons_public.h", |
| 103 ] | 97 ] |
| 104 | 98 |
| 105 deps = [ | 99 deps = [ |
| 106 ":aggregate_vector_icons", | 100 ":aggregate_vector_icons", |
| 107 "//base", | 101 "//base", |
| 108 "//skia", | 102 "//skia", |
| 109 ] | 103 ] |
| 110 } | 104 } |
| OLD | NEW |