diff options
author | torne@chromium.org <torne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-01 11:31:47 +0000 |
---|---|---|
committer | torne@chromium.org <torne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-01 11:31:47 +0000 |
commit | 75b558c7c2b7927191c1326701f0c4f09ade385b (patch) | |
tree | 0ab08f37c6d9c9097056dcfb0e6ed28ee775afb3 /build/java.gypi | |
parent | edaf596da7f67917f53891fabbeffad00db5f843 (diff) | |
download | chromium_src-75b558c7c2b7927191c1326701f0c4f09ade385b.zip chromium_src-75b558c7c2b7927191c1326701f0c4f09ade385b.tar.gz chromium_src-75b558c7c2b7927191c1326701f0c4f09ade385b.tar.bz2 |
Android: remove ant environment dependencies.
The logic to calculate where the SDK should be is already done by
envsetup and made available to gyp as a variable, so just have gyp pass
this as a command line argument to ant. The behaviour is identical.
This change is to move toward making it possible to build the Android
port without having envsetup.sh sourced at build time (only at
gyp-generation time), making it more like other platforms. It also
simplifies the ant buildfiles.
Review URL: https://chromiumcodereview.appspot.com/10821105
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149400 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/java.gypi')
-rw-r--r-- | build/java.gypi | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/build/java.gypi b/build/java.gypi index 67ebcb0..89f4c6b 100644 --- a/build/java.gypi +++ b/build/java.gypi @@ -46,6 +46,7 @@ 'ant', '-DPRODUCT_DIR=<(ant_build_out)', '-DPACKAGE_NAME=<(package_name)', + '-DANDROID_SDK=<(android_sdk)', '-buildfile', '<(java_in_dir)/<(package_name).xml', ] |