1package { 2 // See: http://go/android-license-faq 3 // A large-scale-change added 'default_applicable_licenses' to import 4 // all of the 'license_kinds' from "system_update_engine_license" 5 // to get the below license kinds: 6 // SPDX-license-identifier-Apache-2.0 7 default_applicable_licenses: ["system_update_engine_license"], 8} 9 10cc_library { 11 name: "liburing_cpp", 12 host_supported: true, 13 recovery_available: true, 14 ramdisk_available: true, 15 vendor_ramdisk_available: true, 16 srcs: [ 17 "src/IoUring.cpp", 18 "src/IoUringSQE.cpp", 19 ], 20 static_libs: [ 21 "liburing", 22 ], 23 export_include_dirs: [ 24 "include", 25 ], 26} 27 28cc_test_host { 29 name: "liburing_cpp_tests", 30 srcs: [ 31 "tests/BasicTests.cpp", 32 "tests/main.cpp", 33 ], 34 static_libs: [ 35 "libgtest", 36 "liburing", 37 "liburing_cpp", 38 ], 39} 40