1// Copyright (C) 2020 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_visibility: [ 17 "//frameworks/base", 18 "//frameworks/base/api", 19 ], 20 // See: http://go/android-license-faq 21 // A large-scale-change added 'default_applicable_licenses' to import 22 // all of the 'license_kinds' from "frameworks_base_license" 23 // to get the below license kinds: 24 // SPDX-license-identifier-Apache-2.0 25 // SPDX-license-identifier-MIT 26 // SPDX-license-identifier-Unicode-DFS 27 default_applicable_licenses: ["frameworks_base_license"], 28} 29 30filegroup { 31 name: "non-updatable-current.txt", 32 srcs: ["current.txt"], 33} 34 35filegroup { 36 name: "non-updatable-removed.txt", 37 srcs: ["removed.txt"], 38} 39 40filegroup { 41 name: "non-updatable-system-current.txt", 42 srcs: ["system-current.txt"], 43} 44 45filegroup { 46 name: "non-updatable-system-removed.txt", 47 srcs: ["system-removed.txt"], 48} 49 50filegroup { 51 name: "non-updatable-system-lint-baseline.txt", 52 srcs: ["system-lint-baseline.txt"], 53} 54 55filegroup { 56 name: "non-updatable-module-lib-current.txt", 57 srcs: ["module-lib-current.txt"], 58 visibility: [ 59 "//frameworks/base", 60 "//frameworks/base/api", 61 "//cts/tests/signature/api", 62 ], 63} 64 65filegroup { 66 name: "non-updatable-module-lib-removed.txt", 67 srcs: ["module-lib-removed.txt"], 68 visibility: [ 69 "//frameworks/base", 70 "//frameworks/base/api", 71 "//cts/tests/signature/api", 72 ], 73} 74 75filegroup { 76 name: "non-updatable-module-lib-lint-baseline.txt", 77 srcs: ["module-lib-lint-baseline.txt"], 78} 79 80filegroup { 81 name: "non-updatable-test-current.txt", 82 srcs: ["test-current.txt"], 83} 84 85filegroup { 86 name: "non-updatable-test-removed.txt", 87 srcs: ["test-removed.txt"], 88} 89 90filegroup { 91 name: "non-updatable-test-lint-baseline.txt", 92 srcs: ["test-lint-baseline.txt"], 93} 94 95java_api_contribution { 96 name: "api-stubs-docs-non-updatable-public-stubs", 97 api_surface: "public", 98 api_file: "current.txt", 99 visibility: [ 100 "//build/orchestrator/apis", 101 ], 102} 103 104java_api_contribution { 105 name: "frameworks-base-core-api-module-lib-stubs", 106 api_surface: "module-lib", 107 api_file: "module-lib-current.txt", 108 visibility: [ 109 "//build/orchestrator/apis", 110 ], 111} 112