1package { 2 default_applicable_licenses: ["hardware_interfaces_license"], 3} 4 5genrule { 6 name: "gen-android.hardware.wifi.rc", 7 srcs: [":default-android.hardware.wifi-service.rc"], 8 out: ["com.android.hardware.wifi-service.rc"], 9 cmd: "sed -e 's@/vendor/bin/@/apex/com.android.hardware.wifi/bin/@' $(in) > $(out)", 10} 11 12prebuilt_etc { 13 name: "com.android.hardware.wifi.rc", 14 src: ":gen-android.hardware.wifi.rc", 15 installable: false, 16} 17 18prebuilt_etc { 19 name: "com.android.hardware.wifi.xml", 20 src: ":default-android.hardware.wifi-service.xml", 21 installable: false, 22 sub_dir: "vintf", 23} 24 25apex { 26 name: "com.android.hardware.wifi", 27 manifest: "apex_manifest.json", 28 key: "com.android.hardware.key", 29 certificate: ":com.android.hardware.certificate", 30 file_contexts: "file_contexts", 31 updatable: false, 32 vendor: true, 33 34 binaries: [ 35 "android.hardware.wifi-service", 36 ], 37 prebuilts: [ 38 "com.android.hardware.wifi.rc", 39 "com.android.hardware.wifi.xml", 40 ], 41 overrides: [ 42 "android.hardware.wifi-service", 43 ], 44} 45