allwinner_a64/android/external/brotli/Android.bp
2018-08-08 16:14:42 +08:00

35 lines
626 B
Text
Executable file

cc_library {
name: "libbrotli",
host_supported: true,
cflags: [
"-Werror",
"-O2",
],
export_include_dirs: ["include/"],
local_include_dirs: ["include/"],
srcs: [
"common/*.c",
"dec/*.c",
"enc/*.c",
],
target: {
linux_bionic: {
enabled: true,
},
},
host_ldlibs: ["-lm"],
stl: "none",
}
cc_binary {
name: "bro",
host_supported: true,
cflags: ["-Werror"],
srcs: ["tools/bro.c"],
target: {
linux_bionic: {
enabled: true,
},
},
shared_libs: ["libbrotli"],
}