2354b568379fe31ba4e774f7a92d4c685a60a2ab |
|
27-May-2017 |
Adam Lesinski <adamlesinski@google.com> |
AAPT2: Follow symlinks when compiling Bug: 62144459 Test: make AaptSymlinkTest Change-Id: Idb3ab1ece17c52bb4fd174ec4c08a9e173289e55
/frameworks/base/tools/aapt2/util/Files.cpp
|
b39ad7c9f66877f92ea8583aa8b7b5a8daa6031e |
|
13-Mar-2017 |
Adam Lesinski <adamlesinski@google.com> |
AAPT2: Add -A (assets) support Looks like the build system doesn't support assets/ for resources, so we will re-introduce them in aapt2, even though we're just copying them around and they would be better suited for inclusion in the APK when classes.dex gets inserted. Bug: 35461578 Test: CTS test android.content.res.cts.AssetManager#testAssetOperations should pass Change-Id: I18361d7367d476806bcf7154ee76df3f0e83b565
/frameworks/base/tools/aapt2/util/Files.cpp
|
d5083f6f6b9bc76bbe64052bcec639eee752a321 |
|
17-Jan-2017 |
Adam Lesinski <adamlesinski@google.com> |
Move StringPiece to libandroidfw libandroidfw needs to make use of StringPiece, so move it to libandroidfw and update all code referencing StringPiece in aapt2. Test: make libandroidfw_tests libaapt2_tests Change-Id: I68d7f0fc7c651b048d9d1f5e7971f10ef5349fa1
/frameworks/base/tools/aapt2/util/Files.cpp
|
ce5e56e243d262a9b65459c3bd0bb9eaadd40628 |
|
22-Oct-2016 |
Adam Lesinski <adamlesinski@google.com> |
AAPT2: Rename to match new style Use Google3 naming style to match new projects' and open source google projects' style. Preferred to do this in a massive CL so as to avoid style inconsistencies that plague legacy code bases. This is a relatively NEW code base, may as well keep it up to date. Test: name/style refactor - existing tests pass Change-Id: Ie80ecb78d46ec53efdfca2336bb57d96cbb7fb87
/frameworks/base/tools/aapt2/util/Files.cpp
|
092db3c88ae5f2ba1b34516666c2b87ed7404965 |
|
20-Oct-2016 |
George Burgess IV <gbiv@google.com> |
Merge "Fix a static-analyzer warning." am: 63b4f6f5db am: ea4423b181 am: 281e9f30c0 Change-Id: If34a4265ceb5bc6f4bf31c35e82270f90e970457
|
56f5f7b79bca91d6b241d35be0f4bf56155cf855 |
|
12-Oct-2016 |
George Burgess IV <gbiv@google.com> |
Fix a static-analyzer warning. frameworks/base/tools/aapt2/util/Files.cpp:81:21: warning: Null pointer passed as an argument to a 'nonnull' parameter while ((entry = readdir(dir))) { Bug: None. Test: Warning no longer appears. Change-Id: If242598405e995928378ce317a2e909654e1e985
/frameworks/base/tools/aapt2/util/Files.cpp
|
d0f116b619feede0cfdb647157ce5ab4d50a1c46 |
|
09-Jul-2016 |
Adam Lesinski <adamlesinski@google.com> |
AAPT2: Remove usage of u16string For legacy reasons, we kept around the use of UTF-16 internally in AAPT2. We don't need this and this CL removes all instances of std::u16string and StringPiece16. The only places still needed are when interacting with the ResTable APIs that only operate in UTF16. Change-Id: I492475b84bb9014fa13bf992cff447ee7a5fe588
/frameworks/base/tools/aapt2/util/Files.cpp
|
c51562cf5acda7849a34c4ae2a88077c068859c0 |
|
28-Apr-2016 |
Adam Lesinski <adamlesinski@google.com> |
AAPT2: Accept a file with arguments when argument list is too long Bug:22775504 Change-Id: Ife73d4e4611016c9ee7b56264bc6a765c54beba3
/frameworks/base/tools/aapt2/util/Files.cpp
|
803c7c807969bea1f1c50f348832f5b60ad05d8e |
|
07-Apr-2016 |
Adam Lesinski <adamlesinski@google.com> |
AAPT2: Enable windows build and make sure it builds Mingw32 4.8 is kind of picky with macros and some complicated template stuff. Luckily there was another way to represent the SFINAE code that works on all platforms. Yay! Change-Id: Idc2e38f47bfdc57b394550bfa0f53cc0b825df25
/frameworks/base/tools/aapt2/util/Files.cpp
|
96917c25f09bb2f33e22f20cdfa4ece8f310b084 |
|
09-Mar-2016 |
Adam Lesinski <adamlesinski@google.com> |
AAPT2: Fix file::mkdirs when given absolute paths file::mkdirs would try to extract the first part of the path '/path' which would be the empty string ''. Mkdir would fail creating the empty string directory. Change-Id: Ice8ba92135f145f52f3663499a2c49eebe797328
/frameworks/base/tools/aapt2/util/Files.cpp
|
52364f7ae31716d7827ea8f8566f4a28bd30a921 |
|
11-Jan-2016 |
Adam Lesinski <adamlesinski@google.com> |
AAPT2: Variety of small fixes to get the build working - Add option to rename package in AndroidManifest.xml - Support default versionName and versionCode - Accept True and False as valid booleans Change-Id: I400e350b9dcd0fd1c197d1929144299c7823617d
/frameworks/base/tools/aapt2/util/Files.cpp
|
1ab598f46c3ff520a67f9d80194847741f3467ab |
|
14-Aug-2015 |
Adam Lesinski <adamlesinski@google.com> |
AAPT2: Separate out the various steps An early refactor. Some ideas became clearer as development continued. Now the various phases are much clearer and more easily reusable. Also added a ton of tests! Change-Id: Ic8f0a70c8222370352e63533b329c40457c0903e
/frameworks/base/tools/aapt2/util/Files.cpp
|