Граф коммитов

9 Коммитов

Автор SHA1 Сообщение Дата
andrewhayden@chromium.org 58f1ea309f Make install_emulator_deps.py more flexible
Changes:
* Decouple the version of the SDK that is installed from
  the version of the Android API that will be used.
* Upgrade the SDK to Android-19 while we are at it.
* Allow an "--api-level" argument to choose system images.
* Automagically download and install platform libraries for
  any --api-level

BUG=

Review URL: https://codereview.chromium.org/59943011

git-svn-id: http://src.chromium.org/svn/trunk/src/build@235782 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-18 19:05:54 +00:00
raphael.kubo.da.costa@intel.com b54edcc69d android: Use a separate SDK for the emulator again.
Although sharing the SDK with the one downloaded into
src/third_party/android_tools allowed us to avoid having to keep another
660MB SDK around, there were several downsides:

  o It downloaded ARMv7 and x86 system images into the git repository in
    src/third_party/android_tools, potentially confusing users who did
    not have the new directories in their .gitignore.

  o Messages in avd.py and usage of the emulator could lead users to
    update the SDK checked into android_tools/, causing build problems
    and a lot of confusion.

  o The ARMv7 and x86 system images could end up being out of sync with
    the SDK in android_tools/.

  o The SDK in android_tools/ might be older than the one we used to
    download separately.

The new solution is to revert large parts of r222121 and r223003 but not
completely: instead of downloading the SDK into a directory that is two
levels above the top-level src/ (there is no guarantee it is writable,
for example), the emulator SDK is now downloaded into
src/android_emulator_sdk/, which has also been added to .gitignore to
avoid confusion. Additionally, we build upon r222612 and install a newer
version of the SDK that works with version 18 of the Android API.

R=peter@chromium.org,navabi@chromium.org,bulach@chromium.org
BUG=304129

Review URL: https://codereview.chromium.org/25675010

git-svn-id: http://src.chromium.org/svn/trunk/src/build@227121 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-04 23:01:59 +00:00
raphael.kubo.da.costa@intel.com 27fe85bb14 android: Download ARMv7 image for the emulator.
Follow-up to r222121: GetSDK() used to download an additional copy of the
Android SDK that came with an ARM image. The copy we currently use in
third_party/android_tools/sdk does not come with the ARM image.

Restore the lost functionality while still avoiding downloading the complete
SDK by grabbing only the ARM images from a Google URL.

R=mariakhomenko@chromium.org,peter@chromium.org,bulach@chromium.org

Review URL: https://chromiumcodereview.appspot.com/23708033

git-svn-id: http://src.chromium.org/svn/trunk/src/build@223003 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-09-13 08:18:38 +00:00
mariakhomenko@chromium.org d8382dc54b Update emulator to work with version 18 of Android API.
Downloads correct dependencies and updates the paths in avd config.

BUG=249712

Review URL: https://chromiumcodereview.appspot.com/23475032

git-svn-id: http://src.chromium.org/svn/trunk/src/build@222612 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-09-11 20:07:11 +00:00
raphael.kubo.da.costa@intel.com 0ff6e150f1 android: Remove GetSDK() from install_emulator_deps.
These days, the SDK is already checked out by DEPS in
src/third_party/android_tools/sdk, so trying to download it again from a
different location at a later stage does not make much sense.

R=peter@chromium.org,bulach@chromium.org,craigdh@chromium.org,frankf@chromium.org

Review URL: https://chromiumcodereview.appspot.com/23621025

git-svn-id: http://src.chromium.org/svn/trunk/src/build@222121 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-09-09 22:54:08 +00:00
gkanwar@google.com 82ccaa9576 The ADT bundle link was 404'ing. This updates the link to the newer version of the ADT bundle which is up on the Android site.
BUG=252776

Review URL: https://chromiumcodereview.appspot.com/16867011

git-svn-id: http://src.chromium.org/svn/trunk/src/build@207980 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-22 00:45:25 +00:00
navabi@google.com ae91e70089 Fix AVD configuration and defaults based on dogfooder input.
I have worked with a couple developers to dogfood the installation and running
of AVD's using the build/android scripts. The following suggestions have been
taken are are implemented by this change:
 - Use configuration of AVD for Galaxy Nexus by Google as default config
   - allows developers to use software keyboard
   - uses the Galaxy Nexus skin with Back/Home/Apps buttons at bottom
 - Defaults (one x86 AVD) are printed on the help page
 - Does not require virtualization support for ARM emulator (only x86)

BUG=164911


Review URL: https://chromiumcodereview.appspot.com/13543008

git-svn-id: http://src.chromium.org/svn/trunk/src/build@193281 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-04-10 01:55:31 +00:00
shouqun.liu@intel.com d1213999be Android: fixes emulator support in unit test scripts.
* Catch exception in CheckKVM in case kvm-ok is not available.
* Add abi option for launching emulator.

This patch is contributed by Wu Hengzhi (hengzhix.wu@intel.com).

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com/13300002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@193019 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-04-09 05:40:41 +00:00
navabi@google.com bceaac3ee5 Add script to download SDK, system images and create and start AVDs for testing.
BUG=164911


Review URL: https://chromiumcodereview.appspot.com/12407004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@191075 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-03-28 00:23:22 +00:00