Remove binary files from sources (Win)
No changes to generated ninja files, except that chrome_exe_version_manifest now does not generate an empty source_set. chrome/app/version_assembly/BUILD.gn: The process_version gn template generates data files from template files (eg. myfile.h.in -> myfile.h). The gn template automatically adds a source_set with the generated files in it, but it may be useless if only binary files were generated, and in fact gn will now error-out if any binary files are added. Adding "process_only=true" disables creation of the source_set, so we add this in cases where the output files are all binary files. chrome/credential_provider/gaiacp/BUILD.gn: gcapi_dll_version.rc.version already listed in inputs in [1]. chrome/installer/mini_installer/BUILD.gn: chrome.release already listed in inputs in [2]. chrome/installer/setup/BUILD.gn: setup_exe_version.rc.version is already listed as the template_file of a process_version_rc_template in [3]. chrome/test/BUILD.gn: chrome_version.rc.version is already listed as the _template_file in process_version_rc_template as appropriate in [4]. Likely odd code left over from gyp->gn conversion. *.cur: Implicitly added by grit rule for ui_unscaled_resources.grd in [5]. NOPRESUBMIT necessary to avoid header checks for com_imported_mstscax.h [1] https://cs.chromium.org/chromium/src/chrome/credential_provider/gaiacp/BUILD.gn?q=gaia_credential_provider.rgs&sq=package:chromium&g=0&l=189 [2] https://cs.chromium.org/chromium/src/chrome/installer/mini_installer/BUILD.gn?rcl=56a647b2510baf3b314fab1130dbe08c191c9072&l=140 [3] https://cs.chromium.org/chromium/src/chrome/installer/setup/BUILD.gn?type=cs&q=setup_exe_version.rc.version+file:%5C.gn&sq=package:chromium&g=0&l=120 [4] https://cs.chromium.org/chromium/src/chrome/process_version_rc_template.gni?type=cs&q=chrome_version.rc.version+file:%5C.gn&sq=package:chromium&g=0&l=45 [5] https://cs.chromium.org/chromium/src/ui/resources/ui_unscaled_resources.grd?type=cs&q=aliasb.cur&sq=package:chromium&g=0&l=12 BUG=964411 NOPRESUBMIT=true Change-Id: I74549063376162091d7422c3769c1c3cb2ae4e67 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1652512Reviewed-by:Scott Violet <sky@chromium.org> Commit-Queue: Thomas Anderson <thomasanderson@chromium.org> Auto-Submit: Thomas Anderson <thomasanderson@chromium.org> Cr-Commit-Position: refs/heads/master@{#668473}
Showing
File moved
Please register or sign in to comment