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

Issue 11468014: Download arm sysroot as part of gclient hooks (Closed)

Created:
8 years ago by Sam Clegg
Modified:
8 years ago
CC:
chromium-reviews
Visibility:
Public.

Description

Download arm sysroot as part of gclient hooks. install-arm-sysroot.py is now seperated out from install-build-deps.sh so that it can be invoked independently by the gclient hooks. This addresses a couple of different issues with configuring the arm buildbots. Firstly it means that they will always have an up-to-date arm sysroot installed. Secondly, it means the script is always run as the user (and not as root) which mean the expanded files that the correct ownership. BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=171990

Patch Set 1 #

Total comments: 6

Patch Set 2 : #

Patch Set 3 : rename #

Total comments: 1

Patch Set 4 : gix nit #

Patch Set 5 : fix nit #

Total comments: 10

Patch Set 6 : fix nits #

Total comments: 4

Patch Set 7 : fix nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -36 lines) Patch
M DEPS View 1 2 3 4 5 1 chunk +9 lines, -0 lines 0 comments Download
M build/install-build-deps.sh View 1 chunk +0 lines, -36 lines 0 comments Download
A build/linux/install-arm-sysroot.py View 1 2 3 4 5 6 1 chunk +65 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
Sam Clegg
This change is a re-working of: https://codereview.chromium.org/11417041/ The change solves couple of issues that came ...
8 years ago (2012-12-07 00:40:37 UTC) #1
Sam Clegg
On 2012/12/07 00:40:37, Sam Clegg wrote: > This change is a re-working of: > > ...
8 years ago (2012-12-07 00:46:30 UTC) #2
tony
https://chromiumcodereview.appspot.com/11468014/diff/1/DEPS File DEPS (right): https://chromiumcodereview.appspot.com/11468014/diff/1/DEPS#newcode618 DEPS:618: "action": [ "python", "src/build/install-arm-sysroot.py", "--linux-only" ], Is this for ...
8 years ago (2012-12-07 01:01:42 UTC) #3
tony
Oh, I don't have a strong opinion about whether new .py files should go in ...
8 years ago (2012-12-07 01:06:19 UTC) #4
Sam Clegg
https://codereview.chromium.org/11468014/diff/1/DEPS File DEPS (right): https://codereview.chromium.org/11468014/diff/1/DEPS#newcode618 DEPS:618: "action": [ "python", "src/build/install-arm-sysroot.py", "--linux-only" ], On 2012/12/07 01:01:42, ...
8 years ago (2012-12-07 18:29:36 UTC) #5
tony
Can you go ahead and move install-arm-sysroot.py into build/linux?
8 years ago (2012-12-07 20:05:01 UTC) #6
Sam Clegg
On 2012/12/07 20:05:01, tony wrote: > Can you go ahead and move install-arm-sysroot.py into build/linux? ...
8 years ago (2012-12-07 21:14:56 UTC) #7
tony
LGTM https://codereview.chromium.org/11468014/diff/6/build/linux/install-arm-sysroot.py File build/linux/install-arm-sysroot.py (right): https://codereview.chromium.org/11468014/diff/6/build/linux/install-arm-sysroot.py#newcode30 build/linux/install-arm-sysroot.py:30: return Nit: return 0
8 years ago (2012-12-07 21:22:34 UTC) #8
iannucci
Overall nit: I would use subprocess.check_call instead of os.system, but to each his own. https://chromiumcodereview.appspot.com/11468014/diff/7008/build/linux/install-arm-sysroot.py ...
8 years ago (2012-12-07 22:43:39 UTC) #9
Sam Clegg
https://chromiumcodereview.appspot.com/11468014/diff/7008/build/linux/install-arm-sysroot.py File build/linux/install-arm-sysroot.py (right): https://chromiumcodereview.appspot.com/11468014/diff/7008/build/linux/install-arm-sysroot.py#newcode21 build/linux/install-arm-sysroot.py:21: script_dir = os.path.dirname(os.path.abspath(__file__)) On 2012/12/07 22:43:39, iannucci wrote: > ...
8 years ago (2012-12-07 23:39:19 UTC) #10
Sam Clegg
On 2012/12/07 22:43:39, iannucci wrote: > Overall nit: I would use subprocess.check_call instead of os.system, ...
8 years ago (2012-12-07 23:47:28 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sbc@chromium.org/11468014/1008
8 years ago (2012-12-07 23:47:32 UTC) #12
iannucci
lgtm https://chromiumcodereview.appspot.com/11468014/diff/1008/build/linux/install-arm-sysroot.py File build/linux/install-arm-sysroot.py (right): https://chromiumcodereview.appspot.com/11468014/diff/1008/build/linux/install-arm-sysroot.py#newcode25 build/linux/install-arm-sysroot.py:25: revision = 8002 nit: upcase for globals https://chromiumcodereview.appspot.com/11468014/diff/1008/build/linux/install-arm-sysroot.py#newcode50 ...
8 years ago (2012-12-07 23:50:08 UTC) #13
Sam Clegg
https://chromiumcodereview.appspot.com/11468014/diff/1008/build/linux/install-arm-sysroot.py File build/linux/install-arm-sysroot.py (right): https://chromiumcodereview.appspot.com/11468014/diff/1008/build/linux/install-arm-sysroot.py#newcode25 build/linux/install-arm-sysroot.py:25: revision = 8002 On 2012/12/07 23:50:08, iannucci wrote: > ...
8 years ago (2012-12-07 23:57:36 UTC) #14
iannucci
On 2012/12/07 23:57:36, Sam Clegg wrote: > https://chromiumcodereview.appspot.com/11468014/diff/1008/build/linux/install-arm-sysroot.py > File build/linux/install-arm-sysroot.py (right): > > https://chromiumcodereview.appspot.com/11468014/diff/1008/build/linux/install-arm-sysroot.py#newcode25 ...
8 years ago (2012-12-08 00:16:22 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sbc@chromium.org/11468014/15001
8 years ago (2012-12-08 17:57:33 UTC) #16
commit-bot: I haz the power
8 years ago (2012-12-08 21:04:23 UTC) #17
Message was sent while issue was closed.
Change committed as 171990

Powered by Google App Engine
This is Rietveld 408576698