SDK support improvements.
authorXavier Ducrohet <xav@android.com>
Wed, 30 Jan 2013 21:24:03 +0000 (13:24 -0800)
committerXavier Ducrohet <xav@android.com>
Fri, 8 Feb 2013 01:19:58 +0000 (17:19 -0800)
commitcd66cd3fd85929e7af741169af914604609706c1
tree0d5175877af805f7d48cb6611e8fb488b4df6090
parent36718f2a33f8bf0976cd23999a38dc9234fd671f
SDK support improvements.

Move figuring out the path to aidl/aapt/dx/llvm-rs-cc from IAndroidTarget
to SdkParser (in preparation of the build-tools).

Also change android.target to android.compileSdkVersion to make it
less confusing with regards to min/targetSdkVersion and also change it
to take either an int or a string.

Change-Id: I8642cb84f67cf75b49abe905b2a65f4d26668e98
55 files changed:
builder/src/main/java/com/android/builder/AndroidBuilder.java
builder/src/main/java/com/android/builder/DefaultSdkParser.java
builder/src/main/java/com/android/builder/PlatformSdkParser.java [new file with mode: 0644]
builder/src/main/java/com/android/builder/SdkParser.java
builder/src/main/java/com/android/builder/internal/FakeAndroidTarget.java [new file with mode: 0644]
changelog.txt
gradle/src/main/groovy/com/android/build/gradle/AppPlugin.groovy
gradle/src/main/groovy/com/android/build/gradle/BaseExtension.groovy
gradle/src/main/groovy/com/android/build/gradle/BasePlugin.groovy
gradle/src/main/groovy/com/android/build/gradle/LibraryPlugin.groovy
gradle/src/main/groovy/com/android/build/gradle/internal/tasks/InstallTask.groovy
gradle/src/main/groovy/com/android/build/gradle/internal/tasks/TestFlavorTask.groovy
gradle/src/main/groovy/com/android/build/gradle/internal/tasks/UninstallTask.groovy
gradle/src/main/groovy/com/android/build/gradle/tasks/ZipAlign.groovy
gradle/src/test/groovy/com/android/build/gradle/AppPluginDslTest.groovy
gradle/src/test/groovy/com/android/build/gradle/AppPluginInternalTest.groovy
gradle/src/test/groovy/com/android/build/gradle/LibraryPluginDslTest.groovy
gradle/src/test/groovy/com/android/build/gradle/internal/dsl/BuildTypeDslTest.groovy
tests/aidl/build.gradle
tests/api/app/build.gradle
tests/api/lib/build.gradle
tests/applibtest/app/build.gradle
tests/applibtest/lib/build.gradle
tests/basic/build.gradle
tests/dependencies/build.gradle
tests/flavored/build.gradle
tests/flavorlib/app/build.gradle
tests/flavorlib/lib1/build.gradle
tests/flavorlib/lib2/build.gradle
tests/flavorlibWithFailedTests/app/build.gradle
tests/flavorlibWithFailedTests/lib1/build.gradle
tests/flavorlibWithFailedTests/lib2/build.gradle
tests/flavors/build.gradle
tests/libsTest/app/build.gradle
tests/libsTest/lib1/build.gradle
tests/libsTest/lib2/build.gradle
tests/libsTest/lib2b/build.gradle
tests/libsTest/libapp/build.gradle
tests/migrated/build.gradle
tests/multiproject/app/build.gradle
tests/multiproject/baseLibrary/build.gradle
tests/multiproject/library/build.gradle
tests/multires/build.gradle
tests/overlay1/build.gradle
tests/overlay2/build.gradle
tests/renderscript/build.gradle
tests/renderscriptInLib/app/build.gradle
tests/renderscriptInLib/lib/build.gradle
tests/renderscriptMultiSrc/build.gradle
tests/repo/app/build.gradle
tests/repo/app/src/main/java/com/example/android/multiproject/MainActivity.java
tests/repo/baseLibrary/build.gradle
tests/repo/library/build.gradle
tests/tictactoe/app/build.gradle
tests/tictactoe/lib/build.gradle