Deyao Ren | fbcb648 | 2024-10-29 00:08:28 +0000 | [diff] [blame] | 1 | prebuilt_etc { |
| 2 | name: "wpa_supplicant.conf.prebuilt", |
| 3 | src: ":wpa_supplicant_template.conf", |
| 4 | filename: "wpa_supplicant.conf", |
| 5 | relative_install_path: "wifi", |
| 6 | installable: false, |
| 7 | } |
| 8 | |
| 9 | apex { |
| 10 | name: "com.android.hardware.wpa_supplicant", |
| 11 | manifest: "apex_manifest.json", |
| 12 | file_contexts: "file_contexts", |
| 13 | // TODO: b/363080108 - Replace placeholder key with release key |
| 14 | key: "com.android.hardware.key", |
| 15 | certificate: ":com.android.hardware.certificate", |
| 16 | updatable: false, |
| 17 | vendor: true, |
| 18 | |
| 19 | enabled: select(soong_config_variable("wpa_supplicant_8", "wpa_build_hostapd"), { |
| 20 | true: true, |
| 21 | default: false, |
| 22 | }), |
| 23 | binaries: [ |
| 24 | "wpa_supplicant", |
| 25 | "hostapd", |
| 26 | ], |
| 27 | prebuilts: [ |
| 28 | "com.android.hardware.wpa_supplicant.rc", |
| 29 | "com.android.hardware.hostapd.rc", |
| 30 | "wpa_supplicant.conf.prebuilt", |
| 31 | ], |
| 32 | vintf_fragment_modules: [ |
| 33 | "android.hardware.wifi.hostapd.xml", |
| 34 | "android.hardware.wifi.supplicant.xml", |
| 35 | ], |
| 36 | } |