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

Issue 2191483002: Remove dead code from compile.py. (Closed)

Created:
4 years, 4 months ago by Yoshisato Yanagisawa
Modified:
4 years, 4 months ago
Reviewers:
ukai, Nico, tikuta, shinyak
CC:
chromium-reviews, infra-reviews+build_chromium.org, kjellander-cc_chromium.org, Nico
Base URL:
https://chromium.googlesource.com/chromium/tools/build.git@master
Target Ref:
refs/heads/master
Project:
build
Visibility:
Public.

Description

Remove dead code from compile.py. Removed following code: - code to set NO_NACL_GOMA in certain hosts. Since GN become default build system for Windows, no need to set option only used by gyp. - manually disables burst mode on network failure. Now we gathers compiler_proxy.INFO via cloudtail, we do not need to disable the feature to check it does something bad or not. - setting goma.key We have already deprecated goma.key, no need to have that like this. - setting '?win' for Windows. goma_ctl.py does this job, we do not need to have the code here. - options.compiler in ('goma', 'goma-clang') in goma_teardown. The same check has been done in goma_setup, and it sets options.goma_dir = None if goma is not used, no need to have duplicated check. - args option in get_target_build_dir get_target_build_dir does not use args. Minor fixes: - mentioned about env modification in goma_setup function comment. - like other options do, overwrite env if options.goma_hermetic is set. - Fixed the explanation on why goma_ctl.py stop should be done. BUG=631920 Committed: https://chromium.googlesource.com/chromium/tools/build/+/c5770707665087d737ef6e738622a1bd7bc6609b

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -47 lines) Patch
M scripts/slave/compile.py View 8 chunks +9 lines, -47 lines 0 comments Download

Messages

Total messages: 11 (4 generated)
Yoshisato Yanagisawa
4 years, 4 months ago (2016-07-27 08:25:19 UTC) #2
shinyak
lgtm
4 years, 4 months ago (2016-07-27 08:40:52 UTC) #3
tikuta
lgtm
4 years, 4 months ago (2016-07-27 08:44:09 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/2191483002/1
4 years, 4 months ago (2016-07-29 00:52:08 UTC) #6
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://chromium.googlesource.com/chromium/tools/build/+/c5770707665087d737ef6e738622a1bd7bc6609b
4 years, 4 months ago (2016-07-29 00:56:50 UTC) #8
Nico
Thank you for the cleanup! Note that branch builders also use this script (and the ...
4 years, 4 months ago (2016-07-29 17:33:20 UTC) #10
Yoshisato Yanagisawa
4 years, 4 months ago (2016-08-01 02:13:42 UTC) #11
Message was sent while issue was closed.
On 2016/07/29 17:33:20, Nico (ooo until Aug 1) wrote:
> Thank you for the cleanup!
> 
> Note that branch builders also use this script (and the latest version of it),
> and the stable branch doesn't use gn yet. I'm not sure if the branch builders
> use goma though. If they don't, this change should be ok.

If you are talking about NO_NACL_GOMA, all hostnames are chromium.fyi bots.

Powered by Google App Engine
This is Rietveld 408576698