Mikhail Naganov | df5adfd | 2021-11-11 22:09:22 +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 "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_library_static { |
| 11 | name: "libaudioserviceexampleimpl", |
| 12 | vendor: true, |
| 13 | shared_libs: [ |
| 14 | "libbase", |
| 15 | "libbinder_ndk", |
Mikhail Naganov | 111e0ce | 2022-06-17 21:41:19 +0000 | [diff] [blame] | 16 | "libstagefright_foundation", |
Mikhail Naganov | 00603d1 | 2022-05-02 22:52:13 +0000 | [diff] [blame] | 17 | "android.media.audio.common.types-V1-ndk", |
Mikhail Naganov | df5adfd | 2021-11-11 22:09:22 +0000 | [diff] [blame] | 18 | "android.hardware.audio.core-V1-ndk", |
| 19 | ], |
| 20 | export_include_dirs: ["include"], |
| 21 | srcs: [ |
| 22 | "Config.cpp", |
| 23 | "Configuration.cpp", |
| 24 | "Module.cpp", |
| 25 | "Stream.cpp", |
| 26 | ], |
| 27 | visibility: [ |
| 28 | ":__subpackages__", |
| 29 | ], |
| 30 | } |
| 31 | |
| 32 | cc_binary { |
| 33 | name: "android.hardware.audio.service-aidl.example", |
| 34 | relative_install_path: "hw", |
| 35 | init_rc: ["android.hardware.audio.service-aidl.example.rc"], |
| 36 | vintf_fragments: ["android.hardware.audio.service-aidl.xml"], |
| 37 | vendor: true, |
| 38 | shared_libs: [ |
| 39 | "libbase", |
| 40 | "libbinder_ndk", |
Mikhail Naganov | 111e0ce | 2022-06-17 21:41:19 +0000 | [diff] [blame] | 41 | "libstagefright_foundation", |
Mikhail Naganov | 00603d1 | 2022-05-02 22:52:13 +0000 | [diff] [blame] | 42 | "android.media.audio.common.types-V1-ndk", |
Mikhail Naganov | df5adfd | 2021-11-11 22:09:22 +0000 | [diff] [blame] | 43 | "android.hardware.audio.core-V1-ndk", |
| 44 | ], |
| 45 | static_libs: [ |
| 46 | "libaudioserviceexampleimpl", |
| 47 | ], |
| 48 | srcs: ["main.cpp"], |
| 49 | } |