Jaewoong Jung | edfa8e9 | 2019-03-27 16:54:43 -0700 | [diff] [blame] | 1 | // 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 Badour | e539dba | 2021-02-12 17:07:05 -0800 | [diff] [blame] | 15 | package { |
Song Chun Fan | b4131ea | 2024-09-18 19:06:58 +0000 | [diff] [blame] | 16 | default_team: "trendy_team_framework_android_packages", |
Bob Badour | e539dba | 2021-02-12 17:07:05 -0800 | [diff] [blame] | 17 | default_applicable_licenses: [ |
| 18 | "frameworks_base_packages_PackageInstaller_license", |
| 19 | ], |
| 20 | } |
| 21 | |
| 22 | // Added automatically by a large-scale-change |
| 23 | // See: http://go/android-license-faq |
| 24 | license { |
| 25 | name: "frameworks_base_packages_PackageInstaller_license", |
| 26 | visibility: [":__subpackages__"], |
| 27 | license_kinds: [ |
| 28 | "SPDX-license-identifier-Apache-2.0", |
| 29 | ], |
| 30 | license_text: [ |
| 31 | "NOTICE", |
| 32 | ], |
| 33 | } |
| 34 | |
Jaewoong Jung | edfa8e9 | 2019-03-27 16:54:43 -0700 | [diff] [blame] | 35 | android_app { |
| 36 | name: "PackageInstaller", |
Jeff Sharkey | d23b537 | 2020-10-23 14:30:42 -0600 | [diff] [blame] | 37 | defaults: ["platform_app_defaults"], |
Jaewoong Jung | edfa8e9 | 2019-03-27 16:54:43 -0700 | [diff] [blame] | 38 | |
Sumedh Sen | 43ee6d9 | 2023-11-28 16:37:08 -0800 | [diff] [blame] | 39 | srcs: [ |
| 40 | "src/**/*.java", |
| 41 | "src/**/*.kt", |
| 42 | ], |
Jaewoong Jung | edfa8e9 | 2019-03-27 16:54:43 -0700 | [diff] [blame] | 43 | |
| 44 | certificate: "platform", |
| 45 | privileged: true, |
Sumedh Sen | 1c6b5ff | 2022-10-04 17:30:29 -0700 | [diff] [blame] | 46 | platform_apis: false, |
| 47 | sdk_version: "system_current", |
Liz Kammer | 8fe6744 | 2020-06-19 00:05:29 +0000 | [diff] [blame] | 48 | rename_resources_package: false, |
Jaewoong Jung | edfa8e9 | 2019-03-27 16:54:43 -0700 | [diff] [blame] | 49 | static_libs: [ |
Jaewoong Jung | edfa8e9 | 2019-03-27 16:54:43 -0700 | [diff] [blame] | 50 | "androidx.leanback_leanback", |
Sumedh Sen | 1c6b5ff | 2022-10-04 17:30:29 -0700 | [diff] [blame] | 51 | "androidx.annotation_annotation", |
Sumedh Sen | 6343e91 | 2023-09-18 14:18:10 -0700 | [diff] [blame] | 52 | "androidx.fragment_fragment", |
| 53 | "androidx.lifecycle_lifecycle-livedata", |
| 54 | "androidx.lifecycle_lifecycle-extensions", |
Sumedh Sen | 352ade0 | 2023-11-22 16:49:40 -0800 | [diff] [blame] | 55 | "android.content.pm.flags-aconfig-java", |
Himanshu Gupta | 6e80166 | 2023-11-22 17:27:31 +0000 | [diff] [blame] | 56 | "android.os.flags-aconfig-java", |
Olivier Nshimiye | a1e72e6 | 2024-02-26 16:21:15 +0000 | [diff] [blame] | 57 | "android.multiuser.flags-aconfig-java", |
Jaewoong Jung | edfa8e9 | 2019-03-27 16:54:43 -0700 | [diff] [blame] | 58 | ], |
Andriy Kozachuk | 6c699d0 | 2023-04-19 15:42:34 +0000 | [diff] [blame] | 59 | |
| 60 | lint: { |
| 61 | error_checks: ["Recycle"], |
| 62 | }, |
Szu-An Lu | 8bac501 | 2024-02-21 08:59:55 +0000 | [diff] [blame] | 63 | } |
| 64 | |
| 65 | android_app { |
| 66 | name: "PackageInstaller_tablet", |
| 67 | defaults: ["platform_app_defaults"], |
| 68 | |
| 69 | srcs: [ |
| 70 | "src/**/*.java", |
| 71 | "src/**/*.kt", |
| 72 | ], |
| 73 | |
| 74 | certificate: "platform", |
| 75 | privileged: true, |
| 76 | platform_apis: false, |
| 77 | sdk_version: "system_current", |
| 78 | rename_resources_package: false, |
| 79 | overrides: ["PackageInstaller"], |
| 80 | |
| 81 | static_libs: [ |
Szu-An Lu | 8bac501 | 2024-02-21 08:59:55 +0000 | [diff] [blame] | 82 | "androidx.leanback_leanback", |
| 83 | "androidx.fragment_fragment", |
| 84 | "androidx.lifecycle_lifecycle-livedata", |
| 85 | "androidx.lifecycle_lifecycle-extensions", |
| 86 | "android.content.pm.flags-aconfig-java", |
| 87 | "android.os.flags-aconfig-java", |
Olivier Nshimiye | a1e72e6 | 2024-02-26 16:21:15 +0000 | [diff] [blame] | 88 | "android.multiuser.flags-aconfig-java", |
Szu-An Lu | 8bac501 | 2024-02-21 08:59:55 +0000 | [diff] [blame] | 89 | ], |
| 90 | aaptflags: ["--product tablet"], |
| 91 | |
| 92 | lint: { |
| 93 | error_checks: ["Recycle"], |
| 94 | }, |
| 95 | } |
| 96 | |
| 97 | android_app { |
| 98 | name: "PackageInstaller_tv", |
| 99 | defaults: ["platform_app_defaults"], |
| 100 | |
| 101 | srcs: [ |
| 102 | "src/**/*.java", |
| 103 | "src/**/*.kt", |
| 104 | ], |
| 105 | |
| 106 | certificate: "platform", |
| 107 | privileged: true, |
| 108 | platform_apis: false, |
| 109 | sdk_version: "system_current", |
| 110 | rename_resources_package: false, |
| 111 | overrides: ["PackageInstaller"], |
| 112 | |
| 113 | static_libs: [ |
Szu-An Lu | 8bac501 | 2024-02-21 08:59:55 +0000 | [diff] [blame] | 114 | "androidx.leanback_leanback", |
| 115 | "androidx.annotation_annotation", |
| 116 | "androidx.fragment_fragment", |
| 117 | "androidx.lifecycle_lifecycle-livedata", |
| 118 | "androidx.lifecycle_lifecycle-extensions", |
| 119 | "android.content.pm.flags-aconfig-java", |
| 120 | "android.os.flags-aconfig-java", |
Olivier Nshimiye | a1e72e6 | 2024-02-26 16:21:15 +0000 | [diff] [blame] | 121 | "android.multiuser.flags-aconfig-java", |
Szu-An Lu | 8bac501 | 2024-02-21 08:59:55 +0000 | [diff] [blame] | 122 | ], |
| 123 | aaptflags: ["--product tv"], |
| 124 | |
| 125 | lint: { |
| 126 | error_checks: ["Recycle"], |
| 127 | }, |
Lance Chang | ef8f04b | 2022-05-15 08:35:10 -0700 | [diff] [blame] | 128 | } |