android_system_core/libpackagelistparser/Android.bp
Chih-Hung Hsieh 122352d983 Use -Werror in system/core
* Move -Wall -Werror from cppflags to cflags.
* Fix/suppress warning on unused variables.

Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: I1e05e96a1d0bcb2ccef1ce456504b3af57167cc5
2017-11-01 11:32:55 -07:00

13 lines
284 B
Text

cc_library {
name: "libpackagelistparser",
srcs: ["packagelistparser.c"],
cflags: ["-Wall", "-Werror"],
shared_libs: ["liblog"],
local_include_dirs: ["include"],
export_include_dirs: ["include"],
sanitize: {
misc_undefined: ["integer"],
},
}