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

Issue 10827419: Don't rely on the Android toolchain being exported in the PATH for the {CC,CXX,LINK,AR}_target defi… (Closed)

Created:
8 years, 4 months ago by Peter Beverloo
Modified:
8 years, 4 months ago
Reviewers:
Yaron
CC:
chromium-reviews, peter+watch_chromium.org, bulach+watch_chromium.org, yfriedman+watch_chromium.org
Visibility:
Public.

Description

Don't rely on the Android toolchain being exported in the PATH for the {CC,CXX,LINK,AR}_target defines. The make build has start using these environment variables since gyp revision 1470[1]. This works in the Chromium repository as the Android toolchain is being exported in the PATH, which is something WebKit doesn't do, and we shouldn't be relying on in general. Instead, use the paths to the toolchain and prefix them with Android's goma wrapper, which yields the same effect. [1] https://code.google.com/p/gyp/source/detail?r=1470 BUG= TEST= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=152340

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -4 lines) Patch
M build/android/envsetup.sh View 1 chunk +5 lines, -4 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Peter Beverloo
Yaron, please take a look. Relying on PATH (again) would break the WebKit builder (again) ...
8 years, 4 months ago (2012-08-20 16:05:47 UTC) #1
Peter Beverloo
Actually, Ninja doesn't seem to use GOMA with or without this patch. What is the ...
8 years, 4 months ago (2012-08-20 16:13:14 UTC) #2
Yaron
lgtm
8 years, 4 months ago (2012-08-20 16:42:36 UTC) #3
Yaron
On 2012/08/20 16:42:36, Yaron wrote: > lgtm I'm planning to get rid of these variables ...
8 years, 4 months ago (2012-08-20 16:43:21 UTC) #4
Peter Beverloo
8 years, 4 months ago (2012-08-20 16:46:11 UTC) #5
On 2012/08/20 16:43:21, Yaron wrote:
> On 2012/08/20 16:42:36, Yaron wrote:
> > lgtm
> 
> I'm planning to get rid of these variables anyway. To get ninja to use goma
you
> have to set the GOMA_DIR variable. So I guess in a sense, it still depends on
> environment variables but that only needs to be set at gyp time.

Ok, sounds good to me. Thank you, Yaron! I committed this manually so it can
chime in before the NDK r8 roll.

Powered by Google App Engine
This is Rietveld 408576698