blob: bd12b79c63e8fd209befef6fed10a358dc38d37e [file] [log] [blame]
//
// SPDX-FileCopyrightText: 2023-2024 The LineageOS Project
// SPDX-License-Identifier: Apache-2.0
//
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_app {
name: "Glimpse",
defaults: ["aapt_version_code_defaults"],
srcs: ["src/main/java/**/*.kt"],
resource_dirs: ["src/main/res"],
manifest: "src/main/AndroidManifest.xml",
sdk_version: "34",
product_specific: true,
use_embedded_native_libs: true,
overrides: [
"Gallery",
"Gallery3D",
"GalleryNew3D",
],
required: [
"GlimpseFrameworksBaseOverlay",
"initial-package-stopped-states-org.leafos.glimpse",
"preinstalled-packages-org.leafos.glimpse",
],
static_libs: [
// DO NOT EDIT THIS SECTION MANUALLY
"androidx.core_core-ktx",
"androidx.appcompat_appcompat",
"androidx-constraintlayout_constraintlayout",
"androidx.preference_preference",
"Glimpse_com.google.android.material_material",
"androidx.exifinterface_exifinterface",
"Glimpse_androidx.media3_media3-exoplayer",
"Glimpse_androidx.media3_media3-exoplayer-dash",
"Glimpse_androidx.media3_media3-exoplayer-hls",
"Glimpse_androidx.media3_media3-exoplayer-rtsp",
"Glimpse_androidx.media3_media3-exoplayer-smoothstreaming",
"Glimpse_androidx.media3_media3-ui",
"androidx.navigation_navigation-fragment-ktx",
"androidx.navigation_navigation-ui-ktx",
"androidx.recyclerview_recyclerview",
"androidx.recyclerview_recyclerview-selection",
"Glimpse_io.coil-kt_coil",
"Glimpse_io.coil-kt_coil-gif",
"Glimpse_io.coil-kt_coil-video",
"Glimpse_io.github.panpf.zoomimage_zoomimage-view-coil",
],
optimize: {
proguard_flags_files: ["proguard-rules.pro"],
},
aaptflags: [
"--rename-manifest-package",
"org.leafos.glimpse",
],
}
prebuilt_etc {
name: "initial-package-stopped-states-org.leafos.glimpse",
product_specific: true,
sub_dir: "sysconfig",
src: "initial-package-stopped-states-org.leafos.glimpse.xml",
filename_from_src: true,
}
prebuilt_etc {
name: "preinstalled-packages-org.leafos.glimpse",
product_specific: true,
sub_dir: "sysconfig",
src: "preinstalled-packages-org.leafos.glimpse.xml",
filename_from_src: true,
}