| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
- renderscript output is now in bin/res/ instead of res/
- Ant build system properly handle dependencies to only recompile
files that need it.
Change-Id: Ic2cd4487a26e7a7fcb0b475ee52fa0ccf8a07c0b
|
|
|
|
| |
Change-Id: I966b8796008b87dd3e6101d8c6d09271e2621c52
|
|
|
|
|
|
|
|
|
|
|
| |
The png in the libraries were not processed by the crunch step.
Because aapt never processes png files anymore (relying on the crunch
step to do it), the png files in libraries were never processed.
While this is less a problem for standard png files, this completely
breaks 9-patches that must be processed to actually behaves as 9-patch.
Change-Id: I0a1fe14ea34f6d36a368b456494410945afc3c44
|
|
|
|
|
|
| |
If the output is more recent than the input, zipalign does nothing.
Change-Id: Ic1d7518a28fbb2db8895903e5cd0fd2976931b41
|
|
|
|
| |
Change-Id: I7230a2aa3df5fab8b420f1ed2f359621fbda7f5a
|
|
|
|
|
|
|
| |
This allows to use a single llvm executable to target
all API versions.
Change-Id: Ib27f7fc9e54c548d31fc98fc323f439cb99218d5
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Before there was a way to filter touched file by extension(s) but
this was for all input folders.
Now each input folder can have a different set of extension restrictions.
This will allow apkbuilder to use DependencyGraph and extension restriction
for all its input folders.
Also fixed an issue where aapt would not package the resources if an
xml files was touched. This is because it didn't make a difference
between compiling the resources for IDs and packaging the resource
values.
Change-Id: I797d3a24c6c1f999e9d412c4ff8aa826ed16fc09
|
|
|
|
|
|
|
|
|
|
| |
The dex step now generates a dependency file that is reused during
following builds to check whether dex should occur.
Also optimized the part that figures out if any dependencies have
been modified/have gone missing.
Change-Id: I7f6e915fc7b571ad973260daa506badced3a9c2a
|
|
|
|
|
|
|
|
|
|
| |
Aidl compilation now generates dependency files that are reused on further
compilations to only recompile files that needs it based on source files
modifications.
Also clean up output (and dependency) files when a source file is deleted.
Change-Id: I3131463fd7939ffc4b5bbdfa49940e03f0249a28
|
|
|
|
|
|
|
| |
This is not possible since they rely on the same properties which
cannot be updated after they are set.
Change-Id: I2fbc0f53b656f5906c2b026d8fd41d78a4461803
|
|
|
|
|
|
|
|
| |
Added a warning regarding the requirement of a rooted device.
Also made it so that the test can be run without having to build
and install the packages with just "ant emma test"
Change-Id: Id643b5f56585954b91c9c85c3eb33c4ef31c196a
|
|
|
|
| |
Change-Id: Ie28359234cbb56e14c42274434831e4795bf3ee3
|
|
|
|
|
|
|
| |
This is the final name. I kept main_rules to make the previous
review easier.
Change-Id: I3dfcd36a49f2893665e712ed9391acb4486d713e
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
After applying https://review.source.android.com/24515 for
the dalvik/dx change, this allows ant project to build
correctly on Windows if there's a space in their directory
path.
Change-Id: I4c6d5f87fae2dcf2955698633a16a0bde501694f
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes the proper way to quote the compound paths
arguments given to proguard. Each individual path is
quoted if it contains spaces.
Quoting for -libraryjars fixes the issue for the SDK
install path containing a space.
Quoting for -injars and the other arguments fixes the
issue for the project path containing a space (although
the ant build will fail later at the dx phase in this
case.)
Change-Id: I74283b4f1b19c353c1a5ed36e4d0ec58676b6a79
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: Iba1c956d33725716923da89b788f7f8d14524e41
|
|
|
|
|
|
|
| |
- utf-8 is default encoding for java files.
- make encoding, target, source also overridable in the lib rules.
Change-Id: I95a6dfd2a815ea9994638c0a0270381819b75a12
|
|
|
|
| |
Change-Id: Ia8188de0b8af0ec4474f5c4ca2cec294c077e03f
|
|
|
|
| |
Change-Id: I3dafb284770f475d70a212cbe22cdae6bff36ff7
|
|
|
|
|
|
|
| |
If the manifest sets debuggable=true then this override
the release build to be a debug build instead.
Change-Id: Ib66bf9053cecfa7c19a02cefdbf187a20bd6da37
|
|
|
|
| |
Change-Id: I27faad2282fbe6cff565d945c2b64d42d31db1fe
|
|
|
|
| |
Change-Id: I3fb80a8b91482de5117a9e093b2d50010bb99546
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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: I303acdb4fc8de6ba5d8de7c18e020e97fe01e3de
|
|
|
|
|
|
| |
They were importing the old name of the main rules.
Change-Id: If5d591d48f420e5bd8a24843c99befdbb487cd80
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
"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
|
|
|
|
|
|
| |
Also fix some NPE in usage of ISdkLog.warning
Change-Id: Id2803f7692b82d0d2f5dea49f17f916509a7b205
|
|
|
|
|
|
|
|
|
|
|
|
| |
Make the dex target use a different property to read
the input folder for classes to dexify.
By default the new property has the same value but can
be overriden if a post-compile target modify (obfuscate)
code into a different location.
Merged from master into tools_r7
Change-Id: I1fe2fd2a2678d8c4354702250cea1481f74dd7cf
|
|
|
|
| |
Change-Id: Ief8261327f7917d158fc8ad4dd4e4c3d322bbce2
|
|
|
|
| |
Change-Id: I3e36e6f4db60d3d979b24c2b88d496f453394127
|
|
|
|
| |
Change-Id: Idfc39bcdd79f17700952bb66ed1b67a840495011
|
|
|
|
| |
Change-Id: If4f188591b8c5154be894fdd1872a182d1b6eadc
|
|
|
|
| |
Change-Id: I09e8e5b40df3b8da4b34fe4f000e98263ea5bc55
|
|
Change-Id: I7533b52a56c00502dce8798bf31ac50444543446
|