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
54 lines
1.5 KiB
Plaintext
54 lines
1.5 KiB
Plaintext
// 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"],
|
|
}
|