diff options
author | Sasha Smundak <asmundak@google.com> | 2016-09-26 17:00:25 +0000 |
---|---|---|
committer | Yun Peng <pcloudy@google.com> | 2016-09-26 17:49:51 +0000 |
commit | 0241b59a2f268aa7c6f606405e19b4e23ea74a23 (patch) | |
tree | e14add3b56cf8f756cca8c722873dc167271178e /src/tools/singlejar/options.cc | |
parent | a7827c8d1b4f6d3adc0c247adab34310ae3cc566 (diff) |
Implement --nocompress_suffixes option.
The planned replacement of the ApkBuilder with singlejar uses it.
--
MOS_MIGRATED_REVID=134290339
Diffstat (limited to 'src/tools/singlejar/options.cc')
-rw-r--r-- | src/tools/singlejar/options.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/singlejar/options.cc b/src/tools/singlejar/options.cc index 7c609d82ca..11484c4124 100644 --- a/src/tools/singlejar/options.cc +++ b/src/tools/singlejar/options.cc @@ -37,7 +37,8 @@ void Options::ParseCommandLine(int argc, const char * const argv[]) { tokens.MatchAndSet("--no_duplicates", &no_duplicates) || tokens.MatchAndSet("--verbose", &verbose) || tokens.MatchAndSet("--warn_duplicate_resources", - &warn_duplicate_resources)) { + &warn_duplicate_resources) || + tokens.MatchAndSet("--nocompress_suffixes", &nocompress_suffixes)) { continue; } else if (tokens.MatchAndSet("--build_info_file", &optarg)) { build_info_files.push_back(optarg); |