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

Issue 2178193003: Move goma_teardown, goma_setup and determine_goma_jobs to goma_utils.py (Closed)

Created:
4 years, 4 months ago by tikuta
Modified:
4 years, 4 months ago
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

Move goma_teardown, goma_setup and determine_goma_jobs to goma_utils.py BUG=627693

Patch Set 1 #

Total comments: 10

Patch Set 2 : Move some code to goma_utils #

Total comments: 5

Patch Set 3 : separate option #

Unified diffs Side-by-side diffs Delta from patch set Stats (+396 lines, -361 lines) Patch
M scripts/slave/compile.py View 1 2 8 chunks +23 lines, -361 lines 0 comments Download
M scripts/slave/goma_utils.py View 1 2 3 chunks +373 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (6 generated)
tikuta
4 years, 4 months ago (2016-07-26 03:03:41 UTC) #6
shinyak
lgtm
4 years, 4 months ago (2016-07-26 04:36:10 UTC) #7
Yoshisato Yanagisawa
Can you eliminate tight coupling of compile.py and goma_utils.py?
4 years, 4 months ago (2016-07-26 04:57:55 UTC) #8
tikuta
On 2016/07/26 04:57:55, Yoshisato Yanagisawa wrote: > Can you eliminate tight coupling of compile.py and ...
4 years, 4 months ago (2016-07-26 05:35:21 UTC) #9
ukai
lgtm https://codereview.chromium.org/2178193003/diff/1/scripts/slave/compile.py File scripts/slave/compile.py (right): https://codereview.chromium.org/2178193003/diff/1/scripts/slave/compile.py#newcode28 scripts/slave/compile.py:28: DEFAULT_GOMA_CACHE_DIR = os.path.join(SLAVE_DIR, 'goma_cache') can't move it to ...
4 years, 4 months ago (2016-07-27 01:13:29 UTC) #10
tikuta
https://codereview.chromium.org/2178193003/diff/1/scripts/slave/compile.py File scripts/slave/compile.py (right): https://codereview.chromium.org/2178193003/diff/1/scripts/slave/compile.py#newcode28 scripts/slave/compile.py:28: DEFAULT_GOMA_CACHE_DIR = os.path.join(SLAVE_DIR, 'goma_cache') On 2016/07/27 01:13:29, ukai wrote: ...
4 years, 4 months ago (2016-07-27 02:33:30 UTC) #11
Yoshisato Yanagisawa
What is goal of this refactoring? To modify goma_setup and goma_teardown, developers need to read ...
4 years, 4 months ago (2016-07-27 02:54:47 UTC) #12
ukai
https://codereview.chromium.org/2178193003/diff/20001/scripts/slave/goma_utils.py File scripts/slave/goma_utils.py (right): https://codereview.chromium.org/2178193003/diff/20001/scripts/slave/goma_utils.py#newcode394 scripts/slave/goma_utils.py:394: # HACK(shinyak, yyanagisawa, goma): Windows NO_NACL_GOMA (crbug.com/390764) On 2016/07/27 ...
4 years, 4 months ago (2016-07-27 06:52:54 UTC) #13
Yoshisato Yanagisawa
https://codereview.chromium.org/2178193003/diff/20001/scripts/slave/goma_utils.py File scripts/slave/goma_utils.py (right): https://codereview.chromium.org/2178193003/diff/20001/scripts/slave/goma_utils.py#newcode394 scripts/slave/goma_utils.py:394: # HACK(shinyak, yyanagisawa, goma): Windows NO_NACL_GOMA (crbug.com/390764) On 2016/07/27 ...
4 years, 4 months ago (2016-07-27 07:02:31 UTC) #14
tikuta
4 years, 4 months ago (2016-08-12 07:37:41 UTC) #15
I'll fix the issue in other way.
I close this issue.

Powered by Google App Engine
This is Rietveld 408576698