2016-07-13 07:10:56 +02:00
|
|
|
cc_library {
|
|
|
|
name: "libion",
|
2017-07-31 08:41:10 +02:00
|
|
|
vendor_available: true,
|
|
|
|
vndk: {
|
|
|
|
enabled: true,
|
|
|
|
support_system_process: true,
|
|
|
|
},
|
2016-07-13 07:10:56 +02:00
|
|
|
srcs: ["ion.c"],
|
|
|
|
shared_libs: ["liblog"],
|
|
|
|
local_include_dirs: [
|
|
|
|
"include",
|
|
|
|
"kernel-headers",
|
|
|
|
],
|
|
|
|
export_include_dirs: [
|
|
|
|
"include",
|
|
|
|
"kernel-headers",
|
|
|
|
],
|
|
|
|
cflags: ["-Werror"],
|
|
|
|
}
|
|
|
|
|
|
|
|
cc_binary {
|
|
|
|
name: "iontest",
|
|
|
|
srcs: ["ion_test.c"],
|
|
|
|
static_libs: ["libion"],
|
|
|
|
shared_libs: ["liblog"],
|
|
|
|
cflags: ["-Werror"],
|
|
|
|
}
|
|
|
|
|
|
|
|
subdirs = ["tests"]
|