Bob Badour | b224b36 | 2021-02-12 20:13:01 -0800 | [diff] [blame] | 1 | package { |
| 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 "hardware_interfaces_license" |
| 5 | // to get the below license kinds: |
| 6 | // SPDX-license-identifier-Apache-2.0 |
| 7 | default_applicable_licenses: ["hardware_interfaces_license"], |
| 8 | } |
| 9 | |
Steven Moreland | 74e043b | 2020-12-15 00:13:40 +0000 | [diff] [blame] | 10 | cc_library_static { |
| 11 | name: "libaidlcommonsupport", |
| 12 | vendor_available: true, |
| 13 | host_supported: true, |
| 14 | defaults: ["libbinder_ndk_host_user"], |
| 15 | srcs: ["NativeHandle.cpp"], |
| 16 | export_include_dirs: ["include"], |
| 17 | shared_libs: [ |
Steven Moreland | 2ca1e9a | 2021-01-26 19:37:22 +0000 | [diff] [blame] | 18 | "android.hardware.common-V2-ndk_platform", |
Steven Moreland | 74e043b | 2020-12-15 00:13:40 +0000 | [diff] [blame] | 19 | "libcutils", |
| 20 | ], |
| 21 | } |
| 22 | |
| 23 | cc_test { |
| 24 | name: "libaidlcommonsupport_test", |
| 25 | host_supported: true, |
| 26 | defaults: ["libbinder_ndk_host_user"], |
| 27 | srcs: ["test.cpp"], |
| 28 | static_libs: [ |
Steven Moreland | 2ca1e9a | 2021-01-26 19:37:22 +0000 | [diff] [blame] | 29 | "android.hardware.common-V2-ndk_platform", |
Steven Moreland | 74e043b | 2020-12-15 00:13:40 +0000 | [diff] [blame] | 30 | "libaidlcommonsupport", |
| 31 | ], |
| 32 | shared_libs: [ |
Steven Moreland | 74e043b | 2020-12-15 00:13:40 +0000 | [diff] [blame] | 33 | "libcutils", |
| 34 | ], |
| 35 | test_suites: ["general-tests"], |
| 36 | } |