You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--touch_overridden_files doesn't consider generated files.
So, it doesn't try to check overridden files in src/out/.../gen.
simon-home:brave-browser simonhong$ yarn build Release --no_branding_update --touch_overridden_files=*
yarn run v1.5.1
$ node ./scripts/commands.js build Release --no_branding_update '--touch_overridden_files=*'
touch original files overridden by chromium_src...
/Volumes/SSD/brave/brave-browser/src/chrome/browser/browser_about_handler.cc is touched.
/Volumes/SSD/brave/brave-browser/src/chrome/browser/component_updater/widevine_cdm_component_installer.cc is touched.
/Volumes/SSD/brave/brave-browser/src/chrome/browser/ui/webui/help/version_updater_mac.h is touched.
/Volumes/SSD/brave/brave-browser/src/chrome/browser/ui/webui/help/version_updater_mac.mm is touched.
/Volumes/SSD/brave/brave-browser/src/chrome/common/chrome_icon_resources_win.h is touched.
/Volumes/SSD/brave/brave-browser/src/chrome/common/extensions/chrome_manifest_handlers.cc is touched.
/Volumes/SSD/brave/brave-browser/src/chrome/common/url_constants.cc is touched.
fs.js:1214
binding.utimes(pathModule._makeLong(path), atime, mtime);
^
Error: ENOENT: no such file or directory, utime '/Volumes/SSD/brave/brave-browser/src/chrome/grit/generated_resources.h'
at Object.fs.utimesSync (fs.js:1214:11)
at sourceFiles.forEach.file (/Volumes/SSD/brave/brave-browser/lib/build.js:43:8)
at Array.forEach (<anonymous>)
at touchOverriddenFiles (/Volumes/SSD/brave/brave-browser/lib/build.js:40:15)
at Command.build (/Volumes/SSD/brave/brave-browser/lib/build.js:53:5)
at Command.listener (/Volumes/SSD/brave/brave-browser/node_modules/commander/index.js:315:8)
at emitTwo (events.js:126:13)
at Command.emit (events.js:214:7)
at Command.parseArgs (/Volumes/SSD/brave/brave-browser/node_modules/commander/index.js:651:12)
at Command.parse (/Volumes/SSD/brave/brave-browser/node_modules/commander/index.js:474:21)
error An unexpected error occurred: "Command failed.
Exit code: 1
Command: sh
Arguments: -c node ./scripts/commands.js build Release --no_branding_update '--touch_overridden_files=*'
Directory: /Volumes/SSD/brave/brave-browser
Output:
".
info If you think this is a bug, please open a bug report with the information provided in "/Volumes/SSD/brave/brave-browser/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
simon-home:brave-browser simonhong$
The text was updated successfully, but these errors were encountered:
--touch_overridden_files
doesn't consider generated files.So, it doesn't try to check overridden files in src/out/.../gen.
The text was updated successfully, but these errors were encountered: