-
Notifications
You must be signed in to change notification settings - Fork 2
/
Android.bp
62 lines (50 loc) · 1.13 KB
/
Android.bp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
//
// Copyright (C) 2013 Google Inc.
//
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",
],
optional_uses_libs: ["org.apache.http.legacy"],
srcs: [
"src/**/*.java",
"src_pd/**/*.java",
"src_pd_gcam/**/*.java",
],
resource_dirs: [
"res",
"res_p",
],
aaptflags: [
"--auto-add-overlay",
"--version-name",
"2.0.002",
"--version-code",
"20002000",
],
sdk_version: "system_current",
product_specific: true,
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",
],
}