diff options
| author | 2016-01-14 15:17:41 -0800 | |
|---|---|---|
| committer | 2016-01-14 15:17:41 -0800 | |
| commit | 656a577a34bfbb68d4f1557bfdaa8c2f2b6f8723 (patch) | |
| tree | 02a6e5aa8044eaec2fc0c025c9d312b5d9123848 | |
| parent | 44859db74bb1cc2341524c5484cc3e765ec42c42 (diff) | |
AAPT2: Accept zip, jack, jar, and flata extensions as archives
Change-Id: I3a4db129998e2351e8221f9d72a4b40d2c7a8cf9
| -rw-r--r-- | tools/aapt2/link/Link.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/aapt2/link/Link.cpp b/tools/aapt2/link/Link.cpp index 2a4c020c72fb..51b9cecb7b7e 100644 --- a/tools/aapt2/link/Link.cpp +++ b/tools/aapt2/link/Link.cpp @@ -523,7 +523,10 @@ public: } bool processFile(const std::string& path, bool override) { - if (util::stringEndsWith<char>(path, ".flata")) { + if (util::stringEndsWith<char>(path, ".flata") || + util::stringEndsWith<char>(path, ".jar") || + util::stringEndsWith<char>(path, ".jack") || + util::stringEndsWith<char>(path, ".zip")) { return mergeArchive(path, override); } |