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

Issue 683063005: Allow sysroot to be overridden via GN arguments when using target toolchain. (Closed)

Created:
6 years, 1 month ago by Ben Chan
Modified:
6 years, 1 month ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Allow sysroot to be overridden via GN arguments when using target toolchain. The GYP flow allows 'sysroot' to be overridden via GYP_DEFINES, which is needed in some scenarios such as building for Chrome OS. This CL declares 'target_sysroot' as a GN argument, which can be used to override the default sysroot when compiling using the target toolchain via the GN flow. BUG=427726 TEST=Verify that sysroot is overridden via `gn gen --args='target_sysroot=...' ...` Committed: https://crrev.com/4a8f241213d5618a152bc00cc4eaeb556b63d765 Cr-Commit-Position: refs/heads/master@{#301868}

Patch Set 1 #

Patch Set 2 : #

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

Messages

Total messages: 11 (3 generated)
Ben Chan
If there is a better approach, please let me know. I'm not sure if it's ...
6 years, 1 month ago (2014-10-28 23:11:48 UTC) #2
vapier
imo, sysroot should be fully controllable by the end user. these random paths we have ...
6 years, 1 month ago (2014-10-28 23:15:34 UTC) #3
brettw
I'm not sure this patch is quite right in the presence of cross-compiles. The sysroot ...
6 years, 1 month ago (2014-10-29 01:37:43 UTC) #4
Ben Chan
On 2014/10/29 01:37:43, brettw wrote: > I'm not sure this patch is quite right in ...
6 years, 1 month ago (2014-10-29 07:16:27 UTC) #6
brettw
lgtm
6 years, 1 month ago (2014-10-29 16:44:38 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/683063005/40001
6 years, 1 month ago (2014-10-29 16:50:52 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:40001)
6 years, 1 month ago (2014-10-29 17:37:03 UTC) #10
commit-bot: I haz the power
6 years, 1 month ago (2014-10-29 17:37:36 UTC) #11
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/4a8f241213d5618a152bc00cc4eaeb556b63d765
Cr-Commit-Position: refs/heads/master@{#301868}

Powered by Google App Engine
This is Rietveld 408576698