1cc_binary { 2 name: "accessorychat", 3 host_supported: true, 4 5 srcs: ["accessorychat.c"], 6 cflags: [ 7 "-Werror", 8 "-Wno-unused-parameter", 9 ], 10 11 target: { 12 android: { 13 shared_libs: [ 14 "libusbhost", 15 "libcutils", 16 ], 17 }, 18 host: { 19 static_libs: [ 20 "libusbhost", 21 "libcutils", 22 ], 23 24 cflags: ["-O0"], 25 }, 26 darwin: { 27 enabled: false, 28 }, 29 }, 30} 31