Merge "Use filegroups for the droidstub txt files" am: 134ad28293
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2469524 Change-Id: Iffe9aeeb87e675fe3e404434f17179452cc455ac Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -36,8 +36,8 @@ droidstubs {
|
|||||||
args: metalava_framework_docs_args,
|
args: metalava_framework_docs_args,
|
||||||
check_api: {
|
check_api: {
|
||||||
current: {
|
current: {
|
||||||
api_file: "core/api/current.txt",
|
api_file: ":non-updatable-current.txt",
|
||||||
removed_api_file: "core/api/removed.txt",
|
removed_api_file: ":non-updatable-removed.txt",
|
||||||
},
|
},
|
||||||
last_released: {
|
last_released: {
|
||||||
api_file: ":android-non-updatable.api.public.latest",
|
api_file: ":android-non-updatable.api.public.latest",
|
||||||
@@ -88,8 +88,8 @@ droidstubs {
|
|||||||
args: metalava_framework_docs_args + priv_apps,
|
args: metalava_framework_docs_args + priv_apps,
|
||||||
check_api: {
|
check_api: {
|
||||||
current: {
|
current: {
|
||||||
api_file: "core/api/system-current.txt",
|
api_file: ":non-updatable-system-current.txt",
|
||||||
removed_api_file: "core/api/system-removed.txt",
|
removed_api_file: ":non-updatable-system-removed.txt",
|
||||||
},
|
},
|
||||||
last_released: {
|
last_released: {
|
||||||
api_file: ":android-non-updatable.api.system.latest",
|
api_file: ":android-non-updatable.api.system.latest",
|
||||||
@@ -99,7 +99,7 @@ droidstubs {
|
|||||||
api_lint: {
|
api_lint: {
|
||||||
enabled: true,
|
enabled: true,
|
||||||
new_since: ":android.api.system.latest",
|
new_since: ":android.api.system.latest",
|
||||||
baseline_file: "core/api/system-lint-baseline.txt",
|
baseline_file: ":non-updatable-system-lint-baseline.txt",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
dists: [
|
dists: [
|
||||||
@@ -127,12 +127,12 @@ droidstubs {
|
|||||||
args: metalava_framework_docs_args + test + priv_apps_in_stubs,
|
args: metalava_framework_docs_args + test + priv_apps_in_stubs,
|
||||||
check_api: {
|
check_api: {
|
||||||
current: {
|
current: {
|
||||||
api_file: "core/api/test-current.txt",
|
api_file: ":non-updatable-test-current.txt",
|
||||||
removed_api_file: "core/api/test-removed.txt",
|
removed_api_file: ":non-updatable-test-removed.txt",
|
||||||
},
|
},
|
||||||
api_lint: {
|
api_lint: {
|
||||||
enabled: true,
|
enabled: true,
|
||||||
baseline_file: "core/api/test-lint-baseline.txt",
|
baseline_file: ":non-updatable-test-lint-baseline.txt",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
dists: [
|
dists: [
|
||||||
@@ -172,8 +172,8 @@ droidstubs {
|
|||||||
args: metalava_framework_docs_args + priv_apps_in_stubs + module_libs,
|
args: metalava_framework_docs_args + priv_apps_in_stubs + module_libs,
|
||||||
check_api: {
|
check_api: {
|
||||||
current: {
|
current: {
|
||||||
api_file: "core/api/module-lib-current.txt",
|
api_file: ":non-updatable-module-lib-current.txt",
|
||||||
removed_api_file: "core/api/module-lib-removed.txt",
|
removed_api_file: ":non-updatable-module-lib-removed.txt",
|
||||||
},
|
},
|
||||||
last_released: {
|
last_released: {
|
||||||
api_file: ":android-non-updatable.api.module-lib.latest",
|
api_file: ":android-non-updatable.api.module-lib.latest",
|
||||||
@@ -183,7 +183,7 @@ droidstubs {
|
|||||||
api_lint: {
|
api_lint: {
|
||||||
enabled: true,
|
enabled: true,
|
||||||
new_since: ":android.api.module-lib.latest",
|
new_since: ":android.api.module-lib.latest",
|
||||||
baseline_file: "core/api/module-lib-lint-baseline.txt",
|
baseline_file: ":non-updatable-module-lib-lint-baseline.txt",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
dists: [
|
dists: [
|
||||||
|
|||||||
@@ -13,7 +13,10 @@
|
|||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
package {
|
package {
|
||||||
default_visibility: ["//visibility:private"],
|
default_visibility: [
|
||||||
|
"//frameworks/base",
|
||||||
|
"//frameworks/base/api",
|
||||||
|
],
|
||||||
// See: http://go/android-license-faq
|
// See: http://go/android-license-faq
|
||||||
// A large-scale-change added 'default_applicable_licenses' to import
|
// A large-scale-change added 'default_applicable_licenses' to import
|
||||||
// all of the 'license_kinds' from "frameworks_base_license"
|
// all of the 'license_kinds' from "frameworks_base_license"
|
||||||
@@ -27,31 +30,33 @@ package {
|
|||||||
filegroup {
|
filegroup {
|
||||||
name: "non-updatable-current.txt",
|
name: "non-updatable-current.txt",
|
||||||
srcs: ["current.txt"],
|
srcs: ["current.txt"],
|
||||||
visibility: ["//frameworks/base/api"],
|
|
||||||
}
|
}
|
||||||
|
|
||||||
filegroup {
|
filegroup {
|
||||||
name: "non-updatable-removed.txt",
|
name: "non-updatable-removed.txt",
|
||||||
srcs: ["removed.txt"],
|
srcs: ["removed.txt"],
|
||||||
visibility: ["//frameworks/base/api"],
|
|
||||||
}
|
}
|
||||||
|
|
||||||
filegroup {
|
filegroup {
|
||||||
name: "non-updatable-system-current.txt",
|
name: "non-updatable-system-current.txt",
|
||||||
srcs: ["system-current.txt"],
|
srcs: ["system-current.txt"],
|
||||||
visibility: ["//frameworks/base/api"],
|
|
||||||
}
|
}
|
||||||
|
|
||||||
filegroup {
|
filegroup {
|
||||||
name: "non-updatable-system-removed.txt",
|
name: "non-updatable-system-removed.txt",
|
||||||
srcs: ["system-removed.txt"],
|
srcs: ["system-removed.txt"],
|
||||||
visibility: ["//frameworks/base/api"],
|
}
|
||||||
|
|
||||||
|
filegroup {
|
||||||
|
name: "non-updatable-system-lint-baseline.txt",
|
||||||
|
srcs: ["system-lint-baseline.txt"],
|
||||||
}
|
}
|
||||||
|
|
||||||
filegroup {
|
filegroup {
|
||||||
name: "non-updatable-module-lib-current.txt",
|
name: "non-updatable-module-lib-current.txt",
|
||||||
srcs: ["module-lib-current.txt"],
|
srcs: ["module-lib-current.txt"],
|
||||||
visibility: [
|
visibility: [
|
||||||
|
"//frameworks/base",
|
||||||
"//frameworks/base/api",
|
"//frameworks/base/api",
|
||||||
"//cts/tests/signature/api",
|
"//cts/tests/signature/api",
|
||||||
],
|
],
|
||||||
@@ -61,11 +66,32 @@ filegroup {
|
|||||||
name: "non-updatable-module-lib-removed.txt",
|
name: "non-updatable-module-lib-removed.txt",
|
||||||
srcs: ["module-lib-removed.txt"],
|
srcs: ["module-lib-removed.txt"],
|
||||||
visibility: [
|
visibility: [
|
||||||
|
"//frameworks/base",
|
||||||
"//frameworks/base/api",
|
"//frameworks/base/api",
|
||||||
"//cts/tests/signature/api",
|
"//cts/tests/signature/api",
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
filegroup {
|
||||||
|
name: "non-updatable-module-lib-lint-baseline.txt",
|
||||||
|
srcs: ["module-lib-lint-baseline.txt"],
|
||||||
|
}
|
||||||
|
|
||||||
|
filegroup {
|
||||||
|
name: "non-updatable-test-current.txt",
|
||||||
|
srcs: ["test-current.txt"],
|
||||||
|
}
|
||||||
|
|
||||||
|
filegroup {
|
||||||
|
name: "non-updatable-test-removed.txt",
|
||||||
|
srcs: ["test-removed.txt"],
|
||||||
|
}
|
||||||
|
|
||||||
|
filegroup {
|
||||||
|
name: "non-updatable-test-lint-baseline.txt",
|
||||||
|
srcs: ["test-lint-baseline.txt"],
|
||||||
|
}
|
||||||
|
|
||||||
java_api_contribution {
|
java_api_contribution {
|
||||||
name: "api-stubs-docs-non-updatable-public-stubs",
|
name: "api-stubs-docs-non-updatable-public-stubs",
|
||||||
api_surface: "public",
|
api_surface: "public",
|
||||||
|
|||||||
Reference in New Issue
Block a user