-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathAndroid.bp
More file actions
53 lines (50 loc) · 1.09 KB
/
Android.bp
File metadata and controls
53 lines (50 loc) · 1.09 KB
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
cc_defaults {
name: "apkparser_build_defaults",
cflags: [
"-Wall",
"-Werror",
"-Wno-unused-parameter",
],
cppflags: [
"-Wno-missing-field-initializers",
"-fno-exceptions",
"-fno-rtti",
],
target: {
darwin: {
cflags: ["-D_DARWIN_UNLIMITED_STREAMS"],
},
},
}
cc_defaults {
name: "apkparser_defaults",
defaults: ["apkparser_build_defaults"],
header_libs: ["jni_headers", "libaapt2_headers", "libdexfile_headers"],
static_libs: [
"libaapt2",
"libandroidfw",
"libutils",
"liblog",
"libcutils",
"libexpat",
"libziparchive",
"libpng",
"libbase",
"libprotobuf-cpp-full",
"libz",
"libbuildversion",
"libidmap2_policies",
// dex
"libdexfile",
],
stl: "libc++_static",
}
cc_binary_host {
name: "apkparser",
srcs: ["Main.cpp", "Apk.cpp"],
defaults: ["apkparser_defaults"],
use_version_lib: true,
dist: {
targets: ["apkparser_artifacts"],
},
}