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

Issue 2133483002: Fix configuration of goma in iOS recipes. (Closed)

Created:
4 years, 5 months ago by Dirk Pranke
Modified:
4 years, 5 months ago
Reviewers:
smut, smut
CC:
chromium-reviews, infra-reviews+build_chromium.org, kjellander-cc_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/tools/build.git@master
Target Ref:
refs/heads/master
Project:
build
Visibility:
Public.

Description

Fix configuration of goma in iOS recipes. The way we were configuring the chromium module so that goma would work in compiles didn't work correctly after we switched the location of goma on the machine; the 'goma' config no longer gives the right directory, and the `ensure_goma` step wasn't being called reliably and consistently. This CL reworks things so that we call ensure_goma consistently when needed during the read_build_config() step of the ios recipes, rather than during the build() step. This CL also fixes an issue where if the GYP_DEFINES were specified as a list of strings in the build config rather than a dict, things wouldn't work right. We need this fix so that we can use goma even with GYP, in a way that is consistent between GYP and GN. R=smut@chromium.org BUG=626033 Committed: https://chromium.googlesource.com/chromium/tools/build/+/d4098d2dd3fb9ab846e3f31702afcb0843a4f4ac

Patch Set 1 #

Total comments: 5

Patch Set 2 : s/goma/use_goma/ in GYP_DEFINES, address other review feedback #

Patch Set 3 : improve wording in comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+337 lines, -70 lines) Patch
M scripts/slave/recipe_modules/ios/api.py View 1 2 2 chunks +22 lines, -10 lines 0 comments Download
M scripts/slave/recipes/ios/try.py View 1 1 chunk +38 lines, -0 lines 0 comments Download
M scripts/slave/recipes/ios/try.expected/gn.json View 3 chunks +22 lines, -22 lines 0 comments Download
A + scripts/slave/recipes/ios/try.expected/gyp_goma.json View 1 6 chunks +35 lines, -34 lines 0 comments Download
M scripts/slave/recipes/ios/unified_builder_tester.expected/goma.json View 1 2 chunks +55 lines, -1 line 0 comments Download
M scripts/slave/recipes/webrtc/ios.expected/basic.json View 1 2 chunks +55 lines, -1 line 0 comments Download
M scripts/slave/recipes/webrtc/ios.expected/no_tests.json View 1 2 chunks +55 lines, -1 line 0 comments Download
M scripts/slave/recipes/webrtc/ios.expected/trybot.json View 1 2 chunks +55 lines, -1 line 0 comments Download

Messages

Total messages: 9 (4 generated)
smut
lgtm https://codereview.chromium.org/2133483002/diff/1/scripts/slave/recipe_modules/ios/api.py File scripts/slave/recipe_modules/ios/api.py (right): https://codereview.chromium.org/2133483002/diff/1/scripts/slave/recipe_modules/ios/api.py#newcode226 scripts/slave/recipe_modules/ios/api.py:226: if use_goma: Do we need the "if 'without ...
4 years, 5 months ago (2016-07-07 22:58:28 UTC) #2
Dirk Pranke
https://codereview.chromium.org/2133483002/diff/1/scripts/slave/recipe_modules/ios/api.py File scripts/slave/recipe_modules/ios/api.py (right): https://codereview.chromium.org/2133483002/diff/1/scripts/slave/recipe_modules/ios/api.py#newcode226 scripts/slave/recipe_modules/ios/api.py:226: if use_goma: On 2016/07/07 22:58:28, smut wrote: > Do ...
4 years, 5 months ago (2016-07-07 23:05:36 UTC) #3
Dirk Pranke
https://codereview.chromium.org/2133483002/diff/1/scripts/slave/recipe_modules/ios/api.py File scripts/slave/recipe_modules/ios/api.py (right): https://codereview.chromium.org/2133483002/diff/1/scripts/slave/recipe_modules/ios/api.py#newcode234 scripts/slave/recipe_modules/ios/api.py:234: # we gett the right c.compile_py.goma_dir . On 2016/07/07 ...
4 years, 5 months ago (2016-07-07 23:05:59 UTC) #4
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/2133483002/40001
4 years, 5 months ago (2016-07-07 23:11:22 UTC) #7
commit-bot: I haz the power
4 years, 5 months ago (2016-07-07 23:15:41 UTC) #9
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/tools/build/+/d4098d2dd3fb9ab846e3...

Powered by Google App Engine
This is Rietveld 408576698