Kelvin Zhang | 1bd2e5b | 2022-10-03 12:02:34 -0700 | [diff] [blame^] | 1 | |
2 | cc_library { | ||||
3 | name: "liburing_cpp", | ||||
4 | host_supported: true, | ||||
5 | recovery_available: true, | ||||
6 | srcs: [ | ||||
7 | "src/IoUring.cpp", | ||||
8 | "src/IoUringSQE.cpp", | ||||
9 | ], | ||||
10 | static_libs: [ | ||||
11 | "liburing", | ||||
12 | ], | ||||
13 | include_dirs: ["bionic/libc/kernel"], | ||||
14 | export_include_dirs: [ | ||||
15 | "include", | ||||
16 | ], | ||||
17 | } | ||||
18 | |||||
19 | |||||
20 | cc_test_host { | ||||
21 | name: "liburing_cpp_tests", | ||||
22 | srcs: [ | ||||
23 | "tests/BasicTests.cpp", | ||||
24 | "tests/main.cpp", | ||||
25 | ], | ||||
26 | static_libs: [ | ||||
27 | "libgtest", | ||||
28 | "liburing", | ||||
29 | "liburing_cpp", | ||||
30 | ], | ||||
31 | } |