// Copyright (C) 2018 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//      http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

package {
    default_team: "trendy_team_framework_android_packages",
    default_applicable_licenses: [
        "frameworks_base_packages_PackageInstaller_license",
    ],
}

// Added automatically by a large-scale-change
// See: http://go/android-license-faq
license {
    name: "frameworks_base_packages_PackageInstaller_license",
    visibility: [":__subpackages__"],
    license_kinds: [
        "SPDX-license-identifier-Apache-2.0",
    ],
    license_text: [
        "NOTICE",
    ],
}

android_app {
    name: "PackageInstaller",
    defaults: ["platform_app_defaults"],

    srcs: [
        "src/**/*.java",
        "src/**/*.kt",
    ],

    certificate: "platform",
    privileged: true,
    platform_apis: false,
    sdk_version: "system_current",
    rename_resources_package: false,
    static_libs: [
        "androidx.leanback_leanback",
        "androidx.annotation_annotation",
        "androidx.fragment_fragment",
        "androidx.lifecycle_lifecycle-livedata",
        "androidx.lifecycle_lifecycle-extensions",
        "android.content.pm.flags-aconfig-java",
        "android.os.flags-aconfig-java",
        "android.multiuser.flags-aconfig-java",
    ],

    lint: {
        error_checks: ["Recycle"],
    },
}

android_app {
    name: "PackageInstaller_tablet",
    defaults: ["platform_app_defaults"],

    srcs: [
        "src/**/*.java",
        "src/**/*.kt",
    ],

    certificate: "platform",
    privileged: true,
    platform_apis: false,
    sdk_version: "system_current",
    rename_resources_package: false,
    overrides: ["PackageInstaller"],

    static_libs: [
        "androidx.leanback_leanback",
        "androidx.fragment_fragment",
        "androidx.lifecycle_lifecycle-livedata",
        "androidx.lifecycle_lifecycle-extensions",
        "android.content.pm.flags-aconfig-java",
        "android.os.flags-aconfig-java",
        "android.multiuser.flags-aconfig-java",
    ],
    aaptflags: ["--product tablet"],

    lint: {
        error_checks: ["Recycle"],
    },
}

android_app {
    name: "PackageInstaller_tv",
    defaults: ["platform_app_defaults"],

    srcs: [
        "src/**/*.java",
        "src/**/*.kt",
    ],

    certificate: "platform",
    privileged: true,
    platform_apis: false,
    sdk_version: "system_current",
    rename_resources_package: false,
    overrides: ["PackageInstaller"],

    static_libs: [
        "androidx.leanback_leanback",
        "androidx.annotation_annotation",
        "androidx.fragment_fragment",
        "androidx.lifecycle_lifecycle-livedata",
        "androidx.lifecycle_lifecycle-extensions",
        "android.content.pm.flags-aconfig-java",
        "android.os.flags-aconfig-java",
        "android.multiuser.flags-aconfig-java",
    ],
    aaptflags: ["--product tv"],

    lint: {
        error_checks: ["Recycle"],
    },
}
