Avi Drissman | 3e1a26c | 2022-09-15 20:26:03 | [diff] [blame] | 1 | # Copyright 2020 The Chromium Authors |
Luciano Pacheco | fe17806 | 2020-12-09 01:46:04 | [diff] [blame] | 2 | # Use of this source code is governed by a BSD-style license that can be |
| 3 | # found in the LICENSE file. |
| 4 | |
| 5 | import("//ui/webui/resources/tools/generate_grd.gni") |
| 6 | |
| 7 | generated_static_grdp = "$target_gen_dir/static_resources.grdp" |
| 8 | |
| 9 | generate_grd("build_static_grdp") { |
| 10 | out_grd = generated_static_grdp |
| 11 | grd_prefix = "file_manager" |
| 12 | |
| 13 | resource_path_prefix = "file_manager" |
| 14 | |
| 15 | input_files_base_dir = rebase_path(".", "//") |
| 16 | |
| 17 | input_files = [ |
Luciano Pacheco | 58cbde10 | 2021-05-31 06:03:09 | [diff] [blame] | 18 | "main.html", |
Luciano Pacheco | a83c023 | 2023-09-07 07:20:22 | [diff] [blame] | 19 | "init_globals.js", |
Luciano Pacheco | 58cbde10 | 2021-05-31 06:03:09 | [diff] [blame] | 20 | |
Luciano Pacheco | fe17806 | 2020-12-09 01:46:04 | [diff] [blame] | 21 | # CSS: |
Luciano Pacheco | fe17806 | 2020-12-09 01:46:04 | [diff] [blame] | 22 | "foreground/css/combobutton.css", |
| 23 | "foreground/css/common.css", |
| 24 | "foreground/css/file_manager.css", |
Luciano Pacheco | fe17806 | 2020-12-09 01:46:04 | [diff] [blame] | 25 | "foreground/css/file_types.css", |
| 26 | "foreground/css/list.css", |
| 27 | "foreground/css/menu.css", |
| 28 | "foreground/css/table.css", |
| 29 | "foreground/css/tree.css", |
| 30 | |
| 31 | # Images: |
Luciano Pacheco | fe17806 | 2020-12-09 01:46:04 | [diff] [blame] | 32 | "foreground/images/common/dragger.svg", |
| 33 | "foreground/images/common/ic_close.svg", |
| 34 | "foreground/images/common/ic_selected.svg", |
Luciano Pacheco | fe17806 | 2020-12-09 01:46:04 | [diff] [blame] | 35 | "foreground/images/files/ui/arrow_right.svg", |
Luciano Pacheco | fe17806 | 2020-12-09 01:46:04 | [diff] [blame] | 36 | "foreground/images/files/ui/back.svg", |
Joel Hockey | a8d839c | 2023-06-13 04:16:53 | [diff] [blame] | 37 | "foreground/images/files/ui/bulk_pinning_battery_saver.svg", |
Ben Reich | 40806e26 | 2023-04-28 06:46:31 | [diff] [blame] | 38 | "foreground/images/files/ui/bulk_pinning_done.svg", |
Ben Reich | 746678e6 | 2023-05-01 00:59:02 | [diff] [blame] | 39 | "foreground/images/files/ui/bulk_pinning_offline.svg", |
Bo Majewski | 015b582 | 2023-03-16 00:40:08 | [diff] [blame] | 40 | "foreground/images/files/ui/check.svg", |
Ben Reich | f9d4c73 | 2023-05-23 07:04:14 | [diff] [blame] | 41 | "foreground/images/files/ui/cant_pin.svg", |
Bo Majewski | 015b582 | 2023-03-16 00:40:08 | [diff] [blame] | 42 | "foreground/images/files/ui/cloud_done.svg", |
| 43 | "foreground/images/files/ui/cloud_error.svg", |
| 44 | "foreground/images/files/ui/cloud_offline.svg", |
| 45 | "foreground/images/files/ui/cloud.svg", |
Ben Reich | bc65d26 | 2023-09-04 23:10:07 | [diff] [blame] | 46 | "foreground/images/files/ui/cloud_paused.svg", |
Bo Majewski | 015b582 | 2023-03-16 00:40:08 | [diff] [blame] | 47 | "foreground/images/files/ui/cloud_sync.svg", |
Luciano Pacheco | fe17806 | 2020-12-09 01:46:04 | [diff] [blame] | 48 | "foreground/images/files/ui/delete_ng.svg", |
Bo Majewski | 015b582 | 2023-03-16 00:40:08 | [diff] [blame] | 49 | "foreground/images/files/ui/delete.svg", |
François Degros | 1b4d1655 | 2023-05-11 01:59:57 | [diff] [blame] | 50 | "foreground/images/files/ui/drive_bulk_pinning.svg", |
Luciano Pacheco | fe17806 | 2020-12-09 01:46:04 | [diff] [blame] | 51 | "foreground/images/files/ui/drive_logo.svg", |
Ben Reich | d376ccc9 | 2021-09-10 03:08:47 | [diff] [blame] | 52 | "foreground/images/files/ui/drive_offline_icon.svg", |
Wenbo Jie | 7dd57b68 | 2022-07-14 03:58:50 | [diff] [blame] | 53 | "foreground/images/files/ui/empty_folder.svg", |
Bo Majewski | 389c295 | 2023-02-03 20:31:51 | [diff] [blame] | 54 | "foreground/images/files/ui/empty_search_results.svg", |
Ben Reich | 5c462fd | 2022-09-20 08:15:13 | [diff] [blame] | 55 | "foreground/images/files/ui/empty_trash_folder.svg", |
Oleg Davydov | 14b21a6 | 2023-04-17 14:12:25 | [diff] [blame] | 56 | "foreground/images/files/ui/encrypted.svg", |
Bo Majewski | 015b582 | 2023-03-16 00:40:08 | [diff] [blame] | 57 | "foreground/images/files/ui/error_banner_icon.svg", |
Marcello Salomao | 30058ab | 2022-10-10 08:19:46 | [diff] [blame] | 58 | "foreground/images/files/ui/error.svg", |
Luciano Pacheco | fe17806 | 2020-12-09 01:46:04 | [diff] [blame] | 59 | "foreground/images/files/ui/external_link.svg", |
Luciano Pacheco | fe17806 | 2020-12-09 01:46:04 | [diff] [blame] | 60 | "foreground/images/files/ui/filetype_placeholder_generic.svg", |
David Black | c220e26 | 2020-12-09 19:58:48 | [diff] [blame] | 61 | "foreground/images/files/ui/holding_space_welcome_image.svg", |
Luciano Pacheco | fe17806 | 2020-12-09 01:46:04 | [diff] [blame] | 62 | "foreground/images/files/ui/info.svg", |
| 63 | "foreground/images/files/ui/list_check.svg", |
| 64 | "foreground/images/files/ui/menu_ng.svg", |
Peter Marshall | b31f4923 | 2022-11-21 04:40:50 | [diff] [blame] | 65 | "foreground/images/files/ui/ms365.svg", |
Ben Reich | 24e8ec23 | 2022-10-10 05:39:07 | [diff] [blame] | 66 | "foreground/images/files/ui/nudge_star_icon.svg", |
Luciano Pacheco | fe17806 | 2020-12-09 01:46:04 | [diff] [blame] | 67 | "foreground/images/files/ui/offline.svg", |
Cassy Chun-Crogan | 8602b3b | 2023-05-12 02:49:25 | [diff] [blame] | 68 | "foreground/images/files/ui/odfs_reauthentication_required.svg", |
Bo Majewski | 015b582 | 2023-03-16 00:40:08 | [diff] [blame] | 69 | "foreground/images/files/ui/photos_logo.svg", |
Wenbo Jie | 61a7969 | 2023-05-25 00:12:34 | [diff] [blame] | 70 | "foreground/images/files/ui/quickview_star.svg", |
Luciano Pacheco | fe17806 | 2020-12-09 01:46:04 | [diff] [blame] | 71 | "foreground/images/files/ui/refresh.svg", |
Joel Hockey | d8f9172 | 2021-01-31 02:34:09 | [diff] [blame] | 72 | "foreground/images/files/ui/restore.svg", |
Luciano Pacheco | fe17806 | 2020-12-09 01:46:04 | [diff] [blame] | 73 | "foreground/images/files/ui/search_clear_filled.svg", |
Bo Majewski | 015b582 | 2023-03-16 00:40:08 | [diff] [blame] | 74 | "foreground/images/files/ui/search.svg", |
Bo Majewski | d21ea81 | 2022-11-30 06:44:51 | [diff] [blame] | 75 | "foreground/images/files/ui/select_filetype.svg", |
| 76 | "foreground/images/files/ui/select_location.svg", |
| 77 | "foreground/images/files/ui/select_time.svg", |
Luciano Pacheco | fe17806 | 2020-12-09 01:46:04 | [diff] [blame] | 78 | "foreground/images/files/ui/share_ng.svg", |
Ben Reich | 75d97b2e | 2023-05-02 04:20:27 | [diff] [blame] | 79 | "foreground/images/files/ui/shortcut.svg", |
Luciano Pacheco | fe17806 | 2020-12-09 01:46:04 | [diff] [blame] | 80 | "foreground/images/files/ui/sort_desc.svg", |
| 81 | "foreground/images/files/ui/sorting_ng.svg", |
Bo Majewski | 015b582 | 2023-03-16 00:40:08 | [diff] [blame] | 82 | "foreground/images/files/ui/state_banner_icon.svg", |
Luciano Pacheco | fe17806 | 2020-12-09 01:46:04 | [diff] [blame] | 83 | "foreground/images/files/ui/view_list.svg", |
| 84 | "foreground/images/files/ui/view_thumbnail.svg", |
| 85 | "foreground/images/files/ui/visibility_ng.svg", |
Bo Majewski | 015b582 | 2023-03-16 00:40:08 | [diff] [blame] | 86 | "foreground/images/files/ui/warning_banner_icon.svg", |
Luciano Pacheco | fe17806 | 2020-12-09 01:46:04 | [diff] [blame] | 87 | "foreground/images/files/ui/warning.svg", |
Bo Majewski | 015b582 | 2023-03-16 00:40:08 | [diff] [blame] | 88 | "foreground/images/files/ui/xf_select_dropdown.svg", |
Luciano Pacheco | fe17806 | 2020-12-09 01:46:04 | [diff] [blame] | 89 | "foreground/images/filetype/filetype_archive.svg", |
| 90 | "foreground/images/filetype/filetype_audio.svg", |
| 91 | "foreground/images/filetype/filetype_excel.svg", |
Luciano Pacheco | fe17806 | 2020-12-09 01:46:04 | [diff] [blame] | 92 | "foreground/images/filetype/filetype_folder_shared.svg", |
Bo Majewski | 015b582 | 2023-03-16 00:40:08 | [diff] [blame] | 93 | "foreground/images/filetype/filetype_folder.svg", |
Luciano Pacheco | fe17806 | 2020-12-09 01:46:04 | [diff] [blame] | 94 | "foreground/images/filetype/filetype_gdoc.svg", |
| 95 | "foreground/images/filetype/filetype_gdraw.svg", |
| 96 | "foreground/images/filetype/filetype_generic.svg", |
| 97 | "foreground/images/filetype/filetype_gform.svg", |
| 98 | "foreground/images/filetype/filetype_gmap.svg", |
| 99 | "foreground/images/filetype/filetype_gsheet.svg", |
| 100 | "foreground/images/filetype/filetype_gsite.svg", |
Jérémie Boulic | 4f3908a5 | 2024-01-07 23:29:36 | [diff] [blame] | 101 | "foreground/images/filetype/filetype_gmaillayout.svg", |
Luciano Pacheco | fe17806 | 2020-12-09 01:46:04 | [diff] [blame] | 102 | "foreground/images/filetype/filetype_gslides.svg", |
| 103 | "foreground/images/filetype/filetype_gtable.svg", |
| 104 | "foreground/images/filetype/filetype_image.svg", |
| 105 | "foreground/images/filetype/filetype_pdf.svg", |
| 106 | "foreground/images/filetype/filetype_ppt.svg", |
| 107 | "foreground/images/filetype/filetype_script.svg", |
| 108 | "foreground/images/filetype/filetype_sites.svg", |
| 109 | "foreground/images/filetype/filetype_team_drive.svg", |
| 110 | "foreground/images/filetype/filetype_tini.svg", |
| 111 | "foreground/images/filetype/filetype_video.svg", |
| 112 | "foreground/images/filetype/filetype_word.svg", |
| 113 | "foreground/images/volumes/android.svg", |
| 114 | "foreground/images/volumes/archive.svg", |
David Munro | f80bc76 | 2023-08-02 07:09:01 | [diff] [blame] | 115 | "foreground/images/volumes/bruschetta.svg", |
Luciano Pacheco | fe17806 | 2020-12-09 01:46:04 | [diff] [blame] | 116 | "foreground/images/volumes/camera.svg", |
| 117 | "foreground/images/volumes/cd.svg", |
| 118 | "foreground/images/volumes/computer.svg", |
| 119 | "foreground/images/volumes/devices.svg", |
| 120 | "foreground/images/volumes/downloads.svg", |
| 121 | "foreground/images/volumes/drive.svg", |
| 122 | "foreground/images/volumes/hard_drive.svg", |
Luciano Pacheco | fe17806 | 2020-12-09 01:46:04 | [diff] [blame] | 123 | "foreground/images/volumes/linux_files.svg", |
| 124 | "foreground/images/volumes/my_files.svg", |
| 125 | "foreground/images/volumes/offline.svg", |
| 126 | "foreground/images/volumes/phone.svg", |
| 127 | "foreground/images/volumes/plugin_vm_ng.svg", |
| 128 | "foreground/images/volumes/recent.svg", |
| 129 | "foreground/images/volumes/sd.svg", |
| 130 | "foreground/images/volumes/service_drive.svg", |
| 131 | "foreground/images/volumes/shared.svg", |
| 132 | "foreground/images/volumes/shortcut.svg", |
| 133 | "foreground/images/volumes/smb.svg", |
| 134 | "foreground/images/volumes/team_drive.svg", |
| 135 | "foreground/images/volumes/usb.svg", |
Luciano Pacheco | fe17806 | 2020-12-09 01:46:04 | [diff] [blame] | 136 | ] |
| 137 | } |