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

Issue 1493043002: GN: Add an assert that sysroot exists (Closed)

Created:
5 years ago by agrieve
Modified:
5 years ago
Reviewers:
Dirk Pranke, dpranke, brettw
CC:
chromium-reviews, Lei Zhang, Sam Clegg
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

GN: Add an assert that sysroot exists BUG=564869 Committed: https://crrev.com/45c8e9fdd57960affdfc7712faad605920eed3be Cr-Commit-Position: refs/heads/master@{#363053}

Patch Set 1 #

Total comments: 2

Patch Set 2 : remove script changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -0 lines) Patch
M .gn View 1 chunk +1 line, -0 lines 0 comments Download
M build/config/sysroot.gni View 1 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (5 generated)
agrieve
dpranke - plz review. brettw - for .gn OWNERS.
5 years ago (2015-12-02 21:07:45 UTC) #2
Dirk Pranke
lgtm. my comment applies to cleanup we might want to do in a subsequent CL. ...
5 years ago (2015-12-02 22:55:44 UTC) #4
agrieve
https://codereview.chromium.org/1493043002/diff/1/build/linux/sysroot_scripts/install-sysroot.py File build/linux/sysroot_scripts/install-sysroot.py (right): https://codereview.chromium.org/1493043002/diff/1/build/linux/sysroot_scripts/install-sysroot.py#newcode58 build/linux/sysroot_scripts/install-sysroot.py:58: valid_archs = ['arm', 'i386', 'amd64', 'mips'] + ARCH_MAP.keys() On ...
5 years ago (2015-12-03 01:49:29 UTC) #5
brettw
On 2015/12/03 01:49:29, agrieve wrote: > https://codereview.chromium.org/1493043002/diff/1/build/linux/sysroot_scripts/install-sysroot.py > File build/linux/sysroot_scripts/install-sysroot.py (right): > > https://codereview.chromium.org/1493043002/diff/1/build/linux/sysroot_scripts/install-sysroot.py#newcode58 > ...
5 years ago (2015-12-03 17:57:53 UTC) #6
agrieve
On 2015/12/03 17:57:53, brettw wrote: > On 2015/12/03 01:49:29, agrieve wrote: > > > https://codereview.chromium.org/1493043002/diff/1/build/linux/sysroot_scripts/install-sysroot.py ...
5 years ago (2015-12-03 18:06:56 UTC) #7
brettw
lgtm
5 years ago (2015-12-03 20:11:00 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1493043002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1493043002/20001
5 years ago (2015-12-03 20:14:13 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years ago (2015-12-03 20:56:58 UTC) #12
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/45c8e9fdd57960affdfc7712faad605920eed3be Cr-Commit-Position: refs/heads/master@{#363053}
5 years ago (2015-12-03 20:57:58 UTC) #14
brettw
5 years ago (2015-12-03 21:10:00 UTC) #15
Message was sent while issue was closed.
For the Windows toolchain setup, I was thinking it would be good to have a
function that checks the timestamp of a file, or compares two file's
timetamps. That way we can avoid looking for VC and copying CRT files
around every time if they're up-to-date. Such a function might also return
0 if the file doesn't exist, allowing existence checks. I haven't thought
of any horrifying ways that this will be misused, but I've been wrong
before.

On Wed, Dec 2, 2015 at 2:55 PM, <dpranke@chromium.org> wrote:

> lgtm. my comment applies to cleanup we might want to do in a subsequent CL.
>
> It might be nice if GN had a built in primitive to test for file or
> directory
> existence, so we didn't need to shell out for this. I don't know how many
> other
> places might want this, though, and whether this might be prone to "abuse"
> if we
> provide it.
>
>
>
>
https://codereview.chromium.org/1493043002/diff/1/build/linux/sysroot_scripts...
> File build/linux/sysroot_scripts/install-sysroot.py (right):
>
>
>
https://codereview.chromium.org/1493043002/diff/1/build/linux/sysroot_scripts...
> build/linux/sysroot_scripts/install-sysroot.py:58: valid_archs = ['arm',
> 'i386', 'amd64', 'mips'] + ARCH_MAP.keys()
> why do we need to support both 'i386' and 'x86' ? Can we just require
> users to pass in 'x86' or 'x64' instead?
>
> https://codereview.chromium.org/1493043002/
>

-- 
You received this message because you are subscribed to the Google Groups
"Chromium-reviews" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698