Steven Moreland | 74e043b | 2020-12-15 00:13:40 +0000 | [diff] [blame] | 1 | cc_library_static { |
| 2 | name: "libaidlcommonsupport", |
| 3 | vendor_available: true, |
| 4 | host_supported: true, |
| 5 | defaults: ["libbinder_ndk_host_user"], |
| 6 | srcs: ["NativeHandle.cpp"], |
| 7 | export_include_dirs: ["include"], |
| 8 | shared_libs: [ |
| 9 | "android.hardware.common-unstable-ndk_platform", |
| 10 | "libcutils", |
| 11 | ], |
| 12 | } |
| 13 | |
| 14 | cc_test { |
| 15 | name: "libaidlcommonsupport_test", |
| 16 | host_supported: true, |
| 17 | defaults: ["libbinder_ndk_host_user"], |
| 18 | srcs: ["test.cpp"], |
| 19 | static_libs: [ |
| 20 | "libaidlcommonsupport", |
| 21 | ], |
| 22 | shared_libs: [ |
| 23 | "android.hardware.common-unstable-ndk_platform", |
| 24 | "libcutils", |
| 25 | ], |
| 26 | test_suites: ["general-tests"], |
| 27 | } |