Hayden Gomes | 49c845f | 2020-10-27 13:01:33 -0700 | [diff] [blame] | 1 | // This is the expected build file, but it may not be right in all cases |
| 2 | |
Bob Badour | c22b35b | 2021-02-23 14:26:20 -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 | |
Hayden Gomes | 49c845f | 2020-10-27 13:01:33 -0700 | [diff] [blame] | 12 | aidl_interface { |
| 13 | name: "android.hardware.automotive.audiocontrol", |
| 14 | vendor_available: true, |
| 15 | srcs: ["android/hardware/automotive/audiocontrol/*.aidl"], |
Shunkai Yao | 95732c6 | 2023-10-10 19:26:07 +0000 | [diff] [blame^] | 16 | defaults: [ |
| 17 | "latest_android_hardware_audio_common_import_interface", |
| 18 | "latest_android_media_audio_common_types_import_interface", |
Francois Gaffie | 5d7af1e | 2022-02-02 11:12:08 +0100 | [diff] [blame] | 19 | ], |
Hayden Gomes | 49c845f | 2020-10-27 13:01:33 -0700 | [diff] [blame] | 20 | stability: "vintf", |
| 21 | backend: { |
| 22 | java: { |
| 23 | sdk_version: "module_current", |
Keun young Park | 8791c7e | 2021-10-05 16:11:07 -0700 | [diff] [blame] | 24 | min_sdk_version: "31", |
| 25 | apex_available: [ |
| 26 | "//apex_available:platform", |
| 27 | "com.android.car.framework", |
| 28 | ], |
Hayden Gomes | 49c845f | 2020-10-27 13:01:33 -0700 | [diff] [blame] | 29 | }, |
| 30 | }, |
Jiyong Park | 703e979 | 2022-03-22 14:18:48 +0900 | [diff] [blame] | 31 | versions_with_info: [ |
| 32 | { |
| 33 | version: "1", |
| 34 | imports: [ |
| 35 | "android.hardware.audio.common-V1", |
Lorena Torres-Huerta | 8296aa8 | 2022-08-29 21:48:01 +0000 | [diff] [blame] | 36 | "android.media.audio.common.types-V2", |
Jiyong Park | 703e979 | 2022-03-22 14:18:48 +0900 | [diff] [blame] | 37 | ], |
| 38 | }, |
| 39 | { |
| 40 | version: "2", |
| 41 | imports: [ |
| 42 | "android.hardware.audio.common-V1", |
Lorena Torres-Huerta | 8296aa8 | 2022-08-29 21:48:01 +0000 | [diff] [blame] | 43 | "android.media.audio.common.types-V2", |
Jiyong Park | 703e979 | 2022-03-22 14:18:48 +0900 | [diff] [blame] | 44 | ], |
| 45 | }, |
Alex Buynytskyy | ec1198d | 2023-04-04 19:52:27 +0000 | [diff] [blame] | 46 | { |
| 47 | version: "3", |
| 48 | imports: [ |
| 49 | "android.hardware.audio.common-V1", |
| 50 | "android.media.audio.common.types-V2", |
| 51 | ], |
| 52 | }, |
Jiyong Park | 703e979 | 2022-03-22 14:18:48 +0900 | [diff] [blame] | 53 | |
Francois Gaffie | 5d7af1e | 2022-02-02 11:12:08 +0100 | [diff] [blame] | 54 | ], |
Shunkai Yao | 95732c6 | 2023-10-10 19:26:07 +0000 | [diff] [blame^] | 55 | frozen: false, |
Jiyong Park | 703e979 | 2022-03-22 14:18:48 +0900 | [diff] [blame] | 56 | |
Hayden Gomes | 49c845f | 2020-10-27 13:01:33 -0700 | [diff] [blame] | 57 | } |
Shunkai Yao | 95732c6 | 2023-10-10 19:26:07 +0000 | [diff] [blame^] | 58 | |
| 59 | // Note: This should always be one version ahead of the last frozen version |
| 60 | latest_android_hardware_automotive_audiocontrol = "android.hardware.automotive.audiocontrol-V4" |
| 61 | |
| 62 | cc_defaults { |
| 63 | name: "latest_android_hardware_automotive_audiocontrol_cpp_static", |
| 64 | static_libs: [ |
| 65 | latest_android_hardware_automotive_audiocontrol + "-cpp", |
| 66 | ], |
| 67 | } |
| 68 | |
| 69 | cc_defaults { |
| 70 | name: "latest_android_hardware_automotive_audiocontrol_cpp_shared", |
| 71 | shared_libs: [ |
| 72 | latest_android_hardware_automotive_audiocontrol + "-cpp", |
| 73 | ], |
| 74 | } |
| 75 | |
| 76 | cc_defaults { |
| 77 | name: "latest_android_hardware_automotive_audiocontrol_ndk_static", |
| 78 | static_libs: [ |
| 79 | latest_android_hardware_automotive_audiocontrol + "-ndk", |
| 80 | ], |
| 81 | } |
| 82 | |
| 83 | cc_defaults { |
| 84 | name: "latest_android_hardware_automotive_audiocontrol_ndk_shared", |
| 85 | shared_libs: [ |
| 86 | latest_android_hardware_automotive_audiocontrol + "-ndk", |
| 87 | ], |
| 88 | } |