1// 2// Copyright (C) 2013 Google Inc. 3// 4 5package { 6 // See: http://go/android-license-faq 7 default_applicable_licenses: [ 8 "Android-Apache-2.0", 9 ], 10} 11 12android_app { 13 name: "Camera2", 14 15 static_libs: [ 16 "androidx.legacy_legacy-support-v13", 17 "androidx.legacy_legacy-support-v4", 18 "androidx.core_core", 19 "android-ex-camera2-portability", 20 "xmp_toolkit", 21 "glide", 22 "guava", 23 "jsr305", 24 ], 25 26 optional_uses_libs: ["org.apache.http.legacy"], 27 28 srcs: [ 29 "src/**/*.java", 30 "src_pd/**/*.java", 31 "src_pd_gcam/**/*.java", 32 ], 33 34 resource_dirs: [ 35 "res", 36 "res_p", 37 ], 38 39 aaptflags: [ 40 "--auto-add-overlay", 41 "--version-name", 42 "2.0.002", 43 "--version-code", 44 "20002000", 45 ], 46 47 sdk_version: "system_current", 48 49 product_specific: true, 50 51 optimize: { 52 proguard_flags_files: ["proguard.flags"], 53 }, 54 55 // Guava uses deprecated org.apache.http.legacy classes. 56 libs: ["org.apache.http.legacy"], 57 58 jni_libs: [ 59 "libjni_tinyplanet", 60 "libjni_jpegutil", 61 ], 62} 63