• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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    jni_libs: [
36        "libjni_eglfence",
37        "libjni_filtershow_filters",
38        "libjni_jpegstream",
39    ],
40
41    optimize: {
42        proguard_flags_files: ["proguard.flags"],
43    },
44
45    libs: ["org.apache.http.legacy"],
46
47    optional_uses_libs: ["com.google.android.media.effects"],
48
49    jarjar_rules: "jarjar-rules.txt",
50}
51