blob: b646da44f0aadfbfa4bf83ee19b9c110246e7815 [file] [log] [blame]
Jaewoong Jungedfa8e92019-03-27 16:54:43 -07001// Copyright (C) 2018 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
Bob Badoure539dba2021-02-12 17:07:05 -080015package {
16 default_applicable_licenses: [
17 "frameworks_base_packages_PackageInstaller_license",
18 ],
19}
20
21// Added automatically by a large-scale-change
22// See: http://go/android-license-faq
23license {
24 name: "frameworks_base_packages_PackageInstaller_license",
25 visibility: [":__subpackages__"],
26 license_kinds: [
27 "SPDX-license-identifier-Apache-2.0",
28 ],
29 license_text: [
30 "NOTICE",
31 ],
32}
33
Jaewoong Jungedfa8e92019-03-27 16:54:43 -070034android_app {
35 name: "PackageInstaller",
Jeff Sharkeyd23b5372020-10-23 14:30:42 -060036 defaults: ["platform_app_defaults"],
Jaewoong Jungedfa8e92019-03-27 16:54:43 -070037
Sumedh Sen43ee6d92023-11-28 16:37:08 -080038 srcs: [
39 "src/**/*.java",
40 "src/**/*.kt",
41 ],
Jaewoong Jungedfa8e92019-03-27 16:54:43 -070042
43 certificate: "platform",
44 privileged: true,
Sumedh Sen1c6b5ff2022-10-04 17:30:29 -070045 platform_apis: false,
46 sdk_version: "system_current",
Liz Kammer8fe67442020-06-19 00:05:29 +000047 rename_resources_package: false,
Jaewoong Jungedfa8e92019-03-27 16:54:43 -070048 static_libs: [
49 "xz-java",
50 "androidx.leanback_leanback",
Sumedh Sen1c6b5ff2022-10-04 17:30:29 -070051 "androidx.annotation_annotation",
Sumedh Sen6343e912023-09-18 14:18:10 -070052 "androidx.fragment_fragment",
53 "androidx.lifecycle_lifecycle-livedata",
54 "androidx.lifecycle_lifecycle-extensions",
Sumedh Sen352ade02023-11-22 16:49:40 -080055 "android.content.pm.flags-aconfig-java",
Himanshu Gupta6e801662023-11-22 17:27:31 +000056 "android.os.flags-aconfig-java",
Jaewoong Jungedfa8e92019-03-27 16:54:43 -070057 ],
Andriy Kozachuk6c699d02023-04-19 15:42:34 +000058
59 lint: {
60 error_checks: ["Recycle"],
61 },
Inseob Kim82a7ebd2024-02-16 11:10:31 +090062 generate_product_characteristics_rro: true,
Lance Changef8f04b2022-05-15 08:35:10 -070063}