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

Update android-18 menu entry to 8 for SDK r24 #290

Merged
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Use stable identifier to install android-18 platform

It seems that the output of `android list sdk` changes over time,
so we should not rely on its ordering of menu items. Instead, we can
use stable identifiers that don't change.
  • Loading branch information
aneeshusa committed Apr 2, 2016
commit da097a47c254f51e47521dd40eacf4a7f01f8656
@@ -47,14 +47,10 @@ android-sdk:
- require:
- user: servo
cmd.run:
# The arguments to --filter are from running 'android list sdk'
# Currently these are:
# platform-tool: Android SDK Platform-tools, revision 23.0.1
# 9: SDK Platform Android 4.3.1, API 18, revision 3
- 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,9;
spawn {{ common.servo_home }}/android/sdk/{{ android.sdk.version }}/android-sdk-linux/tools/android - update sdk --no-ui --filter platform-tool,android-18;
expect {
"Do you accept the license" { exp_send "y\r" ; exp_continue }
eof
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.