blob: 58224b817a4d08942e4c3a1c08afb66e37308ad4 [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
38 srcs: ["src/**/*.java"],
39
40 certificate: "platform",
41 privileged: true,
Sumedh Sen1c6b5ff2022-10-04 17:30:29 -070042 platform_apis: false,
43 sdk_version: "system_current",
Liz Kammer8fe67442020-06-19 00:05:29 +000044 rename_resources_package: false,
Jaewoong Jungedfa8e92019-03-27 16:54:43 -070045 static_libs: [
46 "xz-java",
47 "androidx.leanback_leanback",
Sumedh Sen1c6b5ff2022-10-04 17:30:29 -070048 "androidx.annotation_annotation",
Jaewoong Jungedfa8e92019-03-27 16:54:43 -070049 ],
Andriy Kozachuk6c699d02023-04-19 15:42:34 +000050
51 lint: {
52 error_checks: ["Recycle"],
53 },
Jaewoong Jungedfa8e92019-03-27 16:54:43 -070054}
Lance Changef8f04b2022-05-15 08:35:10 -070055
56android_app {
57 name: "PackageInstaller_tablet",
58 defaults: ["platform_app_defaults"],
59
60 srcs: ["src/**/*.java"],
61
62 certificate: "platform",
63 privileged: true,
Sumedh Sen1c6b5ff2022-10-04 17:30:29 -070064 platform_apis: false,
65 sdk_version: "system_current",
Lance Changef8f04b2022-05-15 08:35:10 -070066 rename_resources_package: false,
Hongguang Chen48639982022-12-01 11:20:30 -080067 overrides: ["PackageInstaller"],
Lance Changef8f04b2022-05-15 08:35:10 -070068
69 static_libs: [
70 "xz-java",
71 "androidx.leanback_leanback",
72 ],
73 aaptflags: ["--product tablet"],
Andriy Kozachuk6c699d02023-04-19 15:42:34 +000074
75 lint: {
76 error_checks: ["Recycle"],
77 },
Lance Changef8f04b2022-05-15 08:35:10 -070078}
79
80android_app {
81 name: "PackageInstaller_tv",
82 defaults: ["platform_app_defaults"],
83
84 srcs: ["src/**/*.java"],
85
86 certificate: "platform",
87 privileged: true,
Sumedh Sen1c6b5ff2022-10-04 17:30:29 -070088 platform_apis: false,
89 sdk_version: "system_current",
Lance Changef8f04b2022-05-15 08:35:10 -070090 rename_resources_package: false,
Hongguang Chen48639982022-12-01 11:20:30 -080091 overrides: ["PackageInstaller"],
Lance Changef8f04b2022-05-15 08:35:10 -070092
93 static_libs: [
94 "xz-java",
95 "androidx.leanback_leanback",
Sumedh Sen1c6b5ff2022-10-04 17:30:29 -070096 "androidx.annotation_annotation",
Lance Changef8f04b2022-05-15 08:35:10 -070097 ],
98 aaptflags: ["--product tv"],
Andriy Kozachuk6c699d02023-04-19 15:42:34 +000099
100 lint: {
101 error_checks: ["Recycle"],
102 },
Lance Changef8f04b2022-05-15 08:35:10 -0700103}