package { default_applicable_licenses: ["Android-Apache-2.0"], } cc_library { name: "libion", vendor_available: true, product_available: true, recovery_available: true, double_loadable: true, srcs: ["ion.c"], shared_libs: ["liblog"], local_include_dirs: [ "include", "kernel-headers", ], export_include_dirs: [ "include", "kernel-headers", ], cflags: ["-Werror"], min_sdk_version: "29", apex_available: [ "//apex_available:platform", "com.android.media.swcodec", "test_com.android.media.swcodec", ], } cc_binary { name: "iontest", srcs: ["ion_test.c"], static_libs: ["libion"], shared_libs: ["liblog"], cflags: ["-Werror"], } subdirs = ["tests"]