1// Copyright (C) 2019 The Android Open Source Project 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15package { 16 default_team: "trendy_team_updatable_sdk_apis", 17 default_applicable_licenses: ["Android-Apache-2.0"], 18} 19 20filegroup { 21 name: "framework-sdkextensions-sources", 22 defaults: ["framework-sources-module-defaults"], 23 srcs: ["SdkExtensions.java"], 24 visibility: ["//packages/modules/SdkExtensions:__subpackages__"], 25} 26 27filegroup { 28 name: "framework-sdkextensions-jarjar", 29 srcs: ["jarjar_rules.txt"], 30} 31 32java_sdk_library { 33 name: "framework-sdkextensions", 34 defaults: ["framework-module-defaults"], 35 srcs: [":framework-sdkextensions-sources"], 36 permitted_packages: ["android.os.ext"], 37 static_libs: ["modules-utils-build"], 38 jarjar_rules: ":framework-sdkextensions-jarjar", 39 min_sdk_version: "30", 40 lint: { 41 strict_updatability_linting: true, 42 }, 43 impl_library_visibility: [ 44 "//packages/modules/SdkExtensions/tests/e2e:__subpackages__", 45 ], 46 apex_available: [ 47 "com.android.sdkext", 48 "test_com.android.sdkext", 49 ], 50} 51