Commit Graph

1919 Commits

Author SHA1 Message Date
448d14592f aapt2: don't rebuild compile stage unless needed 2018-02-28 18:40:13 -05:00
646eb54102 aapt2: refactor testsuite
- split from aapt1/aapt2 (those that do building)
 - tests that just test decode (no aapt) split
 - categories for androlib/encdoers/util for various others
2018-02-28 15:11:39 -05:00
09148902ef aapt2: start of tests for aapt2 2018-02-28 13:27:13 -05:00
d2c808dd7d aapt2: refactor loading of aapt/aapt2 binaries
- change: die out if invalid aapt path is provided
2018-02-28 11:25:56 -05:00
f05bd31e59 aapt2: sparse resource pulling from yaml 2018-02-28 11:05:07 -05:00
3c84590a1a aapt2: treat verbose output as fine 2018-02-28 10:58:38 -05:00
367d33e314 aapt2: remove util outputting to console 2018-02-28 10:54:35 -05:00
bd0ce9aea3 aapt2: aapt1 is "aapt" 2018-02-22 11:41:31 -05:00
9751015857 travis: force to precise 2018-02-22 11:41:15 -05:00
ee29007783 travis: clean test suite before execution 2018-02-22 11:29:15 -05:00
6f45869068 aapt2: update binaries
- refs: 595581e599
2018-02-22 11:22:41 -05:00
dc9d1866a5 test: rewrite test suite to use BaseTest extending 2018-02-22 11:22:41 -05:00
593b357ed1 support test for lib/libs folder 2018-02-22 11:22:41 -05:00
828ba8aef3 aapt2: kill off aapt1 testsuite, rebuild from scratch 2018-02-22 11:22:40 -05:00
200ad0250b aapt2: add linux/windows binaries
- very buggy
2018-02-22 11:22:40 -05:00
5d95b388aa aapt2: beginning use of aapt2 vs aapt1 params 2018-02-22 11:22:40 -05:00
5a8bc45653 aapt2: aapt2 is a staged build (compile and link).
- we destroy the "compile" stage item after a link, but keep the pending directory
 - apktool then cannot complete link stage
 - if aapt2 is used, lie to system and re-process
 - todo: rethink this
2018-02-22 11:22:40 -05:00
a8bdad628a aapt2: wire up zipPackage() instead of using aapt1 for final apk package 2018-02-22 11:22:40 -05:00
9e5df69d17 aapt2: remove unneeded newline 2018-02-22 11:22:40 -05:00
8de1354007 aapt2: ZipUtils class to replicate the building of final zip 2018-02-22 11:22:40 -05:00
574de8db71 aapt2: new method to execAndReturn to collect stdout from a process 2018-02-22 11:22:40 -05:00
f5caccbc2e aapt2: flag for aapt2 and sparse resources to meta-info/apkOptions 2018-02-22 11:22:40 -05:00
0827b2b7a2 aapt2: read the type spec and infer if sparsely packed 2018-02-22 11:22:40 -05:00
88987e60b3 aapt2: Add a flag to determine if sparse resources or not 2018-02-22 11:22:40 -05:00
e02c5f2b2f aapt2: Add AaptManager
- capable of determining version of an aapt binary (2 or 1)
 - can return a v2/v1 aapt binary
2018-02-22 11:22:40 -05:00
f8edbc9332 aapt2: add support for "--use-aapt2" option 2018-02-22 11:22:40 -05:00
f57c73d421 aapt2: copy "BuildAndDecodeTest" to aapt2 for temporary testing 2018-02-22 11:22:40 -05:00
ac1402aa7e aapt2: binary install for mac 2018-02-22 11:22:40 -05:00
34a2d03b31 Support for applications with an empty resources.arsc file
- fixes #1730
2018-02-19 06:45:48 -05:00
17bad5a9bd Merge pull request #1690 from iBotPeaches/type-id-offset
We are ignoring typeIdOffset
2018-02-16 08:42:28 -05:00
b7b449eaaf We are ignoring typeIdOffset
- missing sample that experiences this
 - needs tests
 - samples requested: https://github.com/iBotPeaches/Apktool/issues/1728
 - refs: f90f2f8dc3
2018-02-16 08:38:07 -05:00
9fc1ede991 License 2018 update 2018-02-16 08:26:53 -05:00
1d485d21e9 cleanup formatting in smali-res-tagger
- experiment rewriting resIds in smali to remove need of public.xml
2018-02-16 08:25:34 -05:00
dc2db53dec dir: remove unused file 2018-02-16 08:21:21 -05:00
7903ec8b29 update internal docs for building aapt2 on mac 2018-02-14 11:32:54 -05:00
65fb5c25c2 Revert "switch to "startsWith" to stop AndroResGuard tricks"
This reverts commit c7f4dfe1db.
2018-02-13 08:47:43 -05:00
085e8f66ef Switch to loop for checking extensions we are treating as raw
- 9patch (samsung)
 - regular (apple)
 - I imagine this list will grow over time
2018-02-13 08:47:02 -05:00
c7f4dfe1db switch to "startsWith" to stop AndroResGuard tricks 2018-02-13 08:46:52 -05:00
da9fb5115e update steps as aapt2 requirements change 2018-02-13 08:46:20 -05:00
cab47c846b update baksmali to v2.2.2 2018-02-13 08:45:13 -05:00
e7d511adf8 Remove unused line
- refs: no issue
2018-02-08 15:17:51 -05:00
d1857102dd Add spaces where missing to make logic easier to read
- refs: no issue
2018-02-08 15:14:19 -05:00
bca474272e Support for rebuilding root depth kotlin folder
- refs: #1703
2018-02-07 09:42:56 -05:00
89e56c95c1 update internal docs for building aapt2 2018-02-07 09:20:03 -05:00
ddb5f5c590 We now use android-8.1.0_r9 for aapt 2018-02-02 15:12:05 -05:00
a504da9846 start new dev cycle (2.3.2-SNAPSHOT) 2017-12-26 08:10:43 -05:00
0e26950a72 version bump (2.3.1) 2017-12-25 21:24:22 -05:00
48b40e69c4 Merge pull request #1693 from iBotPeaches/issue-1157
Support private (internal) minified namespaces
2017-12-15 07:45:14 -05:00
895af9c975 refactor test 2017-12-14 14:07:32 -05:00
2838d292a0 new test apk 2017-12-14 10:55:35 -05:00