//
// Copyright (C) 2021 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.
//

//
// Build rule for WallpaperPicker2 dependencies lib.
//
package {
    default_applicable_licenses: ["Android-Apache-2.0"],
}

android_library {
    name: "wallpaper-common-deps",

    static_libs: [
        "androidx.activity_activity-ktx",
        "androidx.appcompat_appcompat",
        "androidx.cardview_cardview",
        "androidx-constraintlayout_constraintlayout",
        "androidx.exifinterface_exifinterface",
        "androidx.lifecycle_lifecycle-livedata-ktx",
        "androidx.lifecycle_lifecycle-runtime-ktx",
        "androidx.recyclerview_recyclerview",
        "androidx.slice_slice-view",
        "androidx.transition_transition-ktx-nodeps",
        "androidx.viewpager2_viewpager2",
        "androidx.navigation_navigation-ui-ktx",
        "androidx.navigation_navigation-fragment-ktx",
        "com.google.android.material_material",
        "com_android_wallpaper_flags_lib",
        "glide-prebuilt",
        "glide-gifdecoder-prebuilt",
        "glide-disklrucache-prebuilt",
        "kotlinx-coroutines-android",
        "kotlinx-coroutines-core",
        "libbackup",
        "SettingsLibCollapsingToolbarBaseActivity",
        "subsampling-scale-image-view",
        "SystemUISharedLib",
        "SystemUICustomizationLib",
        "volley",
        "SettingsLibActivityEmbedding",
    ],

    resource_dirs: ["res"],

    optimize: {
        enabled: false,
    },

    kotlincflags: ["-Xjvm-default=all"],

    sdk_version: "current",

    manifest: "AndroidManifest-empty.xml",

    visibility: [
        ":__subpackages__",
        "//packages/apps/ThemePicker:__subpackages__",
        "//vendor:__subpackages__",
    ],
}

filegroup {
    name: "WallpaperPicker2_srcs",
    srcs: [
        "src/**/*.java",
        "src/**/*.kt",
    ],
}

// If these targets are included in WallpaperPicker2_defaults directly instead of in a filegroup,
// the tests can't find them.
filegroup {
    name: "WallpaperPicker2_src_overrides",
    srcs: [
        "src_override/**/*.java",
        "src_override/**/*.kt",
    ],
}

// Production-only files that should be excluded in tests.
filegroup {
    name: "WallpaperPicker2_src_prod",
    visibility: [":__subpackages__"],
    srcs: ["src_override/com/android/wallpaper/picker/WallpapersApplication.java"],
}

genrule {
   name: "WallpaperPicker2_res",
   tools: ["soong_zip"],
   srcs: [
       "res/**/*"
   ],
   out: ["wallpaperpicker2_res.zip"],
   cmd: "INPUTS=($(in)) && "
       + "RES_DIR=$$(dirname $$(dirname $${INPUTS[0]})) && "
       + "$(location soong_zip) -o $(out) -C $$RES_DIR -D $$RES_DIR"
}

filegroup {
    name: "WallpaperPicker2_Manifest",
    srcs: [
        "AndroidManifest.xml",
    ],
}

// Common defaults that doesn't have WallpaperPicker2 specifics.
java_defaults {
    name: "WallpaperPicker2_common_defaults",

    static_libs: [
        "wallpaper-common-deps",
        "monet",
        "hilt_android",
    ],

    srcs: [
        ":WallpaperPicker2_srcs",
    ],
    resource_zips: [":WallpaperPicker2_res"],

    certificate: "",

    optimize: {
        enabled: false,
    },

    kotlincflags: ["-Xjvm-default=all"],
    privileged: true,
    system_ext_specific: true,

    use_embedded_native_libs: true,
}

java_defaults {
    name: "WallpaperPicker2_defaults",
    defaults: ["WallpaperPicker2_common_defaults"],

    srcs: [
        ":WallpaperPicker2_src_overrides",
    ],
}

//
// Build app code.
//
android_app {
    name: "WallpaperPicker2",

    defaults: ["WallpaperPicker2_defaults"],
    manifest: ":WallpaperPicker2_Manifest",

    platform_apis: true,
    overrides: ["WallpaperPicker"],
}
