// Copyright (C) 2016 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_system_ui_please_use_a_more_specific_subteam_if_possible_",
    // See: http://go/android-license-faq
    // A large-scale-change added 'default_applicable_licenses' to import
    // all of the 'license_kinds' from "frameworks_base_packages_SystemUI_license"
    // to get the below license kinds:
    //   SPDX-license-identifier-Apache-2.0
    default_applicable_licenses: ["frameworks_base_packages_SystemUI_license"],
}

java_library {

    name: "SystemUIPluginLib",

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

    optimize: {
        proguard_flags_files: [
            "proguard_plugins.flags",
        ],
        export_proguard_flags_files: true,
    },

    // If you add a static lib here, you may need to also add the package to the ClassLoaderFilter
    // in PluginInstance. That will ensure that loaded plugins have access to the related classes.
    // You should also add it to proguard_common.flags so that proguard does not remove the portions
    // of the library which are used by the plugins but not by systemui itself.
    static_libs: [
        "androidx.annotation_annotation",
        "androidx-constraintlayout_constraintlayout",
        "PlatformAnimationLib",
        "PluginCoreLib",
        "SystemUICommon",
        "SystemUILogLib",
        "androidx.annotation_annotation",
    ],

}

android_app {

    // Dummy to generate .toc files.
    name: "PluginDummyLib",
    use_resource_processor: true,
    platform_apis: true,
    srcs: ["src/**/*.java"],

    libs: ["SystemUIPluginLib"],

    optimize: {
        enabled: false,
    },

}
