blob: f17dd44a23e3f79ba0c232ab84d860c3750c817c [file] [log] [blame]
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_app {
name: "Gallery2",
static_libs: [
"com.google.android.material_material",
"androidx.annotation_annotation",
"androidx.fragment_fragment",
"androidx.heifwriter_heifwriter",
"androidx.legacy_legacy-support-core-ui",
"androidx.core_core",
"androidx.legacy_legacy-support-v13",
"com.android.gallery3d.common2",
"xmp_toolkit",
"mp4parser",
],
srcs: [
"src/**/*.java",
"src_pd/**/*.java",
],
resource_dirs: ["res"],
system_ext_specific: true,
platform_apis: true,
overrides: [
"Gallery",
"Gallery3D",
"GalleryNew3D",
],
jni_libs: [
"libjni_gallery_eglfence",
"libjni_gallery_filters",
"libjni_gallery_jpegstream",
],
optimize: {
proguard_flags_files: ["proguard.flags"],
},
libs: ["telephony-common"] + ["org.apache.http.legacy"],
optional_uses_libs: ["com.google.android.media.effects"],
jarjar_rules: "jarjar-rules.txt",
}