Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 99ac3fdb authored by Shane Farmer's avatar Shane Farmer
Browse files

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
parent d87c6b51
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -327,7 +327,6 @@ int Optimize(const std::vector<StringPiece>& args) {
  Maybe<std::string> config_path;
  Maybe<std::string> whitelist_path;
  Maybe<std::string> target_densities;
  Maybe<std::string> target_abis;
  std::vector<std::string> configs;
  std::vector<std::string> split_args;
  std::unordered_set<std::string> kept_artifacts;
@@ -349,12 +348,6 @@ int Optimize(const std::vector<StringPiece>& 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.",