1cc_library_static { 2 name: "libcnativewindow", 3 srcs: [ 4 "cnativewindow.c", 5 "util.c", 6 ], 7 cflags: [ 8 "-Wall", 9 "-Werror", 10 "-Wno-unused-parameter", 11 ], 12 shared_libs: [ 13 "libEGL", 14 "libGLESv2", 15 "libdl", 16 "libhardware", 17 "libnativewindow", 18 ], 19} 20 21cc_binary { 22 name: "hwc-test-arrows", 23 srcs: ["test-arrows.c"], 24 static_libs: ["libcnativewindow"], 25 shared_libs: [ 26 "libEGL", 27 "libGLESv2", 28 "libdl", 29 "libhardware", 30 "libnativewindow", 31 ], 32 cflags: [ 33 "-DGL_GLEXT_PROTOTYPES", 34 "-Wall", 35 "-Werror", 36 ], 37} 38