| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Libraries now generate a jar file that is used by the projects
referencing them, instead of having the main projects compile
the library source code themselves.
This means we can remove the link mechanism that created linked
folder in ADT and instead use a container that is lazily initalized
to be all the jar files of the libraries.
Also merged all 3 Ant build files (main_rules, lib_rules, test_rules)
into a single build.xml that can build any kind of projects.
Lot's of improvement in there too. Much cleaner.
Change-Id: I98307e25cd76722e8595938528e6ef57a7e226ad
|
|
|
|
|
|
|
|
|
|
| |
The new property makes it possible to create ant build scripts
that programmatically determine and set the versionName attribute
during build. Similar property already exists for versionCode.
Signed-off-by: Tero Saarni <tero.saarni@gmail.com>
Change-Id: Ia36632ae029785563fc7c1bc8937034963016852
|
|
|
|
|
|
|
|
| |
This change lets ADT and Ant use the crunch cache system
set up in change I58271fb2. This commit is separate because
sdk and framework are separate git repositories.
Change-Id: If2828d157acad0b5adb812001e777c199e3c62fe
|
|
|
|
|
|
|
|
|
|
| |
This change adds in support for making aapt generate a dependency
file for the .ap_ package generated during resource packaging. Ant
will then check this dependency file before calling aapt again and
will only repackage resources if the dependencies have been modified
in some way.
Change-Id: I56462163c5dd064c1416bc43913f044df8ee9be1
|
|
|
|
|
|
|
|
| |
This change adds dependency checking to the Ant generation of
R.java. If no resources have been changed or added since the
last generation of R.java then that call to aapt will be skipped.
Change-Id: I262b94111316496fac54da8030a6d474dc30b584
|
|
|
|
|
|
|
|
|
| |
This change lets ADT and ant make use of the new
--extra-packages flag in aapt to allow for all the R.java
files to be generated using only one call rather than one call
per library.
Change-Id: Ibc060b1218010cfbae108f4f1aba2c25fe69a964
|
|
|
|
|
|
|
|
|
|
| |
Also fix some makefiles to make sure the notices are
picked up.
- move the makefile outside of the source folder.
- resources are now in the source folder directly instead
of being inside src/resources. It's much simpler.
Change-Id: Ica8ee4c2bc8a9b035d23fc914d4137cdca7e567d
|
|
|
|
| |
Change-Id: I59a7b770071707ed058aa104bab8a16aa8950d56
|
|
|
|
|
|
|
|
|
|
|
| |
Give anttasks.jar a proper manifest with jar dependencies.
Update the manifest of sdklib.jar with the common.jar dependency.
The pre-setup section of build.xml has changed over time
and really we should be able to control it so move it in
$SDK/tools/ant/pre_setup.xml and import it into build.xml
Change-Id: Iab707deccc0cdbe8d1a9db052ee6fb0762853394
|
|
|
|
|
|
|
|
| |
This uses the new JavaGenerator mechanism so that all that's needed
is to run llvm-rs-cc on a given list and parsing the dependency file
that's created.
Change-Id: Ib4928c980422dfe1944bc720c77bf6ae5be4c34a
|
|
|
|
| |
Change-Id: Iba1c956d33725716923da89b788f7f8d14524e41
|
|
|
|
| |
Change-Id: Id2237ae2fd64a1ccae5b1a1957099c218cdaf9a5
|
|
|
|
| |
Change-Id: I3dafb284770f475d70a212cbe22cdae6bff36ff7
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Remove obsolete sdk-location on project update, don't
use it as backup location anymore (main_rules.xml won't work with
it anyway).
Remove the old application.package properties since older platforms
will use the new rules anyway.
Change-Id: I5a5ec3d1289cf793dd0f98fb778bd84086976c52
|
|/
|
|
| |
Change-Id: Ieaf6e42bc67829b01ebb0fa799bc615f85fc1a6d
|
|
|
|
|
|
|
| |
If the manifest sets debuggable=true then this override
the release build to be a debug build instead.
Change-Id: Ib66bf9053cecfa7c19a02cefdbf187a20bd6da37
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is only activated if default.properties contains
a property "proguard.config" with the name of a proguard
config file.
Some clean-up in the Ant tasks and in the name
of the properties used by the rules and the custom
tasks to make them clearer.
Added a new test app with a project using a jar file
as well as a library using a jar file.
Change-Id: Ia8f4d873025993d454c0a484e61d47ae679ea79c
|
|
|
|
| |
Change-Id: I4a9babcda7a541a7defd226e36bb8f74f88853ed
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
"ant debug" now automatically insert debuggable=true in the manifest.
Also cleaned up a lot of the Ant stuff (versioned Ant rules, support
for importing different rules files based on compatibility computation).
This is rendered moot with our new single aapt executable. The ant
rules will now evolve alongside aapt, and there will not be mismatch
between the two.
Change-Id: Iaf309f40e6ab4a0204dfbdb428cfb569bf5ca3b3
|
|
|
|
|
|
| |
SDK Bug: 2906094
Change-Id: Ic4053c97c8dd5a32a2276e22644b5e09c91d52f0
|
|
|
|
| |
Change-Id: Ief8261327f7917d158fc8ad4dd4e4c3d322bbce2
|
|
|
|
| |
Change-Id: I3e36e6f4db60d3d979b24c2b88d496f453394127
|
|
|
|
| |
Change-Id: I66e767cbd4f3f3521bb994b281140a433f63291f
|
|
|
|
|
|
|
|
|
|
|
| |
this is meant to replace the one previously in apkbuilder.jar and the
one in ADT, while being part of the public sdklib API so that other
tools can use it if needed (to deprecate the command line version)
Another changelist will rename the ApkBuilder classes inside
ADT to make things less confusing.
Change-Id: I13f2a09d8d507a85be33af3fe659d175819cb641
|
|
|
|
| |
Change-Id: I88f7e6101b8c03157a320a6c9d9b7424ffbdc7f5
|
|
|
|
| |
Change-Id: If75b9262126813769537435546be0ad4e4648ac2
|
|
|
|
|
|
|
|
|
|
|
| |
This is a first step with no UI.
Still needed:
- handling signing
- add control to how ApkBuilderHelper handles errors to prevent
output to the console during export.
Change-Id: Id44d708c2b0f5bb52508c33a241bbe921b4297e1
|
|
|
|
| |
Change-Id: I22b5a1c7225425b387e1fd5b6769b5e9249b7c88
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move away from a single log file used for:
- tell the dev what file was created with that properties
- used to increment minor versionCode for specific apks
- used to detect config change from what export to another.
There are now three files for each case, with the last two
using a never changing filename. Only a new build log file
is created at each export.
Change-Id: Ia9b464e6ffefe24463a537ee48d0a20a7a004af7
|
|
|
|
| |
Change-Id: Ia3faf7a6818de0e579cf491b139a41f4d379935e
|
|
|
|
|
|
| |
First property is split by density.
Change-Id: If68bc520ba4014bbd4b144e71d54bc1161a56e2d
|
|
|
|
|
|
|
|
| |
- detect overlap (apk1 is small, large; apk2 is normal)
- detect non-strictly different supports-screens
- compareTo orders based on support for higher size.
Change-Id: I76251e10c83f1508c9a5b83b638a47b1c0922693
|
|
|
|
|
|
|
| |
Also added support for supports-screens in the log,
and fixed supports-screens parsing.
Change-Id: I702fb511eb4da0094917d7c0d9fe792f582adeb2
|
|
|
|
| |
Change-Id: Ifd0bb892582888b7b6ef6ceb634871c1fb24d6e5
|
|
|
|
|
|
|
|
| |
This common code will be used by ADT when processing multi-apk export.
I also had to improve the API for IAbstractFile/Folder.
Change-Id: Ied76f0a9f068223ceaba36124e841f804febfaf8
|
|
|
|
|
|
|
| |
This is the first step of refactoring common code from MultiApkExportTask
into sdklib.
Change-Id: Ie82eafa961a80fac7c24d3a65e75648da8af525c
|
|
|
|
|
|
| |
Also fixes some javadocs.
Change-Id: Ic2bc0ae1c822f184bde63b29fdc15d897661c623
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
API change to make it use IFileWrapper instead of IFile.
Old AndroidManifestParser changed to AndroidManifestHelper which
is now mostly wrapper methods to add Eclipse specific parameters.
Also moved ADT...AndroidConstants.CLASS_* to sdklib...SdkConstants
(needed by the parser) and removed AndroidConstants.FN_ANDROID_MANIFEST
since SdkConstants.FN_ANDROID_MANIFEST_XML existed too.
Moved the Eclipse implementation of IAbstractFile/Folder
Change-Id: I59bdbe90ba9a4c0b5bb2c4c68945b8877d4eed3d
|
|
|
|
|
|
|
|
| |
The log is used to confirm that new export do not conflict
with previous build. The build file can also be used to set
per-apk minor version code.
Change-Id: Ic5ad98758aa327f6a5bc1d00e66cf5437ac098e4
|
|
|
|
| |
Change-Id: If4f188591b8c5154be894fdd1872a182d1b6eadc
|
|
|
|
| |
Change-Id: Ic40c35e7074a91fb40094d3c5e5a605ff1ea2fef
|
|
|
|
| |
Change-Id: I382fb659073a8d2df8d018acde37d4769ac40cc0
|
|
|
|
| |
Change-Id: I09e8e5b40df3b8da4b34fe4f000e98263ea5bc55
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Right now, the Ant rules are packaged with each platform. This
is a problem when we want to release newer versions of the rules,
as we would have to respin newer rev for all major platforms just
for that.
The new mechanism has the Ant rules both in the tools folder
and in the platforms. The platform indicates which versions
it supports (support is based on the features of external tools
such as aapt, aidl and dex). The custom tasks can
figure out a newer but still compatible (ie not relying on
newer options in aapt/aidl/dex) version from the tools folder
and then uses this newer version.
Change-Id: I763533ec85fa9647ecf96ac6cbaefbfd1ad68fb0
|
|
|
|
| |
Change-Id: I0b0223b7fa5275995563a1a21192941bd72811cc
|
|
|
|
|
|
|
| |
Also cleaned up some attribute of our other custom tasks to conform
to the standard convention (all lower case, all those were new in r3)
Change-Id: If328a8eb2448d95bee1f1b70928d72fde5014eeb
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- New export type project to handle exporting a single app represented
by multiple projects (for different minSdkVersion for instance).
- Cleaned-up the current Ant tasks and Eclipse builder to not
deal with ApkSettings anymore. It's not possible to generate
more than one APK in a single pass. The export project will
handle this and call out the normal build system to export
each variant. Make older (deprecated) attribute actually
output a warning.
- Ant rules r3 now with support for multi apk export. Lots
of clean up, add new properties to be overriden by the
multi-apk export task, make older one overrideable too.
- Better handling of older rules, older tasks, etc...
in the SetupTask used by the normal build.
- Add split by ABI to ApkSettings and use it in the
new multi apk export.
- New custom task for multi-apk export. Replaces
SetupTask for export-type projects. Calls out to the
project's build.xml after setting/overriding properties.
This also override the project's versionCode with a
new composite one made of different values.
Also uses a different build.xml, so added a new template:
build.export.template.
Very much a work in progress. Still to do:
Add other types of APK split, create/update export projects,
export the build log, ...
Also, we need to refactor the normal build rules to avoid
so much duplication!
Change-Id: I57a565c60d097a5eabb40108ae1fa8cb209f2380
|
|
|
|
| |
Change-Id: Ic8e41c1ad5343b32d2766427ba271a79c88b3b66
|
|
|
|
|
|
|
| |
For now they are the same as the r2.
Also modified SetupTask to deal better with older tools.
Change-Id: I22ff809ace3ff81fb6852a707165165a9b4ec88a
|