Luciano Pacheco | fe17806 | 2020-12-09 01:46:04 | [diff] [blame] | 1 | # Copyright 2020 The Chromium Authors. All rights reserved. |
| 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 | |
Luciano Pacheco | 2409ec43 | 2021-01-21 06:56:35 | [diff] [blame] | 7 | # TODO: Remove this file copy when breadcrumb.js supports only JS modules. |
| 8 | copy("fix_broken_images") { |
| 9 | sources = [ |
| 10 | "foreground/images/files/ui/arrow_right.svg", |
| 11 | "foreground/images/files/ui/menu_ng.svg", |
| 12 | ] |
| 13 | outputs = [ "$target_gen_dir/images/files/ui/{{source_file_part}}" ] |
| 14 | } |
| 15 | |
Luciano Pacheco | fe17806 | 2020-12-09 01:46:04 | [diff] [blame] | 16 | generated_static_grdp = "$target_gen_dir/static_resources.grdp" |
| 17 | |
| 18 | generate_grd("build_static_grdp") { |
| 19 | out_grd = generated_static_grdp |
| 20 | grd_prefix = "file_manager" |
| 21 | |
| 22 | resource_path_prefix = "file_manager" |
| 23 | |
| 24 | input_files_base_dir = rebase_path(".", "//") |
| 25 | |
| 26 | input_files = [ |
Luciano Pacheco | 58cbde10 | 2021-05-31 06:03:09 | [diff] [blame] | 27 | "main.html", |
| 28 | |
Luciano Pacheco | e3432ef | 2021-06-11 01:36:10 | [diff] [blame^] | 29 | # For video player unittest: |
| 30 | "common/js/notifications_browser_proxy.js", |
| 31 | |
Luciano Pacheco | fe17806 | 2020-12-09 01:46:04 | [diff] [blame] | 32 | # CSS: |
Luciano Pacheco | fe17806 | 2020-12-09 01:46:04 | [diff] [blame] | 33 | "foreground/css/combobutton.css", |
| 34 | "foreground/css/common.css", |
| 35 | "foreground/css/file_manager.css", |
| 36 | "foreground/css/file_status.css", |
| 37 | "foreground/css/file_types.css", |
| 38 | "foreground/css/list.css", |
| 39 | "foreground/css/menu.css", |
| 40 | "foreground/css/table.css", |
| 41 | "foreground/css/tree.css", |
| 42 | |
| 43 | # Images: |
| 44 | "foreground/images/common/check_no_box.png", |
| 45 | "foreground/images/common/2x/check_no_box.png", |
| 46 | "foreground/images/common/disclosure_arrow_dk_grey_down.png", |
| 47 | "foreground/images/common/2x/disclosure_arrow_dk_grey_down.png", |
| 48 | "foreground/images/common/dragger.svg", |
| 49 | "foreground/images/common/ic_close.svg", |
| 50 | "foreground/images/common/ic_selected.svg", |
| 51 | "foreground/images/files/ui/2x/person_add.png", |
| 52 | "foreground/images/files/ui/2x/search.png", |
| 53 | "foreground/images/files/ui/2x/service_drive.png", |
| 54 | "foreground/images/files/ui/arrow_right.svg", |
| 55 | "foreground/images/files/ui/arrow_right_white.png", |
| 56 | "foreground/images/files/ui/2x/arrow_right_white.png", |
| 57 | "foreground/images/files/ui/back.svg", |
| 58 | "foreground/images/files/ui/cloud_import_syncing.png", |
| 59 | "foreground/images/files/ui/2x/cloud_import_syncing.png", |
| 60 | "foreground/images/files/ui/delete.svg", |
| 61 | "foreground/images/files/ui/delete_ng.svg", |
| 62 | "foreground/images/files/ui/drive_logo.svg", |
Alexander Bolodurin | 916f0a25 | 2021-03-02 10:48:55 | [diff] [blame] | 63 | "foreground/images/files/ui/photos_logo.svg", |
Luciano Pacheco | fe17806 | 2020-12-09 01:46:04 | [diff] [blame] | 64 | "foreground/images/files/ui/external_link.svg", |
| 65 | "foreground/images/files/ui/filetype_placeholder_audio.png", |
| 66 | "foreground/images/files/ui/2x/filetype_placeholder_audio.png", |
| 67 | "foreground/images/files/ui/filetype_placeholder_generic.png", |
| 68 | "foreground/images/files/ui/2x/filetype_placeholder_generic.png", |
| 69 | "foreground/images/files/ui/filetype_placeholder_generic.svg", |
| 70 | "foreground/images/files/ui/filetype_placeholder_image.png", |
| 71 | "foreground/images/files/ui/2x/filetype_placeholder_image.png", |
| 72 | "foreground/images/files/ui/filetype_placeholder_video.png", |
| 73 | "foreground/images/files/ui/2x/filetype_placeholder_video.png", |
David Black | c220e26 | 2020-12-09 19:58:48 | [diff] [blame] | 74 | "foreground/images/files/ui/holding_space_welcome_image.svg", |
Luciano Pacheco | fe17806 | 2020-12-09 01:46:04 | [diff] [blame] | 75 | "foreground/images/files/ui/info.svg", |
| 76 | "foreground/images/files/ui/list_check.svg", |
| 77 | "foreground/images/files/ui/menu_ng.svg", |
| 78 | "foreground/images/files/ui/offline.svg", |
| 79 | "foreground/images/files/ui/person_add.png", |
| 80 | "foreground/images/files/ui/quick_view/filetype_audio.png", |
| 81 | "foreground/images/files/ui/quick_view/2x/filetype_audio.png", |
| 82 | "foreground/images/files/ui/quick_view/filetype_folder.png", |
| 83 | "foreground/images/files/ui/quick_view/2x/filetype_folder.png", |
| 84 | "foreground/images/files/ui/quick_view/filetype_generic.png", |
| 85 | "foreground/images/files/ui/quick_view/2x/filetype_generic.png", |
| 86 | "foreground/images/files/ui/quick_view/filetype_image.png", |
| 87 | "foreground/images/files/ui/quick_view/2x/filetype_image.png", |
| 88 | "foreground/images/files/ui/quick_view/filetype_video.png", |
| 89 | "foreground/images/files/ui/quick_view/2x/filetype_video.png", |
| 90 | "foreground/images/files/ui/refresh.svg", |
Joel Hockey | d8f9172 | 2021-01-31 02:34:09 | [diff] [blame] | 91 | "foreground/images/files/ui/restore.svg", |
Luciano Pacheco | fe17806 | 2020-12-09 01:46:04 | [diff] [blame] | 92 | "foreground/images/files/ui/search.png", |
| 93 | "foreground/images/files/ui/search.svg", |
| 94 | "foreground/images/files/ui/search_clear_filled.svg", |
| 95 | "foreground/images/files/ui/service_drive.png", |
| 96 | "foreground/images/files/ui/share_ng.svg", |
| 97 | "foreground/images/files/ui/sort_desc.svg", |
| 98 | "foreground/images/files/ui/sorting_ng.svg", |
Luciano Pacheco | fe17806 | 2020-12-09 01:46:04 | [diff] [blame] | 99 | "foreground/images/files/ui/view_list.svg", |
| 100 | "foreground/images/files/ui/view_thumbnail.svg", |
| 101 | "foreground/images/files/ui/visibility_ng.svg", |
| 102 | "foreground/images/files/ui/warning.svg", |
| 103 | "foreground/images/filetype/filetype_archive.svg", |
| 104 | "foreground/images/filetype/filetype_audio.svg", |
| 105 | "foreground/images/filetype/filetype_excel.svg", |
| 106 | "foreground/images/filetype/filetype_folder.svg", |
| 107 | "foreground/images/filetype/filetype_folder_shared.svg", |
| 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", |
| 128 | "foreground/images/volumes/audio.svg", |
| 129 | "foreground/images/volumes/camera.svg", |
| 130 | "foreground/images/volumes/cd.svg", |
| 131 | "foreground/images/volumes/computer.svg", |
| 132 | "foreground/images/volumes/devices.svg", |
| 133 | "foreground/images/volumes/downloads.svg", |
| 134 | "foreground/images/volumes/drive.svg", |
| 135 | "foreground/images/volumes/hard_drive.svg", |
| 136 | "foreground/images/volumes/images.svg", |
| 137 | "foreground/images/volumes/linux_files.svg", |
| 138 | "foreground/images/volumes/my_files.svg", |
| 139 | "foreground/images/volumes/offline.svg", |
| 140 | "foreground/images/volumes/phone.svg", |
| 141 | "foreground/images/volumes/plugin_vm_ng.svg", |
| 142 | "foreground/images/volumes/recent.svg", |
| 143 | "foreground/images/volumes/sd.svg", |
| 144 | "foreground/images/volumes/service_drive.svg", |
| 145 | "foreground/images/volumes/shared.svg", |
| 146 | "foreground/images/volumes/shortcut.svg", |
| 147 | "foreground/images/volumes/smb.svg", |
| 148 | "foreground/images/volumes/team_drive.svg", |
| 149 | "foreground/images/volumes/usb.svg", |
| 150 | "foreground/images/volumes/videos.svg", |
| 151 | ] |
| 152 | } |