summaryrefslogtreecommitdiff
path: root/core/api/Android.bp
diff options
context:
space:
mode:
authorAnton Hansson <hansson@google.com>2020-10-29 18:59:10 +0000
committerAnton Hansson <hansson@google.com>2020-10-29 18:59:10 +0000
commit7bfceb87e1c9e23b618b3691e29b10bc149a58d9 (patch)
treec33e6bc724a82f3514f660fd4c94b84ca4b9590a /core/api/Android.bp
parentec1966e3720aa23fdb1422149976a67ded42fa94 (diff)
Move non-updatable-api/ to core/api/
This achieves two things: - it's been noted that non-updatable-api is a confusing term as it has to be updated every time the API changes - the api-review logic trigers on txt files in subdirs named 'api', which non-updatable-api does not trigger on I will (less urgently) try to get rid of the term "non-updatable" from other places too, perhaps going for "non-module" or "core" as a replacement. Bug: 171029603 Test: m checkapi Change-Id: I843efb4880b6caaf3872e9b0918fd710fb93d979 Merged-In: I843efb4880b6caaf3872e9b0918fd710fb93d979
Diffstat (limited to 'core/api/Android.bp')
-rw-r--r--core/api/Android.bp53
1 files changed, 53 insertions, 0 deletions
diff --git a/core/api/Android.bp b/core/api/Android.bp
new file mode 100644
index 000000000000..00b901992b90
--- /dev/null
+++ b/core/api/Android.bp
@@ -0,0 +1,53 @@
+// Copyright (C) 2020 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.
+
+package {
+ default_visibility: ["//visibility:private"],
+}
+
+filegroup {
+ name: "non-updatable-current.txt",
+ srcs: ["current.txt"],
+ visibility: ["//frameworks/base/api"],
+}
+
+filegroup {
+ name: "non-updatable-removed.txt",
+ srcs: ["removed.txt"],
+ visibility: ["//frameworks/base/api"],
+}
+
+filegroup {
+ name: "non-updatable-system-current.txt",
+ srcs: ["system-current.txt"],
+ visibility: ["//frameworks/base/api"],
+}
+
+filegroup {
+ name: "non-updatable-system-removed.txt",
+ srcs: ["system-removed.txt"],
+ visibility: ["//frameworks/base/api"],
+}
+
+filegroup {
+ name: "non-updatable-module-lib-current.txt",
+ srcs: ["module-lib-current.txt"],
+ visibility: ["//frameworks/base/api"],
+}
+
+filegroup {
+ name: "non-updatable-module-lib-removed.txt",
+ srcs: ["module-lib-removed.txt"],
+ visibility: ["//frameworks/base/api"],
+}