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