-
Notifications
You must be signed in to change notification settings - Fork 1
/
Android.bp
48 lines (45 loc) · 899 Bytes
/
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
cc_library_shared {
name: "libtinycompress",
vendor: true,
cflags: [
"-Wall",
"-Werror",
"-Wno-macro-redefined",
"-Wno-unused-function",
],
export_include_dirs: ["include"],
srcs: [
"compress.c",
"utils.c",
],
shared_libs: [
"libcutils",
"libutils",
],
header_libs: [
"generated_kernel_headers",
],
product_variables: {
zenx: {
supports_extended_compress_format: {
cflags: ["-DENABLE_EXTENDED_COMPRESS_FORMAT"],
},
},
},
}
cc_binary {
name: "cplay",
vendor: true,
cflags: [
"-Wall",
"-Werror",
"-Wno-macro-redefined"
],
local_include_dirs: ["include"],
srcs: ["cplay.c"],
shared_libs: [
"libcutils",
"libutils",
"libtinycompress",
],
}