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

Issue 11886053: Move android gyp definitions to gyp (Closed)

Created:
7 years, 11 months ago by Yaron
Modified:
6 years, 10 months ago
Reviewers:
cjhopman, Nico, Torne
CC:
chromium-reviews, klundberg+watch_chromium.org, frankf+watch_chromium.org, bulach+watch_chromium.org, yfriedman+watch_chromium.org, ilevy-cc_chromium.org, Peter Beverloo
Visibility:
Public.

Description

Move android gyp definitions to gyp This removes unneeded gyp defines from envsetup. I still left the environment variables because some scripts (e.g. findbugs) still depend on them. I'll remove those usages and the environment variables separately.

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : add back gcc_version for webkit #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -36 lines) Patch
M build/android/envsetup_functions.sh View 1 2 3 4 2 chunks +0 lines, -13 lines 0 comments Download
M build/common.gypi View 1 2 3 1 chunk +41 lines, -23 lines 6 comments Download

Messages

Total messages: 9 (0 generated)
Yaron
7 years, 11 months ago (2013-01-16 03:00:34 UTC) #1
cjhopman
https://codereview.chromium.org/11886053/diff/4003/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/11886053/diff/4003/build/common.gypi#newcode1089 build/common.gypi:1089: 'android_host_arch%': '<!(uname -m)', I don't think these need to ...
7 years, 11 months ago (2013-01-16 16:25:20 UTC) #2
Yaron
https://codereview.chromium.org/11886053/diff/4003/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/11886053/diff/4003/build/common.gypi#newcode1089 build/common.gypi:1089: 'android_host_arch%': '<!(uname -m)', On 2013/01/16 16:25:20, cjhopman wrote: > ...
7 years, 11 months ago (2013-01-16 16:53:26 UTC) #3
cjhopman
lgtm
7 years, 11 months ago (2013-01-16 16:58:30 UTC) #4
Torne
lgtm
7 years, 11 months ago (2013-01-16 17:26:49 UTC) #5
Yaron
dcommit barfed when updating this patch but it appears to have landed: http://src.chromium.org/viewvc/chrome?view=rev&revision=177169
7 years, 11 months ago (2013-01-16 17:49:11 UTC) #6
Nico
https://codereview.chromium.org/11886053/diff/4003/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/11886053/diff/4003/build/common.gypi#newcode1087 build/common.gypi:1087: 'android_ndk_root%': '<!(cd <(DEPTH) && pwd -P)/third_party/android_tools/ndk/', This moved android_ndk_root% ...
6 years, 10 months ago (2014-02-10 20:28:11 UTC) #7
Yaron
https://codereview.chromium.org/11886053/diff/4003/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/11886053/diff/4003/build/common.gypi#newcode1087 build/common.gypi:1087: 'android_ndk_root%': '<!(cd <(DEPTH) && pwd -P)/third_party/android_tools/ndk/', On 2014/02/10 20:28:12, ...
6 years, 10 months ago (2014-02-10 21:16:01 UTC) #8
Torne
6 years, 10 months ago (2014-02-11 10:46:11 UTC) #9
Message was sent while issue was closed.
On 2014/02/10 21:16:01, Yaron wrote:
> https://codereview.chromium.org/11886053/diff/4003/build/common.gypi
> File build/common.gypi (right):
> 
>
https://codereview.chromium.org/11886053/diff/4003/build/common.gypi#newcode1087
> build/common.gypi:1087: 'android_ndk_root%': '<!(cd <(DEPTH) && pwd
> -P)/third_party/android_tools/ndk/',
> On 2014/02/10 20:28:12, Nico (away Feb 11 - Feb 17) wrote:
> > This moved android_ndk_root% off the ANDROID_NDK_ROOT env var, but didn't
> change
> > envsetup to set android_ndk_root in the webview build – as a result, the
> webview
> > build uses the ndk in third_party instead of the one from the android build
> > system after this change, right? Is my understanding correct? Was this
> intended?
> 
> I was working on removing these builds from the chrome part and torne was
going
> to do the webview part. I see what you're saying though. I suspect this must
be
> handled in a webview build later on as for webview these are used to generate
> Android.mk files which are checked in.
> 
> torne?

I don't think we actually use the NDK at all in a WebView build. Actually, I
thought that the gyp define was set to something intentionally invalid, but it
looks like it's not.

There is no NDK in third_party in the WebView tree (we don't check out
android_tools), also.

Powered by Google App Engine
This is Rietveld 408576698