Add MinSdk annotation.

Bug: 177884215
Test: m modules-annotation-minsdk-soong
Change-Id: I8bf4d5c05450e8255daa2b291373ecf32775f8a8
This commit is contained in:
Mathew Inwood
2021-02-01 17:00:34 +00:00
parent a79d61ed38
commit f0fe178b84
2 changed files with 85 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
java_library {
name: "modules-annotation-minsdk",
host_supported: true,
srcs: [
"MinSdk.java",
],
sdk_version: "29",
visibility: ["//visibility:public"],
apex_available: [
"//apex_available:anyapex",
],
}