1package { 2 default_applicable_licenses: ["Android-Apache-2.0"], 3} 4 5cc_library { 6 name: "libion", 7 vendor_available: true, 8 product_available: true, 9 recovery_available: true, 10 double_loadable: true, 11 srcs: ["ion.c"], 12 shared_libs: ["liblog"], 13 local_include_dirs: [ 14 "include", 15 "kernel-headers", 16 ], 17 export_include_dirs: [ 18 "include", 19 "kernel-headers", 20 ], 21 cflags: ["-Werror"], 22 min_sdk_version: "29", 23 apex_available: [ 24 "//apex_available:platform", 25 "com.android.media.swcodec", 26 "test_com.android.media.swcodec", 27 ], 28} 29 30cc_binary { 31 name: "iontest", 32 srcs: ["ion_test.c"], 33 static_libs: ["libion"], 34 shared_libs: ["liblog"], 35 cflags: ["-Werror"], 36} 37 38subdirs = ["tests"] 39