Vlad Popa | f4fe41c | 2022-12-14 11:57:26 +0100 | [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 | |
| 10 | cc_defaults { |
| 11 | name: "aidlsounddoseservice_defaults", |
| 12 | vendor: true, |
| 13 | header_libs: [ |
| 14 | "libsounddoseaidl_headers", |
| 15 | ], |
| 16 | } |
| 17 | |
| 18 | cc_library { |
| 19 | name: "libsounddoseserviceexampleimpl", |
| 20 | defaults: [ |
| 21 | "aidlsounddoseservice_defaults", |
| 22 | "latest_android_media_audio_common_types_ndk_shared", |
| 23 | "latest_android_hardware_audio_core_sounddose_ndk_shared", |
| 24 | "latest_android_hardware_audio_sounddose_ndk_shared", |
| 25 | ], |
| 26 | export_include_dirs: ["include"], |
| 27 | srcs: [ |
| 28 | "SoundDoseFactory.cpp", |
| 29 | ], |
| 30 | shared_libs: [ |
| 31 | "libaudioservicesounddoseimpl", |
| 32 | "libbase", |
| 33 | "libbinder_ndk", |
| 34 | ], |
| 35 | |
| 36 | visibility: [ |
| 37 | "//hardware/interfaces/audio/common/all-versions/default/service", |
| 38 | ], |
| 39 | } |
| 40 | |
| 41 | cc_library_headers { |
| 42 | name: "libsounddoseaidl_headers", |
| 43 | export_include_dirs: ["include"], |
| 44 | vendor_available: true, |
| 45 | host_supported: true, |
| 46 | } |