From 99ac3fdbd85ba61ba988481d410072a30440c774 Mon Sep 17 00:00:00 2001 From: Shane Farmer Date: Tue, 12 Dec 2017 16:55:31 -0800 Subject: [PATCH] AAPT2: Remove unused command line option. --target-abis is never used and the same functionality works with onfiguration files. Test: Unit tests Change-Id: Ic890eb0f15fade82cd85ba34d653d6cea3b79fb2 Bugs: b/70571736 --- tools/aapt2/cmd/Optimize.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/tools/aapt2/cmd/Optimize.cpp b/tools/aapt2/cmd/Optimize.cpp index 1bdb762528b6c..eaadfd82629e9 100644 --- a/tools/aapt2/cmd/Optimize.cpp +++ b/tools/aapt2/cmd/Optimize.cpp @@ -327,7 +327,6 @@ int Optimize(const std::vector& args) { Maybe config_path; Maybe whitelist_path; Maybe target_densities; - Maybe target_abis; std::vector configs; std::vector split_args; std::unordered_set kept_artifacts; @@ -349,12 +348,6 @@ int Optimize(const std::vector& args) { "Path to the whitelist.cfg file containing whitelisted resources \n" "whose names should not be altered in final resource tables.", &whitelist_path) - .OptionalFlag( - "--target-abis", - "Comma separated list of the CPU ABIs that the APK will be optimized for.\n" - "All the native libraries that would be unused on devices of the given ABIs will \n" - "be removed from the APK.", - &target_abis) .OptionalFlagList("-c", "Comma separated list of configurations to include. The default\n" "is all configurations.",