Android has a dedicated XML namespace dedicated for tools that should not be
included in the final APK. AAPT strips this out, but the feature was missing
from AAPT2. See: http://tools.android.com/tech-docs/tools-attributes
Bug: 29115919
Change-Id: I8f4fc79e6c8592a313a691134e44d16fd91f36ed
Pseudo-localization: generates pseudolocalized versions of default strings when the
--pseudo-localize option is specified.
Legacy mode: treats some class of errors as warnings in order to be more compatible
with AAPT when --legacy is specified.
Compile directory: treats the input file as a directory when --dir is
specified. This will emit a zip of compiled files, one for each file in the directory.
The directory must follow the Android resource directory structure
(res/values-[qualifiers]/file.ext).
aapt2 link ...
Automatic attribute versioning: adds version qualifiers to resources that use attributes
introduced in a later SDK level. This can be disabled with --no-auto-version.
Min SDK resource filtering: removes resources that can't possibly be selected at runtime due
to the application's minimum supported SDK level.