| # Copyright 2020 The Chromium Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| import("//ui/webui/resources/tools/generate_grd.gni") |
| |
| # TODO: Remove this file copy when breadcrumb.js supports only JS modules. |
| copy("fix_broken_images") { |
| sources = [ |
| "foreground/images/files/ui/arrow_right.svg", |
| "foreground/images/files/ui/menu_ng.svg", |
| ] |
| outputs = [ "$target_gen_dir/images/files/ui/{{source_file_part}}" ] |
| } |
| |
| generated_static_grdp = "$target_gen_dir/static_resources.grdp" |
| |
| generate_grd("build_static_grdp") { |
| out_grd = generated_static_grdp |
| grd_prefix = "file_manager" |
| |
| resource_path_prefix = "file_manager" |
| |
| input_files_base_dir = rebase_path(".", "//") |
| |
| input_files = [ |
| "main.html", |
| |
| # For video player unittest: |
| "common/js/notifications_browser_proxy.js", |
| |
| # For some unittests: |
| "common/js/app_util.js", |
| "common/js/lru_cache.js", |
| "common/js/file_type.js", |
| "common/js/files_app_entry_types.js", |
| "common/js/mock_chrome.js", |
| "common/js/power.js", |
| "common/js/storage_adapter.js", |
| "common/js/test_error_reporting.js", |
| "common/js/volume_manager_types.js", |
| "common/js/url_constants.js", |
| "common/js/xfm.js", |
| "foreground/js/metadata/image_orientation.js", |
| "externs/background/background_base.js", |
| "externs/entry_location.js", |
| "externs/files_app_entry_interfaces.js", |
| "externs/volume_info.js", |
| "externs/volume_info_list.js", |
| "externs/volume_manager.js", |
| |
| # CSS: |
| "foreground/css/combobutton.css", |
| "foreground/css/common.css", |
| "foreground/css/file_manager.css", |
| "foreground/css/file_status.css", |
| "foreground/css/file_types.css", |
| "foreground/css/list.css", |
| "foreground/css/menu.css", |
| "foreground/css/table.css", |
| "foreground/css/tree.css", |
| |
| # Images: |
| "foreground/images/common/check_no_box.png", |
| "foreground/images/common/2x/check_no_box.png", |
| "foreground/images/common/disclosure_arrow_dk_grey_down.png", |
| "foreground/images/common/2x/disclosure_arrow_dk_grey_down.png", |
| "foreground/images/common/dragger.svg", |
| "foreground/images/common/ic_close.svg", |
| "foreground/images/common/ic_selected.svg", |
| "foreground/images/files/ui/2x/person_add.png", |
| "foreground/images/files/ui/2x/search.png", |
| "foreground/images/files/ui/2x/service_drive.png", |
| "foreground/images/files/ui/arrow_right.svg", |
| "foreground/images/files/ui/arrow_right_white.png", |
| "foreground/images/files/ui/2x/arrow_right_white.png", |
| "foreground/images/files/ui/back.svg", |
| "foreground/images/files/ui/cloud_import_syncing.png", |
| "foreground/images/files/ui/2x/cloud_import_syncing.png", |
| "foreground/images/files/ui/delete.svg", |
| "foreground/images/files/ui/delete_ng.svg", |
| "foreground/images/files/ui/drive_logo.svg", |
| "foreground/images/files/ui/photos_logo.svg", |
| "foreground/images/files/ui/external_link.svg", |
| "foreground/images/files/ui/filetype_placeholder_audio.png", |
| "foreground/images/files/ui/2x/filetype_placeholder_audio.png", |
| "foreground/images/files/ui/filetype_placeholder_generic.png", |
| "foreground/images/files/ui/2x/filetype_placeholder_generic.png", |
| "foreground/images/files/ui/filetype_placeholder_generic.svg", |
| "foreground/images/files/ui/filetype_placeholder_image.png", |
| "foreground/images/files/ui/2x/filetype_placeholder_image.png", |
| "foreground/images/files/ui/filetype_placeholder_video.png", |
| "foreground/images/files/ui/2x/filetype_placeholder_video.png", |
| "foreground/images/files/ui/holding_space_welcome_image.svg", |
| "foreground/images/files/ui/info.svg", |
| "foreground/images/files/ui/list_check.svg", |
| "foreground/images/files/ui/menu_ng.svg", |
| "foreground/images/files/ui/offline.svg", |
| "foreground/images/files/ui/person_add.png", |
| "foreground/images/files/ui/quick_view/filetype_audio.png", |
| "foreground/images/files/ui/quick_view/2x/filetype_audio.png", |
| "foreground/images/files/ui/quick_view/filetype_folder.png", |
| "foreground/images/files/ui/quick_view/2x/filetype_folder.png", |
| "foreground/images/files/ui/quick_view/filetype_generic.png", |
| "foreground/images/files/ui/quick_view/2x/filetype_generic.png", |
| "foreground/images/files/ui/quick_view/filetype_image.png", |
| "foreground/images/files/ui/quick_view/2x/filetype_image.png", |
| "foreground/images/files/ui/quick_view/filetype_video.png", |
| "foreground/images/files/ui/quick_view/2x/filetype_video.png", |
| "foreground/images/files/ui/refresh.svg", |
| "foreground/images/files/ui/restore.svg", |
| "foreground/images/files/ui/search.png", |
| "foreground/images/files/ui/search.svg", |
| "foreground/images/files/ui/search_clear_filled.svg", |
| "foreground/images/files/ui/service_drive.png", |
| "foreground/images/files/ui/share_ng.svg", |
| "foreground/images/files/ui/sort_desc.svg", |
| "foreground/images/files/ui/sorting_ng.svg", |
| "foreground/images/files/ui/view_list.svg", |
| "foreground/images/files/ui/view_thumbnail.svg", |
| "foreground/images/files/ui/visibility_ng.svg", |
| "foreground/images/files/ui/warning.svg", |
| "foreground/images/filetype/filetype_archive.svg", |
| "foreground/images/filetype/filetype_audio.svg", |
| "foreground/images/filetype/filetype_excel.svg", |
| "foreground/images/filetype/filetype_folder.svg", |
| "foreground/images/filetype/filetype_folder_shared.svg", |
| "foreground/images/filetype/filetype_gdoc.svg", |
| "foreground/images/filetype/filetype_gdraw.svg", |
| "foreground/images/filetype/filetype_generic.svg", |
| "foreground/images/filetype/filetype_gform.svg", |
| "foreground/images/filetype/filetype_gmap.svg", |
| "foreground/images/filetype/filetype_gsheet.svg", |
| "foreground/images/filetype/filetype_gsite.svg", |
| "foreground/images/filetype/filetype_gslides.svg", |
| "foreground/images/filetype/filetype_gtable.svg", |
| "foreground/images/filetype/filetype_image.svg", |
| "foreground/images/filetype/filetype_pdf.svg", |
| "foreground/images/filetype/filetype_ppt.svg", |
| "foreground/images/filetype/filetype_script.svg", |
| "foreground/images/filetype/filetype_sites.svg", |
| "foreground/images/filetype/filetype_team_drive.svg", |
| "foreground/images/filetype/filetype_tini.svg", |
| "foreground/images/filetype/filetype_video.svg", |
| "foreground/images/filetype/filetype_word.svg", |
| "foreground/images/volumes/android.svg", |
| "foreground/images/volumes/archive.svg", |
| "foreground/images/volumes/audio.svg", |
| "foreground/images/volumes/camera.svg", |
| "foreground/images/volumes/cd.svg", |
| "foreground/images/volumes/computer.svg", |
| "foreground/images/volumes/devices.svg", |
| "foreground/images/volumes/downloads.svg", |
| "foreground/images/volumes/drive.svg", |
| "foreground/images/volumes/hard_drive.svg", |
| "foreground/images/volumes/images.svg", |
| "foreground/images/volumes/linux_files.svg", |
| "foreground/images/volumes/my_files.svg", |
| "foreground/images/volumes/offline.svg", |
| "foreground/images/volumes/phone.svg", |
| "foreground/images/volumes/plugin_vm_ng.svg", |
| "foreground/images/volumes/recent.svg", |
| "foreground/images/volumes/sd.svg", |
| "foreground/images/volumes/service_drive.svg", |
| "foreground/images/volumes/shared.svg", |
| "foreground/images/volumes/shortcut.svg", |
| "foreground/images/volumes/smb.svg", |
| "foreground/images/volumes/team_drive.svg", |
| "foreground/images/volumes/usb.svg", |
| "foreground/images/volumes/videos.svg", |
| ] |
| } |