Yifan Hong | d5b5b2e | 2016-10-06 13:50:49 -0700 | [diff] [blame] | 1 | |
| 2 | |
Bob Badour | b224b36 | 2021-02-12 20:13:01 -0800 | [diff] [blame] | 3 | package { |
| 4 | // See: http://go/android-license-faq |
| 5 | // A large-scale-change added 'default_applicable_licenses' to import |
| 6 | // all of the 'license_kinds' from "hardware_interfaces_license" |
| 7 | // to get the below license kinds: |
| 8 | // SPDX-license-identifier-Apache-2.0 |
| 9 | default_applicable_licenses: ["hardware_interfaces_license"], |
| 10 | } |
| 11 | |
Zhuoyao Zhang | 38a78e1 | 2017-10-10 17:53:09 -0700 | [diff] [blame] | 12 | cc_library { |
Yifan Hong | d5b5b2e | 2016-10-06 13:50:49 -0700 | [diff] [blame] | 13 | name: "android.hardware.tests.bar@1.0-impl", |
Steven Moreland | 691a455 | 2017-03-08 15:58:46 -0800 | [diff] [blame] | 14 | defaults: ["hidl_defaults"], |
Yifan Hong | d5b5b2e | 2016-10-06 13:50:49 -0700 | [diff] [blame] | 15 | relative_install_path: "hw", |
| 16 | srcs: [ |
| 17 | "Bar.cpp", |
| 18 | "ImportTypes.cpp", |
| 19 | ], |
| 20 | |
| 21 | shared_libs: [ |
| 22 | "libbase", |
Yifan Hong | ebfa633 | 2016-10-14 10:41:41 -0700 | [diff] [blame] | 23 | "libcutils", |
Yifan Hong | 63544ea | 2016-11-16 14:17:58 -0800 | [diff] [blame] | 24 | "libhidlbase", |
Yifan Hong | d5b5b2e | 2016-10-06 13:50:49 -0700 | [diff] [blame] | 25 | "liblog", |
| 26 | "libutils", |
Zhuoyao Zhang | 38a78e1 | 2017-10-10 17:53:09 -0700 | [diff] [blame] | 27 | ], |
| 28 | |
| 29 | // These are static libs only for testing purposes and portability. Shared |
| 30 | // libs should be used on device. |
| 31 | static_libs: [ |
Yifan Hong | d5b5b2e | 2016-10-06 13:50:49 -0700 | [diff] [blame] | 32 | "android.hardware.tests.foo@1.0", |
| 33 | "android.hardware.tests.bar@1.0", |
| 34 | ], |
Yifan Hong | d5b5b2e | 2016-10-06 13:50:49 -0700 | [diff] [blame] | 35 | } |