1package { 2 default_applicable_licenses: ["Android-Apache-2.0"], 3} 4 5android_app { 6 name: "Gallery2", 7 8 static_libs: [ 9 "androidx.fragment_fragment", 10 "androidx.legacy_legacy-support-core-ui", 11 "androidx.core_core", 12 "androidx.legacy_legacy-support-v13", 13 "com.android.gallery3d.common2", 14 "xmp_toolkit", 15 "mp4parser", 16 ], 17 18 srcs: [ 19 "src/**/*.java", 20 "src_pd/**/*.java", 21 ], 22 23 resource_dirs: ["res"], 24 25 product_specific: true, 26 27 overrides: [ 28 "Gallery", 29 "Gallery3D", 30 "GalleryNew3D", 31 ], 32 33 sdk_version: "current", 34 35 target_sdk_version: "28", 36 37 jni_libs: [ 38 "libjni_eglfence", 39 "libjni_filtershow_filters", 40 "libjni_jpegstream", 41 ], 42 43 optimize: { 44 proguard_flags_files: ["proguard.flags"], 45 }, 46 47 libs: ["org.apache.http.legacy"], 48 49 optional_uses_libs: [ 50 "com.google.android.media.effects", 51 "org.apache.http.legacy", 52 ], 53 54 jarjar_rules: "jarjar-rules.txt", 55} 56