This facilitates exposing the Parsed_ classes as @SystemApi(client = SYSTEM_SERVER) while keeping everything inside services.jar rather than having it split across both jars. This reverts getPackageArchiveInfo to use legacy PackageParser, since framework.jar can no longer access the moved classes. Bug: 214038417 Test: presubmit, no logic changes Change-Id: I152d70fb4f643d32efb012cfb20b0fbc5f88f2d8
41 lines
967 B
Plaintext
41 lines
967 B
Plaintext
package {
|
|
// See: http://go/android-license-faq
|
|
// A large-scale-change added 'default_applicable_licenses' to import
|
|
// all of the 'license_kinds' from "frameworks_base_license"
|
|
// to get the below license kinds:
|
|
// SPDX-license-identifier-Apache-2.0
|
|
default_applicable_licenses: ["frameworks_base_license"],
|
|
}
|
|
|
|
android_test {
|
|
name: "PackageManagerPerfTests",
|
|
|
|
srcs: [
|
|
"src/**/*.java",
|
|
"src/**/*.kt",
|
|
],
|
|
|
|
static_libs: [
|
|
"platform-compat-test-rules",
|
|
"androidx.appcompat_appcompat",
|
|
"androidx.test.rules",
|
|
"androidx.test.ext.junit",
|
|
"androidx.annotation_annotation",
|
|
"apct-perftests-utils",
|
|
"collector-device-lib-platform",
|
|
"cts-install-lib-java",
|
|
"services.core",
|
|
],
|
|
|
|
libs: ["android.test.base"],
|
|
|
|
platform_apis: true,
|
|
|
|
test_suites: ["device-tests"],
|
|
|
|
data: [":perfetto_artifacts"],
|
|
|
|
certificate: "platform",
|
|
|
|
}
|