Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(429)

Issue 2626063002: Allow using the same checkout to build both iOS and macOS. (Closed)

Created:
3 years, 11 months ago by sdefresne
Modified:
3 years, 11 months ago
CC:
chromium-reviews, mac-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Allow using the same checkout to build both iOS and macOS. As it is possible to specify multiple value for target_os in .gclient, update the script build/mac_toolchain.py to download the file for the hermetic build on all those OSes. Change the path where the hermetic files are downloaded to use different path for each OS. BUG=680069 Review-Url: https://codereview.chromium.org/2626063002 Cr-Commit-Position: refs/heads/master@{#443198} Committed: https://chromium.googlesource.com/chromium/src/+/aacc2845873563b3361c0c9b2a7bec6ead4cd155

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address comments. #

Total comments: 2

Patch Set 3 : Add missing return. #

Patch Set 4 : Add missing newline. #

Total comments: 2

Patch Set 5 : Address nitpick. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -36 lines) Patch
M .gitignore View 1 chunk +1 line, -0 lines 0 comments Download
M build/mac_toolchain.py View 1 2 3 4 9 chunks +47 lines, -35 lines 0 comments Download
M build/toolchain/toolchain.gni View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 18 (9 generated)
justincohen
https://codereview.chromium.org/2626063002/diff/1/build/mac_toolchain.py File build/mac_toolchain.py (right): https://codereview.chromium.org/2626063002/diff/1/build/mac_toolchain.py#newcode238 build/mac_toolchain.py:238: print 'Using local toolchain for %s.' % target_os no ...
3 years, 11 months ago (2017-01-11 14:25:22 UTC) #2
sdefresne
Thank you for the review. Please take a look. https://codereview.chromium.org/2626063002/diff/1/build/mac_toolchain.py File build/mac_toolchain.py (right): https://codereview.chromium.org/2626063002/diff/1/build/mac_toolchain.py#newcode238 build/mac_toolchain.py:238: ...
3 years, 11 months ago (2017-01-11 14:34:15 UTC) #4
justincohen
LGTM with return https://codereview.chromium.org/2626063002/diff/20001/build/mac_toolchain.py File build/mac_toolchain.py (right): https://codereview.chromium.org/2626063002/diff/20001/build/mac_toolchain.py#newcode244 build/mac_toolchain.py:244: return_value return return return value value ...
3 years, 11 months ago (2017-01-11 14:40:57 UTC) #5
sdefresne
https://codereview.chromium.org/2626063002/diff/20001/build/mac_toolchain.py File build/mac_toolchain.py (right): https://codereview.chromium.org/2626063002/diff/20001/build/mac_toolchain.py#newcode244 build/mac_toolchain.py:244: return_value On 2017/01/11 14:40:57, justincohen wrote: > return return ...
3 years, 11 months ago (2017-01-11 14:44:44 UTC) #6
sdefresne
dpranke: can you give OWNERS approval for build/toolchain/toolchain.gni?
3 years, 11 months ago (2017-01-11 14:45:42 UTC) #8
Dirk Pranke
lgtm! https://codereview.chromium.org/2626063002/diff/60001/build/mac_toolchain.py File build/mac_toolchain.py (right): https://codereview.chromium.org/2626063002/diff/60001/build/mac_toolchain.py#newcode235 build/mac_toolchain.py:235: if target_os == "ios": Nit: 'ios', not "ios".
3 years, 11 months ago (2017-01-12 02:13:30 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2626063002/80001
3 years, 11 months ago (2017-01-12 08:45:13 UTC) #14
sdefresne
Thank you. https://codereview.chromium.org/2626063002/diff/60001/build/mac_toolchain.py File build/mac_toolchain.py (right): https://codereview.chromium.org/2626063002/diff/60001/build/mac_toolchain.py#newcode235 build/mac_toolchain.py:235: if target_os == "ios": On 2017/01/12 02:13:30, ...
3 years, 11 months ago (2017-01-12 08:45:30 UTC) #15
commit-bot: I haz the power
3 years, 11 months ago (2017-01-12 10:34:13 UTC) #18
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/aacc2845873563b3361c0c9b2a7b...

Powered by Google App Engine
This is Rietveld 408576698