You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

69 lines
1.3 KiB

package {
// See: http://go/android-license-faq
default_applicable_licenses: [
"Android-Apache-2.0",
],
}
android_app {
name: "Camera2",
static_libs: [
"androidx.legacy_legacy-support-v13",
"androidx.legacy_legacy-support-v4",
"androidx.core_core",
"android-ex-camera2-portability",
"xmp_toolkit",
"glide",
"guava",
"jsr305",
"zxing-core-1.7",
],
optional_uses_libs: ["org.apache.http.legacy"],
srcs: ["src/**/*.java"] + ["src_pd/**/*.java"] + ["src_pd_gcam/**/*.java"],
resource_dirs: [
"res",
"res_p",
],
// ANDROIDMK TRANSLATION ERROR: unsupported include
// include $(LOCAL_PATH)/version.mk
aaptflags: [
"--auto-add-overlay",
"--version-name",
"2.0.002",
"--version-code",
"20002000",
],
//LOCAL_SDK_VERSION := current
//LOCAL_PRODUCT_MODULE := true
platform_apis: true,
certificate: "platform",
//LOCAL_DEX_PREOPT := false
optimize: {
proguard_flags_files: ["proguard.flags"],
},
// Guava uses deprecated org.apache.http.legacy classes.
libs: ["org.apache.http.legacy"],
jni_libs: [
"libjni_tinyplanet",
"libjni_jpegutil",
],
}