summaryrefslogtreecommitdiffstats
path: root/tools/aapt/Command.cpp
Commit message (Collapse)AuthorAgeFilesLines
* GL texture filtering changed from AND to OR, so rename tag name to match.Dan Morrill2010-12-131-2/+2
| | | | | | | (<uses-foo> == AND, <supports-foo> == OR, e.g. uses-feature vs. supports-screen). Change-Id: I0f20aed7f95169d9adfc7fe128191eb6e49d116f
* fix xlarge support in aapt for gingerbreadScott Main2010-11-041-2/+2
| | | | Change-Id: I4d8872fb839a6eadc538055215d4455af328846c
* Implement issue #3116702: New manifest tags for supported screen sizes DO ↵Dianne Hackborn2010-10-211-9/+50
| | | | | | NOT MERGE Change-Id: Iabf64d86c89d387ffbfbc39f950d308a73fe17eb
* Adding a new <uses-gl-texture/> tag, to be used to enable apps to specifyDan Morrill2010-10-131-0/+9
| | | | | | | filtering based on support for OpenGL ES texture and texture compression formats. Change-Id: I993209a673579b296007ae2ba830d0275770dd11
* Implement #2964234: Add support for <uses-package> element to aaptDianne Hackborn2010-09-021-0/+9
| | | | Change-Id: Ifb381f387cab7e5a99006691e330d0e3d9d0f250
* Add LFH offset to verbose list of APKKenny Root2010-08-251-3/+4
| | | | | | | | | The Local File Header (LFH) offset is printed in debugging cases when the platform is inspecting APKs. This adds the LFH offset field to the list of contents of an APK, so that it can be checked easily against the Central Directory (CD). Change-Id: I08f9a13256bfe6563c1a963c4f0289789b2e7857
* Fix aapt dump badging to support xlarge screens.Dianne Hackborn2010-08-201-0/+9
| | | | Change-Id: Ieeb757cd48ad9b3f46c5e4aed9d5efaeac834049
* As Donut (API=4) devices and earlier do not have a Bluetooth API, .apk filesDan Morrill2010-06-151-1/+1
| | | | | | | that have minSdkLevel (or targetSdkLevel) set to 4 or lower should not be presumed to require Bluetooth just because they take the permission. Change-Id: Ia629e9ef0425a577e4e14f9b348f5aa2b39c1e74
* Adding the backward-compatible filtering heuristics for the new deviceDan Morrill2010-05-041-12/+180
| | | | | | features definitions added in FroYo. Change-Id: I5024e45c62813fe2fd2ff4d222df816a86a94f86
* Add ability for some manifest attributes to reference resources.Dianne Hackborn2010-03-091-1/+1
| | | | | | | | | | | This loosens our restriction on many manifest attributes requiring literal string values, to allow various ones to use values from resources. This is only allowed if the resource value does not change from configuration changes, and the restriction is still in place for attributes that are core to security (requesting permissions) or market operation (used libraries and features etc). Change-Id: I4da02f6a5196cb6a7dbcff9ac25403904c42c2c8
* Fix issue #2448075: aapt doesn't fix up activity-alias ↵Dianne Hackborn2010-03-011-0/+14
| | | | | | | | | | | | | | android:targetActivity links And related: - The aapt tool now sets a resource configurations sdk level to match any configs that have been set (for example if you specify density your sdk level will be at least 4). - New option to modify the targetPackage attribute of instrumentation. - Clean up of aapt options help. - Fix of UI type values to leave 0 for "unspecified". - Make the UI mode config APIs public.
* Dump original-package entries.Jeff Hamilton2010-02-121-0/+9
| | | | Change-Id: I29b20811847555ff9858ef47cca69c8b992b24ea
* am ce56857e: am cb2d50d0: Fix issue #2357259: aapt tool prints ↵Dianne Hackborn2010-01-071-1/+1
|\ | | | | | | | | | | | | | | | | "uses-configuation:" Merge commit 'ce56857ef72538c197afd91b9f30dc868d2667d9' * commit 'ce56857ef72538c197afd91b9f30dc868d2667d9': Fix issue #2357259: aapt tool prints "uses-configuation:"
| * am cb2d50d0: Fix issue #2357259: aapt tool prints "uses-configuation:"Dianne Hackborn2010-01-061-1/+1
| |\ | | | | | | | | | | | | | | | | | | Merge commit 'cb2d50d0d6e2e37ae02b014999da23ecd32038b8' into eclair-plus-aosp * commit 'cb2d50d0d6e2e37ae02b014999da23ecd32038b8': Fix issue #2357259: aapt tool prints "uses-configuation:"
| | * Fix issue #2357259: aapt tool prints "uses-configuation:"Dianne Hackborn2010-01-061-1/+1
| | | | | | | | | | | | Change-Id: Id3ea3a86bd4d385441b05fcbe85b8ab62c35afff
| * | am ce307f88: Merge change Ie4cdb5a3 into eclairXavier Ducrohet2009-12-091-1/+6
| |\ \ | | |/ | | | | | | | | | | | | | | | Merge commit 'ce307f889b509143899a2221359219fbc91b618c' into eclair-plus-aosp * commit 'ce307f889b509143899a2221359219fbc91b618c': Add --custom-package to aapt
| * | am 617262d8: Merge change I37c4157d into eclairDoug Zongker2009-10-201-3/+10
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '617262d8f57362536ddc00a070c1c0994741de44' into eclair-plus-aosp * commit '617262d8f57362536ddc00a070c1c0994741de44': add "junk path" -k option to aapt (DO NOT MERGE)
* | \ \ am a5a8cc13: resolved conflicts for merge of ce307f88 to eclair-mr2Jean-Baptiste Queru2009-12-101-1/+6
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit 'a5a8cc13d3f906650a1eb17e20e1b26d68b78453' into eclair-mr2-plus-aosp * commit 'a5a8cc13d3f906650a1eb17e20e1b26d68b78453': Add --custom-package to aapt
| * \ \ \ resolved conflicts for merge of ce307f88 to eclair-mr2Jean-Baptiste Queru2009-12-101-1/+6
| |\ \ \ \ | | | |_|/ | | |/| |
| | * | | Add --custom-package to aaptXavier Ducrohet2009-11-301-1/+6
| | | |/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is needed to add library support to the SDK. The goal is to have libraries and main project use the same package for the R/Manifest classes to that they can share code and resources. BUG 2293994 Change-Id: Ie4cdb5a3bdabe1760a91316fd8969e4f53344bf9
| | * | add "junk path" -k option to aapt (DO NOT MERGE)Doug Zongker2009-10-191-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds a "junk path" option to aapt so that you can do: aapt add -k archive.zip path/to/some.file and have the file stored in the zip under the name "some.file" (without the path). Needed so that we can use 'aapt add' in place of 'zip -j' when building jar files, which will lead to smaller incremental OTAs. (This is a cherry-pick of a change already submitted to eclair-mr2; the change was approved for mr1.)
* | | | am e6c0e993: Merge change I129483f8 into eclair-mr2Kenny Root2009-12-091-0/+1
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | Merge commit 'e6c0e99334bc2f47e5d36db253ac8f166047c03b' into eclair-mr2-plus-aosp * commit 'e6c0e99334bc2f47e5d36db253ac8f166047c03b': Optional use of UTF-8 strings in resource bundles
| * | | Optional use of UTF-8 strings in resource bundlesKenny Root2009-12-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allows the use of UTF-8 for packing resources instead of the default of UTF-16 for Java. When strings are extracted from the ResStringPool, they are converted to UTF-16 and the result is cached for subsequent calls. When using aapt to package, add in the "-8" switch to pack the resources using UTF-8. This will result in the value, key, and type strings as well as the compiled XML string values taking significantly less space in the final application package in most scenarios. Change-Id: I129483f8b3d3b1c5869dced05cb525e494a6c83a
* | | | am afbf8afa: Merge change I564b5b00 into eclair-mr2Doug Zongker2009-10-131-3/+10
|\ \ \ \ | |/ / / | | | / | |_|/ |/| | | | | | | | Merge commit 'afbf8afa858a78b66c19f11cfda030e913b34085' into eclair-mr2-plus-aosp * commit 'afbf8afa858a78b66c19f11cfda030e913b34085': add "junk path" -k option to aapt
| * | add "junk path" -k option to aaptDoug Zongker2009-10-131-3/+10
| |/ | | | | | | | | | | | | | | | | | | | | Adds a "junk path" option to aapt so that you can do: aapt add -k archive.zip path/to/some.file and have the file stored in the zip under the name "some.file" (without the path). Needed so that we can use 'aapt add' in place of 'zip -j' when building jar files, which will lead to smaller incremental OTAs.
* | am f1871e27: Merge change 26009 into eclairSuchi Amalapurapu2009-09-201-2/+3
|\ \ | |/ | | | | | | | | | | Merge commit 'f1871e273e1bf49d72a7f2ef51a4ef377d8f3112' into eclair-plus-aosp * commit 'f1871e273e1bf49d72a7f2ef51a4ef377d8f3112': Fix issue with printing gles version in aapt dump badging option
| * Fix issue with printing gles version in aapt dump badging optionSuchi Amalapurapu2009-09-201-2/+3
| | | | | | | | | | | | If the name attribute for uses-feature or uses-permission is empty the error value is still empty indicating error and preventing the else part from being checked as it should be.
* | merge from open-source masterJean-Baptiste Queru2009-09-041-2/+2
|\ \ | |/ |/|
| * merge from donutJean-Baptiste Queru2009-09-031-0/+5
| |\
| | * donut snapshotJean-Baptiste Queru2009-08-311-0/+5
| | |
| * | Fix %p vs %s typo in aapt messageKenny Root2009-09-011-2/+2
| |/ | | | | | | | | | | | | | | When trying to print an xmltree or xmlstrings from aapt, the error message if the resource didn't exist erroneously printed a pointer instead of a string. Change-Id: I317bbbdc1200e0f10922e80a36e41a22b2d50d0d
| * donut snapshotJean-Baptiste Queru2009-07-211-27/+169
| |
| * AI 144308: aapt extensions: required sdk version, dependent software ↵Suchi Amalapurapu2009-04-021-69/+142
| | | | | | | | | | | | | | | | | | | | libraries, gadgets Add new attributes for sdk version, software libs and gadgets BUG = 1730924 BUG=1730924 Automated import of CL 144308
* | Add a flag (-G) to aapt to have it output the classes that shouldn't be ↵Joe Onorato2009-08-301-1/+7
| | | | | | | | obfuscated by ProGuard.
* | Add platform infrastructure for features.Dianne Hackborn2009-08-271-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This introduces a new mechanism to define features associated with a platform, query the current device for the available features, and enforce that apps requiring features that aren't available can't be installed. Also now allows uses-library to specify that a library is optional, so the lack of such a library will not prevent the app from being installed (but if it does exist it will be correctly linked into the app). Change-Id: I5b369b46cfa0b3d37c9e08fd14ef1098a978e67b
* | Fix issue #2084148: Define the format for the auto focus preview for barcode ↵Dianne Hackborn2009-08-271-0/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | scanning Add new manifest/aapt support for specifying device features an application requires. The aapt badging now returns these (as well as uses-permission since I need to look for those anyway); if an app doesn't explicitly request the camera feature but does request the permission, then aapt will say that it has requested both the basic camera feature as well as the autofocus feature. Here's what you put in your manifest to say you need a camera but don't need autofocus: <uses-permission android:name="android.permission.CAMERA" /> <uses-feature android:name="android.hardware.camera" /> <uses-feature android:name="android.hardware.camera.autofocus" android:required="false" /> Here's what will be seen from aapt: uses-permission:'android.permission.CAMERA' uses-feature:'android.hardware.camera' uses-feature-not-required:'android.hardware.camera.autofocus' Change-Id: I4dd19cee0486cc54771f5bf14fc9db0e892115d5
* | Add aapt extensions to dump badging to print more info about activities, ↵Suchi Amalapurapu2009-08-181-62/+130
| | | | | | | | | | | | | | | | receivers and services Fix issue with checking end tags. Earlier some boolean variables were being set once a new tag is detected at the same level which causes some incorrect values to be overwritten. we should be doing this when we detect the end tag.
* | am 75c49842: Add maxSdkVersion information in dump badging optionSuchi Amalapurapu2009-08-181-0/+5
|\ \ | | | | | | | | | | | | | | | | | | Merge commit '75c498426a17b47d445711bb9e36794b05876a56' into eclair * commit '75c498426a17b47d445711bb9e36794b05876a56': Add maxSdkVersion information in dump badging option
| * | Add maxSdkVersion information in dump badging optionSuchi Amalapurapu2009-08-141-0/+5
| | |
* | | am 72eb0aca: Merge change 5483 into donutAndroid (Google) Code Review2009-06-291-0/+39
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '72eb0acad5cffc57ce5006f6deab29ee259e461e' * commit '72eb0acad5cffc57ce5006f6deab29ee259e461e': Expand support for different screen sizes.
| * | Expand support for different screen sizes.Dianne Hackborn2009-06-261-0/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | Applications can now declare that they support small, normal, or large screens. Resource selection can also be done based on these sizes. By default, pre-Donut apps are false for small and large, and Donut or later apps are assumed to support all sizes. In either case they can use <supports-screens> in their manifest to declare what they actually support.
* | | am 1585bd24: Merge change 4828 into donutAndroid (Google) Code Review2009-06-191-4/+23
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '1585bd24c10d16351f89e32dddbfa799f18db6bd' * commit '1585bd24c10d16351f89e32dddbfa799f18db6bd': Report densities in badging, debugging for nine patch bug.
| * | Report densities in badging, debugging for nine patch bug.Dianne Hackborn2009-06-191-4/+23
| | | | | | | | | | | | | | | | | | | | | The aapt tool now reports all available densities like it already did for locales. Also this includes more resource data output, which I was using to examine bug #1867049 (which at this point I am unable to reproduce).
* | | break dependency on utils/ZipEntry.h and utils/ZipFile.h, get rid of ↵Mathias Agopian2009-06-051-1/+0
| | | | | | | | | | | | inet_address.h and Socket.h which were not used
* | | get rid of utils.hMathias Agopian2009-05-311-1/+4
|/ /
* | Update aapt badging for native code, configs, density, etc.Dianne Hackborn2009-05-181-23/+107
| |
* | AI 144309: am: CL 144308 aapt extensions: required sdk version, dependent ↵Suchi Amalapurapu2009-04-021-69/+142
|/ | | | | | | | | | | software libraries, gadgets Add new attributes for sdk version, software libs and gadgets BUG = 1730924 Original author: asuchitra Merged from: //branches/cupcake/... Automated import of CL 144309
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+841
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-841/+0
|
* auto import from //branches/cupcake/...@126645The Android Open Source Project2009-01-151-2/+2
|