From 297b85ef11a566ede45d99b38111585e94a90a72 Mon Sep 17 00:00:00 2001 From: Mark Punzalan Date: Thu, 26 Oct 2023 18:57:50 +0000 Subject: [aapt2] Add placeholder --feature-flags flag Adding a placeholder so that soong build integration can happen in parallel with the implementation of this flag. Bug: 297373084 Bug: 306024510 Test: m aapt2 Change-Id: If9df57daaa871c11e146a8a8f8113fceb2fd96c2 --- tools/aapt2/cmd/Link.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/aapt2/cmd/Link.h b/tools/aapt2/cmd/Link.h index 1b1e93bd480a..a08f385b2270 100644 --- a/tools/aapt2/cmd/Link.h +++ b/tools/aapt2/cmd/Link.h @@ -323,6 +323,7 @@ class LinkCommand : public Command { "should only be used together with the --static-lib flag.", &options_.merge_only); AddOptionalSwitch("-v", "Enables verbose logging.", &verbose_); + AddOptionalFlagList("--feature-flags", "Placeholder, to be implemented.", &feature_flags_args_); } int Action(const std::vector& args) override; @@ -347,6 +348,7 @@ class LinkCommand : public Command { std::optional stable_id_file_path_; std::vector split_args_; std::optional trace_folder_; + std::vector feature_flags_args_; }; }// namespace aapt -- cgit v1.2.3-59-g8ed1b