|
|
Chromium Code Reviews|
Created:
4 years, 8 months ago by brucedawson Modified:
4 years, 8 months ago CC:
chromium-reviews Base URL:
https://chromium.googlesource.com/chromium/src.git@master Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionDetect debug/release of out\Default from args.gn
The mini_installer build process was detecting debug versus release
based purely on the directory name, which fails on many gn setups
because there is no standard naming convention. This updates the
debug versus release detection by looking in args.gn if found.
BUG=596885
Committed: https://crrev.com/4d38569e5af8de3a252fcba0e465cfa7cbb40e2d
Cr-Commit-Position: refs/heads/master@{#385362}
Patch Set 1 #
Total comments: 4
Patch Set 2 : Comment and printout tweaks per CR #Messages
Total messages: 22 (10 generated)
Description was changed from ========== Detect debug/release of out\Default from args.gn The mini_installer build process was detecting debug versus release based purely on the directory name, which fails on many gn setups because there is no standard naming convention. This updates the debug versus release detection by looking in args.gn if found. BUG=596885 ========== to ========== Detect debug/release of out\Default from args.gn The mini_installer build process was detecting debug versus release based purely on the directory name, which fails on many gn setups because there is no standard naming convention. This updates the debug versus release detection by looking in args.gn if found. BUG=596885 ==========
brucedawson@chromium.org changed reviewers: + dpranke@chromium.org
I added build type detection for out\Default. PTAL.
lgtm
The CQ bit was checked by brucedawson@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1837233003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1837233003/1
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presub...)
brucedawson@chromium.org changed reviewers: + robertshield@chromium.org
Need owner approval. Maybe I should become an owner?
To clarify - robertshield@ - please approve as owner. I'll request becoming an owner separately.
LGTM w/nits https://codereview.chromium.org/1837233003/diff/1/chrome/tools/build/win/crea... File chrome/tools/build/win/create_installer_archive.py (right): https://codereview.chromium.org/1837233003/diff/1/chrome/tools/build/win/crea... chrome/tools/build/win/create_installer_archive.py:444: m = re.match('^\s*is_debug\s*=\s*false(\s*$|\s*#.*$)', l) Could you add a comment here that this regex is correct as per https://chromium.googlesource.com/chromium/src/+/master/tools/gn/docs/referen... ? https://codereview.chromium.org/1837233003/diff/1/chrome/tools/build/win/crea... chrome/tools/build/win/create_installer_archive.py:466: "output directory or args.gn, assuming Release build.") What do you think about appending some explicit wording around: "If setup.exe fails to launch, please check your build configuration is Release." This should be a failure mode, so rarely encountered, and when it is encountered, setup.exe not launching will be expected in cases where we guessed the build mode incorrectly.
https://codereview.chromium.org/1837233003/diff/1/chrome/tools/build/win/crea... File chrome/tools/build/win/create_installer_archive.py (right): https://codereview.chromium.org/1837233003/diff/1/chrome/tools/build/win/crea... chrome/tools/build/win/create_installer_archive.py:444: m = re.match('^\s*is_debug\s*=\s*false(\s*$|\s*#.*$)', l) On 2016/04/05 23:43:43, robertshield wrote: > Could you add a comment here that this regex is correct as per > https://chromium.googlesource.com/chromium/src/+/master/tools/gn/docs/referen... > ? Done. https://codereview.chromium.org/1837233003/diff/1/chrome/tools/build/win/crea... chrome/tools/build/win/create_installer_archive.py:466: "output directory or args.gn, assuming Release build.") On 2016/04/05 23:43:43, robertshield wrote: > What do you think about appending some explicit wording around: "If setup.exe > fails to launch, please check your build configuration is Release." > > This should be a failure mode, so rarely encountered, and when it is > encountered, setup.exe not launching will be expected in cases where we guessed > the build mode incorrectly. Done.
kulshin@chromium.org changed reviewers: + kulshin@chromium.org
lgtm
The CQ bit was checked by brucedawson@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from dpranke@chromium.org, robertshield@chromium.org Link to the patchset: https://codereview.chromium.org/1837233003/#ps20001 (title: "Comment and printout tweaks per CR")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1837233003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1837233003/20001
Message was sent while issue was closed.
Description was changed from ========== Detect debug/release of out\Default from args.gn The mini_installer build process was detecting debug versus release based purely on the directory name, which fails on many gn setups because there is no standard naming convention. This updates the debug versus release detection by looking in args.gn if found. BUG=596885 ========== to ========== Detect debug/release of out\Default from args.gn The mini_installer build process was detecting debug versus release based purely on the directory name, which fails on many gn setups because there is no standard naming convention. This updates the debug versus release detection by looking in args.gn if found. BUG=596885 ==========
Message was sent while issue was closed.
Committed patchset #2 (id:20001)
Message was sent while issue was closed.
Description was changed from ========== Detect debug/release of out\Default from args.gn The mini_installer build process was detecting debug versus release based purely on the directory name, which fails on many gn setups because there is no standard naming convention. This updates the debug versus release detection by looking in args.gn if found. BUG=596885 ========== to ========== Detect debug/release of out\Default from args.gn The mini_installer build process was detecting debug versus release based purely on the directory name, which fails on many gn setups because there is no standard naming convention. This updates the debug versus release detection by looking in args.gn if found. BUG=596885 Committed: https://crrev.com/4d38569e5af8de3a252fcba0e465cfa7cbb40e2d Cr-Commit-Position: refs/heads/master@{#385362} ==========
Message was sent while issue was closed.
Patchset 2 (id:??) landed as https://crrev.com/4d38569e5af8de3a252fcba0e465cfa7cbb40e2d Cr-Commit-Position: refs/heads/master@{#385362} |
