summaryrefslogtreecommitdiff
path: root/java/fuzz_test.go
diff options
context:
space:
mode:
author Spandan Das <spandandas@google.com> 2023-03-02 04:41:35 +0000
committer Spandan Das <spandandas@google.com> 2023-03-20 16:40:08 +0000
commitea4c692875c8338f9970f7a4a7b383eae3400b7a (patch)
tree39e89627744e3cbe4e6a14fa1dc02ad21cfd04bf /java/fuzz_test.go
parent5780039180c24f4dd4d5f4f22e172adadeeb1f44 (diff)
Prework for migrating min_sdk_version from (kind+level) to (level)
Currently, the following lib will be included in the sdk snapshot even though it is compiling against private apis ``` java_sdk_library { name: "foo", //sdk_version defaults to "", i.e. SdkSpecPrivate } ``` This is because min_sdk_version of `foo` inherits the api level of SdkSpecPrivate (i.e. FutureApiLevel). As part of the migration of min_sdk_version to ApiLevel, the api level of SdkSpecPrivate will be different than FutureApiLevel. In the above example, assuming the version of the sdk_snapshot is FutureApiLevel, `foo` will be included only if it explicitly sets a min_sdk_version <= FutureApiLevel. Update an existing unit test to set this value explicitly. Bug: 208456999 Test: go test ./sdk (top of CL stack) Change-Id: Iddd497df7da8c829325d902fbf70731dd8c6855d
Diffstat (limited to 'java/fuzz_test.go')
0 files changed, 0 insertions, 0 deletions