diff options
| author | 2015-06-02 19:52:31 +0000 | |
|---|---|---|
| committer | 2015-06-02 19:52:32 +0000 | |
| commit | 1ea14d6696dafce9b7487eb850346a124a9c977c (patch) | |
| tree | ba6256c6fe3b49b20299dbe5d1fb5e2b25edacc9 /tools/aapt/Main.cpp | |
| parent | da3f63ffb87397943546a7c5c893ce98f2489df2 (diff) | |
| parent | 5892248580859620db90d5ef2e3c2f48531933fa (diff) | |
Merge "aapt: add option for stricter symbol generation" into mnc-dev
Diffstat (limited to 'tools/aapt/Main.cpp')
| -rw-r--r-- | tools/aapt/Main.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/aapt/Main.cpp b/tools/aapt/Main.cpp index 7dee585fa7be..f832c605376c 100644 --- a/tools/aapt/Main.cpp +++ b/tools/aapt/Main.cpp @@ -212,6 +212,9 @@ void usage(void) " --ignore-assets\n" " Assets to be ignored. Default pattern is:\n" " %s\n" + " --skip-symbols-without-default-localization\n" + " Prevents symbols from being generated for strings that do not have a default\n" + " localization\n" " --no-version-vectors\n" " Do not automatically generate versioned copies of vector XML resources.\n", gDefaultIgnoreAssets); @@ -659,6 +662,8 @@ int main(int argc, char* const argv[]) bundle.setProduct(argv[0]); } else if (strcmp(cp, "-non-constant-id") == 0) { bundle.setNonConstantId(true); + } else if (strcmp(cp, "-skip-symbols-without-default-localization") == 0) { + bundle.setSkipSymbolsWithoutDefaultLocalization(true); } else if (strcmp(cp, "-shared-lib") == 0) { bundle.setNonConstantId(true); bundle.setBuildSharedLibrary(true); |