1cc_library { 2 name: "libion", 3 vendor_available: true, 4 recovery_available: true, 5 vndk: { 6 enabled: true, 7 support_system_process: true, 8 }, 9 srcs: ["ion.c"], 10 shared_libs: ["liblog"], 11 local_include_dirs: [ 12 "include", 13 "kernel-headers", 14 ], 15 export_include_dirs: [ 16 "include", 17 "kernel-headers", 18 ], 19 cflags: ["-Werror"], 20 min_sdk_version: "29", 21} 22 23cc_binary { 24 name: "iontest", 25 srcs: ["ion_test.c"], 26 static_libs: ["libion"], 27 shared_libs: ["liblog"], 28 cflags: ["-Werror"], 29} 30 31subdirs = ["tests"] 32