Chris Waddell | ca0dd18 | 2022-11-25 17:15:30 +0000 | [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 "frameworks_av_license" |
| 5 | // to get the below license kinds: |
| 6 | // SPDX-license-identifier-Apache-2.0 |
| 7 | default_applicable_licenses: ["frameworks_av_license"], |
| 8 | } |
| 9 | |
| 10 | cc_library { |
| 11 | name: "libaudiousecasevalidation", |
| 12 | host_supported: true, |
| 13 | srcs: [ |
| 14 | "UsecaseLookup.cpp", |
| 15 | "UsecaseValidator.cpp", |
| 16 | ], |
| 17 | header_libs: [ |
| 18 | "liberror_headers", |
| 19 | ], |
| 20 | shared_libs: [ |
| 21 | "framework-permission-aidl-cpp", |
| 22 | "libaudioutils", |
| 23 | "libbase", |
| 24 | "liblog", |
| 25 | ], |
| 26 | export_include_dirs: [ |
| 27 | "include", |
| 28 | ], |
| 29 | target: { |
| 30 | darwin: { |
| 31 | enabled: false, |
| 32 | }, |
| 33 | }, |
| 34 | } |
| 35 | |
| 36 | cc_test_host { |
| 37 | name: "libaudiousecasevalidation-test", |
| 38 | srcs: [ |
| 39 | "tests/UsecaseValidator-test.cpp", |
| 40 | ], |
| 41 | header_libs: [ |
| 42 | "liberror_headers", |
| 43 | ], |
| 44 | shared_libs: [ |
| 45 | "framework-permission-aidl-cpp", |
| 46 | "libaudiousecasevalidation", |
| 47 | "libutils", |
| 48 | ], |
| 49 | } |