diff options
author | Steven Moreland <smoreland@google.com> | 2022-04-15 22:51:07 +0000 |
---|---|---|
committer | Steven Moreland <smoreland@google.com> | 2022-04-28 00:44:31 +0000 |
commit | 4de616baaed8c08409046b59fcb0f5d8089bc610 (patch) | |
tree | ecba4f035603e1751b16181222bcc3d0dd2271d0 | |
parent | af9ba855fcd66c3b980cff584d3e3c47927588a3 (diff) | |
download | aidl-4de616baaed8c08409046b59fcb0f5d8089bc610.tar.gz |
finalize Tiramisu SDK version (33)
Ignore-AOSP-First: T release
Fixes: 217620659
Test: build
Change-Id: I558fc7cc424027132f3905f3ca71ddb5a592918d
-rw-r--r-- | options.h | 2 | ||||
-rw-r--r-- | options_unittest.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -39,7 +39,7 @@ constexpr uint32_t DEFAULT_SDK_VERSION_NDK = 29; constexpr uint32_t DEFAULT_SDK_VERSION_RUST = 31; constexpr uint32_t SDK_VERSION_current = 10000; -constexpr uint32_t SDK_VERSION_Tiramisu = SDK_VERSION_current; +constexpr uint32_t SDK_VERSION_Tiramisu = 33; constexpr uint32_t JAVA_PROPAGATE_VERSION = SDK_VERSION_Tiramisu; diff --git a/options_unittest.cpp b/options_unittest.cpp index 1121402d..2931bc60 100644 --- a/options_unittest.cpp +++ b/options_unittest.cpp @@ -454,13 +454,13 @@ TEST(OptionsTest, AcceptValidMinSdkVersion) { EXPECT_EQ(30u, options->GetMinSdkVersion()); } -TEST(OPtionsTests, AcceptCodeNameAsMinSdkVersion) { +TEST(OptionsTests, AcceptCodeNameAsMinSdkVersion) { const char* args[] = { "aidl", "--lang=java", "--min_sdk_version=Tiramisu", "--out=out", "input.aidl", nullptr, }; auto options = GetOptions(args); EXPECT_TRUE(options->Ok()); - EXPECT_EQ(10000u, options->GetMinSdkVersion()); + EXPECT_EQ(33u, options->GetMinSdkVersion()); } TEST(OptionsTest, DefaultMinSdkVersion) { |