summaryrefslogtreecommitdiffstats
path: root/tools/aapt/Android.mk
Commit message (Collapse)AuthorAgeFilesLines
* Stamp platform version code into app ApksAdam Lesinski2014-08-271-0/+1
| | | | | | | | | | The versionCode of theframework resources that an app is built against gets stamped inside an app's AndroidManifest.xml in the <manifest> tag as "platformBuildVersionCode" and "platformBuildVersionName" attributes. Bug:17207635 Change-Id: Id573c3dffcbca38eec9c0eb3e89f4a547e3361d3
* Include build number in aapt versionAdam Lesinski2014-08-181-0/+8
| | | | | | | | | Teams are constantly confused over which version of aapt they are running. Include the build number from the Android build system in the binary. Can be retrieved by executing 'aapt version'. Change-Id: I9165c7d01f977344e143c2cb4dd963310ab28b72
* Revert "Include build number in aapt version"Adam Lesinski2014-08-181-1/+0
| | | | | | This reverts commit a7ce555ee82ed91345a54ee171dc9a415b65e134. Change-Id: I1018747766963e75bec11ddb01ba6d138f133959
* Include build number in aapt versionAdam Lesinski2014-08-181-0/+1
| | | | | | | | | Teams are constantly confused over which version of aapt they are running. Include the build number from the Android build system in the binary. Can be retrieved by executing 'aapt version'. Change-Id: Ie4692fb160c7cbe720a8e76b73e435170214fe0e
* Add support for building split APKsAdam Lesinski2014-05-111-63/+127
| | | | | | | | | | | | | | Build multiple APKs, each containing a disjoint subset of configurations. These can then be loaded into the device AssetManager and should operate as if they were never split. Use the idea of building multiple sets of files, where each set represents an APK. An ApkBuilder can place files in a set based on its configuration, but you can actually add directly to a set, in the case of the resources.arsc and generated AndroidManifest.xml for splits. Change-Id: Ic65d3f0ac1bbd290185695b9971d425c85ab1de3
* Exclude the host aapt and aidl from PDK build.Ying Wang2014-03-071-2/+2
| | | | | Bug: 13028632 Change-Id: I0f774b19be77462d0fa271088a4a5a152729d13c
* Reimplement ZipFileRO in terms of libziparchive.Narayan Kamath2013-12-091-1/+2
| | | | | | | | | | | | | | | | This lets us share zip archive processing code with both the runtime (Art, dalvik) and critical java code (StrictJarFile). This change also moves several utility methods to ZipUtils and dedups code across several zip inflation methods. One of the side effects of this change is that several processing loops are now O(n) instead of O(n^2). bug: 10193060 Change-Id: I3c7188496837a47246c4f342e45485a70fef3169
* Move input library code to frameworks/native.Jeff Brown2013-07-011-6/+5
| | | | | | | | | No longer compile libandroidfw as a static library on the device since it already exists as a shared library. Keeping the static library would force us to provide a static library version of libinput for the device as well which doesn't make sense. Change-Id: I3517881b87b47dcc209d80dbd0ac6b5cf29a766f
* Switch to shared libpng/libz dependency.Stephen Hines2013-06-261-3/+5
| | | | | Bug: 9593270 Change-Id: I1eec2590cca046d6e030c73d31a6b400019e1ebd
* Merge "aapt: move qsort_r_compat here as it is sole client"Dima Zavin2013-05-081-1/+2
|\
| * aapt: move qsort_r_compat here as it is sole clientDima Zavin2013-05-071-1/+2
| | | | | | | | | | | | | | | | | | This code is only used on the host for MacOS X compatibility. Apparently, glibc and Apple's libc disagree on the parameter ordering. Change-Id: I214edcf2870b6ac88316306ac5af43f1dadf9b2e Signed-off-by: Dima Zavin <dima@android.com>
* | libutils clean-upMathias Agopian2013-05-071-0/+1
|/ | | | Change-Id: I11ee943da23a66828455a9770fc3c5ceb4bbcaa9
* Allow compiling aapt for the deviceBjorn Bringert2013-04-261-5/+38
| | | | | | | | | | | | | | Changes: - The static device version of libandroidfw now includes the extra functions needed by aapt. I could only find a few host tools that use the static library, so this is hopefully not a problem. - The pseudolocalization code is moved into aapt. It was previously in libhost, but only used by aapt. Change-Id: Ib393ebb7dcebee8abbb628cbe5255ea1679674ac
* Add liblogYing Wang2013-04-091-2/+2
| | | | | Bug: 8580410 Change-Id: I746aa8258866508c3a725d0773faf4518096548f
* Cache resource ID lookups in aaptChristopher Tate2012-11-271-0/+1
| | | | | | | | This speeds up certain workloads considerably, particularly those involved in buildling apps via the SDK. Windows-based use should particularly benefit from the change. Change-Id: I29f4b3a77400b201ee219729cc28a5e359c0c5e8
* Fix aapt to get expat header files from the approved location.Elliott Hughes2012-09-091-1/+0
| | | | Change-Id: Ic7c796e048cfe98ee355c18b3708fee5ea716e2e
* am c9fe6568: am 9e22d9c5: Merge "Fix "Too many open files" error for aapt ↵Jean-Baptiste Queru2012-06-051-0/+4
|\ | | | | | | | | | | | | built with Mac OS X SDK 10.6." * commit 'c9fe6568f3e7e4d9dc6da072afc929b9a81001ed': Fix "Too many open files" error for aapt built with Mac OS X SDK 10.6.
| * Fix "Too many open files" error for aapt built with Mac OS X SDK 10.6.Ying Wang2012-06-051-0/+4
| | | | | | | | | | | | | | With SDK 10.6 without _DARWIN_UNLIMITED_STREAMS aapt sometimes fails right away with the error "Too many open files" when calling fopen(). Change-Id: Ifa7bd8a9530d706aa47f98be8186f1aefe943d76
* | another attempt at fixing the linux buildMathias Agopian2012-02-211-1/+1
| | | | | | | | Change-Id: Iac20439fd6eea4682859112e72f051294bc87ef6
* | frameworks/base refactoringMathias Agopian2012-02-201-0/+1
|/ | | | | | create the new libandroidfw from parts of libui and libutils Change-Id: I1584995616fff5d527a2aba63921b682a6194d58
* add -ldl to host executablesIliyan Malchev2011-10-201-1/+1
| | | | | | | | This fixes the build on Linux when RefBase is compiled with reference tracking enabled. Change-Id: I3e931e0b463ce836f6fdb30c37068d77144631a3 Signed-off-by: Iliyan Malchev <malchev@google.com>
* New aapt feature to do smarter filtering of configurations.Dianne Hackborn2011-10-161-0/+1
| | | | | | | | | | | | | | | | | | | This adds a --preferred-configurations flag that specifies the specific configurations you would like to have. It is smarter than "-c" because it will avoid stripping a configuration if that would result in there being no value for the resource. It is dumber than "-c" because it can't process as many kinds of resources. It is really only intended for bitmaps and use with density configs. This required re-arranging AaptAssets to group files together by config again, like they used to be. I think this hasn't broken anything. Hopefully. Change-Id: I4e9d12ff6e6dbd1abb8fd4cb1814c6674b19d0e5
* Added Caching for PreProcessed PNGsJosiah Gaskin2011-07-201-0/+2
| | | | | | | | | | Added a cache management system for pre-processed PNG files along with unit tests. The cache system will be used if the --no-crunch flag is passed to AAPT during the package phase. The cache can be updated by a call to 'aapt crunch' (see usage statement). Also put in benchmarking code. Change-Id: I58271fb2ee2f5f9075fd74d4ff6f15e7afabd05c
* Fix build on some linux machineshmepas2010-08-111-1/+1
| | | | | | | This adds -lpthread on linux for aapt and localize, which appear to be needed on some linux distros. Signed-off-by: Jean-Baptiste Queru <jbq@google.com>
* The aapt and aidl tools are prebuilt when we're doing an apps-only build, so ↵Joe Onorato2010-06-101-0/+4
| | | | | | don't try to build them. Change-Id: I9896b11a9b90cbbbe2170243c8bdbc40231dfbff
* Fix aapt to build in Windows SDK under LinuxRaphael2010-04-231-6/+6
| | | | (Merge master Change Ic4a7b9e4)
* break dependency on utils/ZipEntry.h and utils/ZipFile.h, get rid of ↵Mathias Agopian2009-06-051-1/+4
| | | | inet_address.h and Socket.h which were not used
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+52
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-52/+0
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+52