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", |
| 19 | |
Luciano Pacheco | 8e7c388 | 2021-06-21 10:27:55 | [diff] [blame] | 20 | # For some unittests: |
Luciano Pacheco | 0c873f4 | 2021-06-22 12:41:44 | [diff] [blame] | 21 | "common/js/app_util.js", |
Luciano Pacheco | b2979c973 | 2021-08-23 07:15:35 | [diff] [blame] | 22 | "common/js/dialog_type.js", |
Luciano Pacheco | 0c873f4 | 2021-06-22 12:41:44 | [diff] [blame] | 23 | "common/js/lru_cache.js", |
| 24 | "common/js/file_type.js", |
| 25 | "common/js/files_app_entry_types.js", |
Luciano Pacheco | b2979c973 | 2021-08-23 07:15:35 | [diff] [blame] | 26 | "common/js/files_app_state.js", |
David Munro | 9bf4535 | 2022-06-20 04:49:44 | [diff] [blame] | 27 | "common/js/icon_util.js", |
Luciano Pacheco | 207a13aa9 | 2021-06-24 05:30:55 | [diff] [blame] | 28 | "common/js/mock_chrome.js", |
Noel Gordon | 4c008c5 | 2022-12-08 02:33:08 | [diff] [blame] | 29 | "common/js/storage.js", |
Luciano Pacheco | 207a13aa9 | 2021-06-24 05:30:55 | [diff] [blame] | 30 | "common/js/test_error_reporting.js", |
| 31 | "common/js/volume_manager_types.js", |
Bo Majewski | 9ede2ab4 | 2021-07-29 23:15:43 | [diff] [blame] | 32 | "common/js/url_constants.js", |
Alex Danilo | 41b8f89 | 2022-08-22 01:12:43 | [diff] [blame] | 33 | "externs/background/file_manager_base.js", |
Luciano Pacheco | 52ad2f0 | 2021-06-22 12:36:54 | [diff] [blame] | 34 | "externs/entry_location.js", |
| 35 | "externs/files_app_entry_interfaces.js", |
| 36 | "externs/volume_info.js", |
| 37 | "externs/volume_info_list.js", |
| 38 | "externs/volume_manager.js", |
Luciano Pacheco | 8e7c388 | 2021-06-21 10:27:55 | [diff] [blame] | 39 | |
Luciano Pacheco | fe17806 | 2020-12-09 01:46:04 | [diff] [blame] | 40 | # CSS: |
Luciano Pacheco | fe17806 | 2020-12-09 01:46:04 | [diff] [blame] | 41 | "foreground/css/combobutton.css", |
Wenbo Jie | 04929c1 | 2023-03-28 01:19:55 | [diff] [blame] | 42 | "foreground/css/combobutton_gm3.css", |
Luciano Pacheco | fe17806 | 2020-12-09 01:46:04 | [diff] [blame] | 43 | "foreground/css/common.css", |
Wenbo Jie | 01b352e | 2023-04-11 23:58:48 | [diff] [blame] | 44 | "foreground/css/common_gm3.css", |
Luciano Pacheco | fe17806 | 2020-12-09 01:46:04 | [diff] [blame] | 45 | "foreground/css/file_manager.css", |
Alex Danilo | 23e7f65c | 2022-09-02 04:37:02 | [diff] [blame] | 46 | "foreground/css/file_manager_gm3.css", |
Luciano Pacheco | fe17806 | 2020-12-09 01:46:04 | [diff] [blame] | 47 | "foreground/css/file_types.css", |
Wenbo Jie | a3db4e6 | 2023-03-22 00:13:41 | [diff] [blame] | 48 | "foreground/css/file_types_gm3.css", |
Luciano Pacheco | fe17806 | 2020-12-09 01:46:04 | [diff] [blame] | 49 | "foreground/css/list.css", |
| 50 | "foreground/css/menu.css", |
| 51 | "foreground/css/table.css", |
| 52 | "foreground/css/tree.css", |
| 53 | |
| 54 | # Images: |
Luciano Pacheco | fe17806 | 2020-12-09 01:46:04 | [diff] [blame] | 55 | "foreground/images/common/dragger.svg", |
| 56 | "foreground/images/common/ic_close.svg", |
| 57 | "foreground/images/common/ic_selected.svg", |
Luciano Pacheco | fe17806 | 2020-12-09 01:46:04 | [diff] [blame] | 58 | "foreground/images/files/ui/arrow_right.svg", |
Luciano Pacheco | fe17806 | 2020-12-09 01:46:04 | [diff] [blame] | 59 | "foreground/images/files/ui/back.svg", |
Bo Majewski | 015b582 | 2023-03-16 00:40:08 | [diff] [blame] | 60 | "foreground/images/files/ui/check.svg", |
| 61 | "foreground/images/files/ui/cloud_done.svg", |
| 62 | "foreground/images/files/ui/cloud_error.svg", |
| 63 | "foreground/images/files/ui/cloud_offline.svg", |
| 64 | "foreground/images/files/ui/cloud.svg", |
| 65 | "foreground/images/files/ui/cloud_sync.svg", |
Luciano Pacheco | fe17806 | 2020-12-09 01:46:04 | [diff] [blame] | 66 | "foreground/images/files/ui/delete_ng.svg", |
Bo Majewski | 015b582 | 2023-03-16 00:40:08 | [diff] [blame] | 67 | "foreground/images/files/ui/delete.svg", |
Luciano Pacheco | fe17806 | 2020-12-09 01:46:04 | [diff] [blame] | 68 | "foreground/images/files/ui/drive_logo.svg", |
Ben Reich | d376ccc9 | 2021-09-10 03:08:47 | [diff] [blame] | 69 | "foreground/images/files/ui/drive_offline_icon.svg", |
Wenbo Jie | 7dd57b68 | 2022-07-14 03:58:50 | [diff] [blame] | 70 | "foreground/images/files/ui/empty_folder.svg", |
Bo Majewski | 389c295 | 2023-02-03 20:31:51 | [diff] [blame] | 71 | "foreground/images/files/ui/empty_search_results.svg", |
Ben Reich | 5c462fd | 2022-09-20 08:15:13 | [diff] [blame] | 72 | "foreground/images/files/ui/empty_trash_folder.svg", |
Oleg Davydov | 14b21a6 | 2023-04-17 14:12:25 | [diff] [blame^] | 73 | "foreground/images/files/ui/encrypted.svg", |
Bo Majewski | 015b582 | 2023-03-16 00:40:08 | [diff] [blame] | 74 | "foreground/images/files/ui/error_banner_icon.svg", |
Marcello Salomao | 30058ab | 2022-10-10 08:19:46 | [diff] [blame] | 75 | "foreground/images/files/ui/error.svg", |
Luciano Pacheco | fe17806 | 2020-12-09 01:46:04 | [diff] [blame] | 76 | "foreground/images/files/ui/external_link.svg", |
Luciano Pacheco | fe17806 | 2020-12-09 01:46:04 | [diff] [blame] | 77 | "foreground/images/files/ui/filetype_placeholder_generic.svg", |
David Black | c220e26 | 2020-12-09 19:58:48 | [diff] [blame] | 78 | "foreground/images/files/ui/holding_space_welcome_image.svg", |
Luciano Pacheco | fe17806 | 2020-12-09 01:46:04 | [diff] [blame] | 79 | "foreground/images/files/ui/info.svg", |
| 80 | "foreground/images/files/ui/list_check.svg", |
| 81 | "foreground/images/files/ui/menu_ng.svg", |
Peter Marshall | b31f4923 | 2022-11-21 04:40:50 | [diff] [blame] | 82 | "foreground/images/files/ui/ms365.svg", |
Ben Reich | 24e8ec23 | 2022-10-10 05:39:07 | [diff] [blame] | 83 | "foreground/images/files/ui/nudge_star_icon.svg", |
Luciano Pacheco | fe17806 | 2020-12-09 01:46:04 | [diff] [blame] | 84 | "foreground/images/files/ui/offline.svg", |
Bo Majewski | 015b582 | 2023-03-16 00:40:08 | [diff] [blame] | 85 | "foreground/images/files/ui/photos_logo.svg", |
Luciano Pacheco | fe17806 | 2020-12-09 01:46:04 | [diff] [blame] | 86 | "foreground/images/files/ui/refresh.svg", |
Joel Hockey | d8f9172 | 2021-01-31 02:34:09 | [diff] [blame] | 87 | "foreground/images/files/ui/restore.svg", |
Luciano Pacheco | fe17806 | 2020-12-09 01:46:04 | [diff] [blame] | 88 | "foreground/images/files/ui/search_clear_filled.svg", |
Bo Majewski | 015b582 | 2023-03-16 00:40:08 | [diff] [blame] | 89 | "foreground/images/files/ui/search.svg", |
Bo Majewski | d21ea81 | 2022-11-30 06:44:51 | [diff] [blame] | 90 | "foreground/images/files/ui/select_filetype.svg", |
| 91 | "foreground/images/files/ui/select_location.svg", |
| 92 | "foreground/images/files/ui/select_time.svg", |
Luciano Pacheco | fe17806 | 2020-12-09 01:46:04 | [diff] [blame] | 93 | "foreground/images/files/ui/share_ng.svg", |
| 94 | "foreground/images/files/ui/sort_desc.svg", |
| 95 | "foreground/images/files/ui/sorting_ng.svg", |
Bo Majewski | 015b582 | 2023-03-16 00:40:08 | [diff] [blame] | 96 | "foreground/images/files/ui/state_banner_icon.svg", |
Luciano Pacheco | fe17806 | 2020-12-09 01:46:04 | [diff] [blame] | 97 | "foreground/images/files/ui/view_list.svg", |
| 98 | "foreground/images/files/ui/view_thumbnail.svg", |
| 99 | "foreground/images/files/ui/visibility_ng.svg", |
Bo Majewski | 015b582 | 2023-03-16 00:40:08 | [diff] [blame] | 100 | "foreground/images/files/ui/warning_banner_icon.svg", |
Luciano Pacheco | fe17806 | 2020-12-09 01:46:04 | [diff] [blame] | 101 | "foreground/images/files/ui/warning.svg", |
Bo Majewski | 015b582 | 2023-03-16 00:40:08 | [diff] [blame] | 102 | "foreground/images/files/ui/xf_select_dropdown.svg", |
Luciano Pacheco | fe17806 | 2020-12-09 01:46:04 | [diff] [blame] | 103 | "foreground/images/filetype/filetype_archive.svg", |
| 104 | "foreground/images/filetype/filetype_audio.svg", |
| 105 | "foreground/images/filetype/filetype_excel.svg", |
Luciano Pacheco | fe17806 | 2020-12-09 01:46:04 | [diff] [blame] | 106 | "foreground/images/filetype/filetype_folder_shared.svg", |
Bo Majewski | 015b582 | 2023-03-16 00:40:08 | [diff] [blame] | 107 | "foreground/images/filetype/filetype_folder.svg", |
Luciano Pacheco | fe17806 | 2020-12-09 01:46:04 | [diff] [blame] | 108 | "foreground/images/filetype/filetype_gdoc.svg", |
| 109 | "foreground/images/filetype/filetype_gdraw.svg", |
| 110 | "foreground/images/filetype/filetype_generic.svg", |
| 111 | "foreground/images/filetype/filetype_gform.svg", |
| 112 | "foreground/images/filetype/filetype_gmap.svg", |
| 113 | "foreground/images/filetype/filetype_gsheet.svg", |
| 114 | "foreground/images/filetype/filetype_gsite.svg", |
| 115 | "foreground/images/filetype/filetype_gslides.svg", |
| 116 | "foreground/images/filetype/filetype_gtable.svg", |
| 117 | "foreground/images/filetype/filetype_image.svg", |
| 118 | "foreground/images/filetype/filetype_pdf.svg", |
| 119 | "foreground/images/filetype/filetype_ppt.svg", |
| 120 | "foreground/images/filetype/filetype_script.svg", |
| 121 | "foreground/images/filetype/filetype_sites.svg", |
| 122 | "foreground/images/filetype/filetype_team_drive.svg", |
| 123 | "foreground/images/filetype/filetype_tini.svg", |
| 124 | "foreground/images/filetype/filetype_video.svg", |
| 125 | "foreground/images/filetype/filetype_word.svg", |
| 126 | "foreground/images/volumes/android.svg", |
| 127 | "foreground/images/volumes/archive.svg", |
Luciano Pacheco | fe17806 | 2020-12-09 01:46:04 | [diff] [blame] | 128 | "foreground/images/volumes/camera.svg", |
| 129 | "foreground/images/volumes/cd.svg", |
| 130 | "foreground/images/volumes/computer.svg", |
| 131 | "foreground/images/volumes/devices.svg", |
| 132 | "foreground/images/volumes/downloads.svg", |
| 133 | "foreground/images/volumes/drive.svg", |
| 134 | "foreground/images/volumes/hard_drive.svg", |
Luciano Pacheco | fe17806 | 2020-12-09 01:46:04 | [diff] [blame] | 135 | "foreground/images/volumes/linux_files.svg", |
| 136 | "foreground/images/volumes/my_files.svg", |
| 137 | "foreground/images/volumes/offline.svg", |
| 138 | "foreground/images/volumes/phone.svg", |
| 139 | "foreground/images/volumes/plugin_vm_ng.svg", |
| 140 | "foreground/images/volumes/recent.svg", |
| 141 | "foreground/images/volumes/sd.svg", |
| 142 | "foreground/images/volumes/service_drive.svg", |
| 143 | "foreground/images/volumes/shared.svg", |
| 144 | "foreground/images/volumes/shortcut.svg", |
| 145 | "foreground/images/volumes/smb.svg", |
| 146 | "foreground/images/volumes/team_drive.svg", |
| 147 | "foreground/images/volumes/usb.svg", |
Luciano Pacheco | fe17806 | 2020-12-09 01:46:04 | [diff] [blame] | 148 | ] |
| 149 | } |