| # Copyright 2017 The Chromium Authors |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| import("//build/config/chromeos/ui_mode.gni") |
| import("//build/util/branding.gni") |
| import("//components/vector_icons/vector_icons.gni") |
| |
| aggregate_vector_icons("components_vector_icons") { |
| icon_directory = "." |
| |
| sources = [ |
| "${branding_path_component}/product.icon", |
| "account_circle.icon", |
| "account_circle_chrome_refresh.icon", |
| "account_circle_off_chrome_refresh.icon", |
| "add_chrome_refresh.icon", |
| "ads.icon", |
| "ads_chrome_refresh.icon", |
| "ads_click.icon", |
| "ads_off_chrome_refresh.icon", |
| "arrow_back.icon", |
| "arrow_back_chrome_refresh.icon", |
| "back_arrow.icon", |
| "back_arrow_chrome_refresh.icon", |
| "back_to_tab.icon", |
| "back_to_tab_chrome_refresh.icon", |
| "blocked_badge.icon", |
| "bluetooth.icon", |
| "bluetooth_chrome_refresh.icon", |
| "bluetooth_connected.icon", |
| "bluetooth_off_chrome_refresh.icon", |
| "bluetooth_scanning.icon", |
| "bluetooth_scanning_chrome_refresh.icon", |
| "business.icon", |
| "business_chrome_refresh.icon", |
| "call.icon", |
| "call_end.icon", |
| "call_refresh.icon", |
| "cancel.icon", |
| "cancel_chrome_refresh.icon", |
| "capture.icon", |
| "cardboard.icon", |
| "caret_down.icon", |
| "caret_up.icon", |
| "celebration.icon", |
| "certificate.icon", |
| "certificate_chrome_refresh.icon", |
| "certificate_off_chrome_refresh.icon", |
| "check_circle.icon", |
| "close.icon", |
| "close_chrome_refresh.icon", |
| "close_rounded.icon", |
| "cloud_download.icon", |
| "code.icon", |
| "code_chrome_refresh.icon", |
| "code_off_chrome_refresh.icon", |
| "content_copy.icon", |
| "content_paste.icon", |
| "content_paste_chrome_refresh.icon", |
| "content_paste_off.icon", |
| "content_paste_off_chrome_refresh.icon", |
| "cookie.icon", |
| "cookie_chrome_refresh.icon", |
| "cookie_off_chrome_refresh.icon", |
| "dangerous.icon", |
| "dangerous_chrome_refresh.icon", |
| "database.icon", |
| "database_off.icon", |
| "description.icon", |
| "devices.icon", |
| "devices_chrome_refresh.icon", |
| "devices_off.icon", |
| "devices_off_chrome_refresh.icon", |
| "document_scanner.icon", |
| "dogfood.icon", |
| "edit.icon", |
| "edit_chrome_refresh.icon", |
| "email.icon", |
| "email_outline.icon", |
| "error.icon", |
| "error_outline.icon", |
| "ethernet.icon", |
| "expand_more.icon", |
| "extension.icon", |
| "extension_chrome_refresh.icon", |
| "extension_off.icon", |
| "extension_on.icon", |
| "family_link.icon", |
| "feed.icon", |
| "file_download.icon", |
| "file_download_chrome_refresh.icon", |
| "file_download_off.icon", |
| "file_download_off_chrome_refresh.icon", |
| "folder.icon", |
| "folder_chrome_refresh.icon", |
| "folder_managed.icon", |
| "folder_managed_refresh.icon", |
| "folder_managed_touch.icon", |
| "folder_open.icon", |
| "folder_touch.icon", |
| "font_download.icon", |
| "font_download_chrome_refresh.icon", |
| "font_download_off_chrome_refresh.icon", |
| "forward_arrow.icon", |
| "forward_arrow_chrome_refresh.icon", |
| "google_color.icon", |
| "gpp_maybe.icon", |
| "groups.icon", |
| "headset.icon", |
| "help.icon", |
| "help_outline.icon", |
| "history.icon", |
| "history_chrome_refresh.icon", |
| "https_valid.icon", |
| "https_valid_chrome_refresh.icon", |
| "iframe.icon", |
| "iframe_off.icon", |
| "image_search.icon", |
| "info_outline.icon", |
| "info_refresh.icon", |
| "insert_drive_file_outline.icon", |
| "keyboard.icon", |
| "launch.icon", |
| "launch_chrome_refresh.icon", |
| "launch_off_chrome_refresh.icon", |
| "lightbulb_outline.icon", |
| "lightbulb_outline_chrome_refresh.icon", |
| "link.icon", |
| "live_caption_off.icon", |
| "live_caption_on.icon", |
| "location_off.icon", |
| "location_off_chrome_refresh.icon", |
| "location_on.icon", |
| "location_on_chrome_refresh.icon", |
| "lock.icon", |
| "magic_button.icon", |
| "media_next_track.icon", |
| "media_previous_track.icon", |
| "media_router_active.icon", |
| "media_router_active_chrome_refresh.icon", |
| "media_router_error.icon", |
| "media_router_idle.icon", |
| "media_router_idle_chrome_refresh.icon", |
| "media_router_paused.icon", |
| "media_router_warning.icon", |
| "media_router_warning_chrome_refresh.icon", |
| "media_seek_backward.icon", |
| "media_seek_forward.icon", |
| "mic.icon", |
| "mic_chrome_refresh.icon", |
| "mic_off.icon", |
| "mic_off_chrome_refresh.icon", |
| "midi.icon", |
| "midi_chrome_refresh.icon", |
| "midi_off.icon", |
| "midi_off_chrome_refresh.icon", |
| "not_secure_warning.icon", |
| "not_secure_warning_chrome_refresh.icon", |
| "not_secure_warning_off_chrome_refresh.icon", |
| "not_uploaded.icon", |
| "notification_warning.icon", |
| "notifications.icon", |
| "notifications_chrome_refresh.icon", |
| "notifications_off.icon", |
| "notifications_off_chrome_refresh.icon", |
| "page_info_content_paste.icon", |
| "page_info_content_paste_chrome_refresh.icon", |
| "page_info_content_paste_off_chrome_refresh.icon", |
| "passkey.icon", |
| "password_manager.icon", |
| "pause.icon", |
| "pause_chrome_refresh.icon", |
| "photo.icon", |
| "photo_chrome_refresh.icon", |
| "photo_off_chrome_refresh.icon", |
| "picture_in_picture.icon", |
| "picture_in_picture_alt.icon", |
| "play_arrow.icon", |
| "play_arrow_chrome_refresh.icon", |
| "printer.icon", |
| "privacy_sandbox.icon", |
| "protected_content.icon", |
| "protocol_handler.icon", |
| "protocol_handler_chrome_refresh.icon", |
| "protocol_handler_off_chrome_refresh.icon", |
| "radio_button_checked.icon", |
| "reload.icon", |
| "reload_chrome_refresh.icon", |
| "replay.icon", |
| "save_cloud.icon", |
| "screen_share.icon", |
| "search.icon", |
| "search_chrome_refresh.icon", |
| "select_window.icon", |
| "select_window_chrome_refresh.icon", |
| "select_window_off_chrome_refresh.icon", |
| "sensors.icon", |
| "sensors_chrome_refresh.icon", |
| "sensors_off_chrome_refresh.icon", |
| "serial_port.icon", |
| "serial_port_chrome_refresh.icon", |
| "serial_port_off_chrome_refresh.icon", |
| "settings.icon", |
| "settings_chrome_refresh.icon", |
| "settings_outline.icon", |
| "shopping_bag.icon", |
| "shopping_bag_refresh.icon", |
| "sms.icon", |
| "storage_access.icon", |
| "storage_access_off.icon", |
| "submenu_arrow.icon", |
| "submenu_arrow_chrome_refresh.icon", |
| "sync.icon", |
| "sync_chrome_refresh.icon", |
| "sync_off_chrome_refresh.icon", |
| "sync_problem_chrome_refresh.icon", |
| "tenancy.icon", |
| "touchpad_mouse.icon", |
| "touchpad_mouse_off.icon", |
| "translate_chrome_refresh.icon", |
| "troubleshoot.icon", |
| "undo.icon", |
| "usb.icon", |
| "usb_chrome_refresh.icon", |
| "usb_off_chrome_refresh.icon", |
| "videocam.icon", |
| "videocam_chrome_refresh.icon", |
| "videocam_off.icon", |
| "videocam_off_chrome_refresh.icon", |
| "videogame_asset.icon", |
| "videogame_asset_chrome_refresh.icon", |
| "videogame_asset_off_chrome_refresh.icon", |
| "view_in_ar_chrome_refresh.icon", |
| "view_in_ar_off_chrome_refresh.icon", |
| "volume_off.icon", |
| "volume_off_chrome_refresh.icon", |
| "volume_up.icon", |
| "volume_up_chrome_refresh.icon", |
| "vr_headset.icon", |
| "vr_headset_chrome_refresh.icon", |
| "vr_headset_off.icon", |
| "vr_headset_off_chrome_refresh.icon", |
| "warning.icon", |
| "warning_outline.icon", |
| ] |
| |
| if (is_chromeos_ash) { |
| sources += [ "videogame_asset_outline.icon" ] |
| } |
| |
| if (is_chrome_branded) { |
| sources += [ |
| "google_chrome/google_calendar.icon", |
| "google_chrome/google_chrome_webstore.icon", |
| "google_chrome/google_docs.icon", |
| "google_chrome/google_drive.icon", |
| "google_chrome/google_g_logo.icon", |
| "google_chrome/google_g_logo_monochrome.icon", |
| "google_chrome/google_keep_note.icon", |
| "google_chrome/google_lens_full_logo.icon", |
| "google_chrome/google_lens_full_logo_dark.icon", |
| "google_chrome/google_lens_logo.icon", |
| "google_chrome/google_password_manager.icon", |
| "google_chrome/google_pay_logo.icon", |
| "google_chrome/google_search_companion_logo.icon", |
| "google_chrome/google_search_companion_monochrome_logo.icon", |
| "google_chrome/google_search_companion_monochrome_logo_chrome_refresh.icon", |
| "google_chrome/google_sheets.icon", |
| "google_chrome/google_sites.icon", |
| "google_chrome/google_slides.icon", |
| "google_chrome/google_super_g.icon", |
| "google_chrome/gshield.icon", |
| "google_chrome/page_insights.icon", |
| "google_chrome/page_insights_color.icon", |
| "google_chrome/pen_spark.icon", |
| ] |
| } |
| } |
| |
| static_library("vector_icons") { |
| sources = get_target_outputs(":components_vector_icons") |
| |
| defines = [ "COMPONENTS_VECTOR_ICONS_IMPL" ] |
| |
| deps = [ |
| ":components_vector_icons", |
| "//base", |
| "//skia", |
| "//ui/gfx", |
| ] |
| } |