Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install Android build tools for cross compilation #388

Merged
merged 1 commit into from Jun 20, 2016
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Install Android build tools for cross compilation

The Android build tools are required for building an APK.
They are versioned separately from the SDK and do not have a version
requirement - best practice is to use the latest (stable) release.
  • Loading branch information
aneeshusa committed May 27, 2016
commit 97391dedecedf956af6225c2d6607cbb04240ae0
@@ -50,7 +50,7 @@ android-sdk:
- name: |
expect -c '
set timeout -1;
spawn {{ common.servo_home }}/android/sdk/{{ android.sdk.version }}/android-sdk-linux/tools/android - update sdk --no-ui --filter platform-tool,android-{{ android.platform }};
spawn {{ common.servo_home }}/android/sdk/{{ android.sdk.version }}/android-sdk-linux/tools/android - update sdk --no-ui --all --filter platform-tools,android-{{ android.platform }},build-tools-{{ android.build_tools }};
expect {
"Do you accept the license" { exp_send "y\r" ; exp_continue }
eof
@@ -60,6 +60,7 @@ android-sdk:
- creates:
- {{ common.servo_home }}/android/sdk/{{ android.sdk.version }}/android-sdk-linux/platform-tools
- {{ common.servo_home }}/android/sdk/{{ android.sdk.version }}/android-sdk-linux/platforms/android-{{ android.platform }}
- {{ common.servo_home }}/android/sdk/{{ android.sdk.version }}/android-sdk-linux/build-tools/{{ android.build_tools }}
- require:
- pkg: android-dependencies
- archive: android-sdk
@@ -1,5 +1,6 @@
{%
set android = {
'build_tools': '23.0.3',
'platform': '18',
'sdk': {
'version': 'r24.4.1',
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.