summaryrefslogtreecommitdiffstats
path: root/tools/aapt/Command.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-171-0/+12
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+829