Android build library.
authorXavier Ducrohet <xav@android.com>
Tue, 21 Aug 2012 01:07:58 +0000 (18:07 -0700)
committerXavier Ducrohet <xav@android.com>
Tue, 21 Aug 2012 02:12:56 +0000 (19:12 -0700)
commit45c898bfc42ccc2e8dc635312358e85102a766ea
treeceedb0f01b7e989b2169d27e5185221b456555ae
parent1d963e6684952b9259e2be2b33b36b649f889f26
Android build library.

This library allows building Android libraries and
applications in the context of the Android SDK.

It is meant to be usable by various build systems and only
deals with the logic of building Android applications.
While it exposes some configurations and expect from
specific inputs, they are meant to be provided by the
build system itself.

It purposely doesn't include Eclipse or IDEA project
files due to dependencies that are downloaded from Maven
(and due to IDEA's tendency to put local path in its
project paths).
Instead those can be created using
    gradle eclipse
and
    gradle idea

The prebuilts are temporary till we move those libraries
to gradle or figure something else.

Change-Id: Ia95fa9ae3a619c2d9fe68b4cfa3ce72acfb4df3c
37 files changed:
builder/.gitignore [new file with mode: 0644]
builder/.settings/org.eclipse.jdt.core.prefs [new file with mode: 0644]
builder/.settings/org.moreunit.prefs [new file with mode: 0644]
builder/MODULE_LICENSE_APACHE2 [new file with mode: 0644]
builder/NOTICE [new file with mode: 0644]
builder/build.gradle [new file with mode: 0644]
builder/prebuilts/common.jar [new file with mode: 0644]
builder/prebuilts/manifmerger.jar [new file with mode: 0644]
builder/prebuilts/sdklib.jar [new file with mode: 0644]
builder/src/main/java/com/android/builder/AaptOptions.java [new file with mode: 0644]
builder/src/main/java/com/android/builder/AndroidBuilder.java [new file with mode: 0644]
builder/src/main/java/com/android/builder/AndroidDependency.java [new file with mode: 0644]
builder/src/main/java/com/android/builder/BuildConfigGenerator.java [new file with mode: 0644]
builder/src/main/java/com/android/builder/BuildType.java [new file with mode: 0644]
builder/src/main/java/com/android/builder/CommandLineRunner.java [new file with mode: 0644]
builder/src/main/java/com/android/builder/DefaultManifestParser.java [new file with mode: 0644]
builder/src/main/java/com/android/builder/DefaultSdkParser.java [new file with mode: 0644]
builder/src/main/java/com/android/builder/DexOptions.java [new file with mode: 0644]
builder/src/main/java/com/android/builder/JarDependency.java [new file with mode: 0644]
builder/src/main/java/com/android/builder/ManifestParser.java [new file with mode: 0644]
builder/src/main/java/com/android/builder/ProductFlavor.java [new file with mode: 0644]
builder/src/main/java/com/android/builder/SdkParser.java [new file with mode: 0644]
builder/src/main/java/com/android/builder/packaging/DuplicateFileException.java [new file with mode: 0644]
builder/src/main/java/com/android/builder/packaging/JavaResourceProcessor.java [new file with mode: 0644]
builder/src/main/java/com/android/builder/packaging/Packager.java [new file with mode: 0644]
builder/src/main/java/com/android/builder/packaging/PackagerException.java [new file with mode: 0644]
builder/src/main/java/com/android/builder/packaging/SealedPackageException.java [new file with mode: 0644]
builder/src/main/java/com/android/builder/signing/DebugKeyHelper.java [new file with mode: 0644]
builder/src/main/java/com/android/builder/signing/KeystoreHelper.java [new file with mode: 0644]
builder/src/main/java/com/android/builder/signing/KeytoolException.java [new file with mode: 0644]
builder/src/main/java/com/android/builder/signing/SignedJarBuilder.java [new file with mode: 0644]
builder/src/main/java/com/android/builder/signing/SigningInfo.java [new file with mode: 0644]
builder/src/main/resources/com/android/builder/BuildConfig.template [new file with mode: 0644]
builder/src/test/java/com/android/builder/AndroidBuilderTest.java [new file with mode: 0644]
builder/src/test/java/com/android/builder/BuildTypeTest.java [new file with mode: 0644]
builder/src/test/java/com/android/builder/ProductFlavorTest.java [new file with mode: 0644]
builder/src/test/java/com/android/builder/samples/Main.java [new file with mode: 0644]