platform_system_core/libion/Android.bp

30 lines
541 B
Plaintext

cc_library {
name: "libion",
vendor_available: true,
vndk: {
enabled: true,
support_system_process: true,
},
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"]