platform_hardware_interfaces/wifi/1.2/Android.bp
Steven Moreland f390f03aa4 Update for Soong-only makefiles.
Test: pass
Bug: 33420795
Change-Id: Ibec6d1e38939b9e7566a96381439be2aac3bf8ca
2017-10-11 18:30:28 +00:00

188 lines
5.9 KiB
Text

// This file is autogenerated by hidl-gen. Do not edit manually.
filegroup {
name: "android.hardware.wifi@1.2_hal",
srcs: [
"IWifi.hal",
"IWifiChip.hal",
],
}
genrule {
name: "android.hardware.wifi@1.2_genc++",
tools: ["hidl-gen"],
cmd: "$(location hidl-gen) -o $(genDir) -Lc++-sources -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.wifi@1.2",
srcs: [
":android.hardware.wifi@1.2_hal",
],
out: [
"android/hardware/wifi/1.2/WifiAll.cpp",
"android/hardware/wifi/1.2/WifiChipAll.cpp",
],
}
genrule {
name: "android.hardware.wifi@1.2_genc++_headers",
tools: ["hidl-gen"],
cmd: "$(location hidl-gen) -o $(genDir) -Lc++-headers -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.wifi@1.2",
srcs: [
":android.hardware.wifi@1.2_hal",
],
out: [
"android/hardware/wifi/1.2/IWifi.h",
"android/hardware/wifi/1.2/IHwWifi.h",
"android/hardware/wifi/1.2/BnHwWifi.h",
"android/hardware/wifi/1.2/BpHwWifi.h",
"android/hardware/wifi/1.2/BsWifi.h",
"android/hardware/wifi/1.2/IWifiChip.h",
"android/hardware/wifi/1.2/IHwWifiChip.h",
"android/hardware/wifi/1.2/BnHwWifiChip.h",
"android/hardware/wifi/1.2/BpHwWifiChip.h",
"android/hardware/wifi/1.2/BsWifiChip.h",
],
}
cc_library {
name: "android.hardware.wifi@1.2",
defaults: ["hidl-module-defaults"],
generated_sources: ["android.hardware.wifi@1.2_genc++"],
generated_headers: ["android.hardware.wifi@1.2_genc++_headers"],
export_generated_headers: ["android.hardware.wifi@1.2_genc++_headers"],
vendor_available: true,
vndk: {
enabled: true,
},
shared_libs: [
"libhidlbase",
"libhidltransport",
"libhwbinder",
"liblog",
"libutils",
"libcutils",
"android.hardware.wifi@1.0",
"android.hardware.wifi@1.1",
],
export_shared_lib_headers: [
"libhidlbase",
"libhidltransport",
"libhwbinder",
"libutils",
"android.hardware.wifi@1.0",
"android.hardware.wifi@1.1",
],
}
genrule {
name: "android.hardware.wifi-V1.2-java_gen_java",
tools: ["hidl-gen"],
cmd: "$(location hidl-gen) -o $(genDir) -Ljava -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.wifi@1.2",
srcs: [
":android.hardware.wifi@1.2_hal",
],
out: [
"android/hardware/wifi/V1_2/IWifi.java",
"android/hardware/wifi/V1_2/IWifiChip.java",
],
}
java_library {
name: "android.hardware.wifi-V1.2-java",
no_framework_libs: true,
defaults: ["hidl-java-module-defaults"],
srcs: [":android.hardware.wifi-V1.2-java_gen_java"],
libs: [
"hwbinder",
"android.hardware.wifi-V1.0-java",
"android.hardware.wifi-V1.1-java",
"android.hidl.base-V1.0-java",
]
}
// This package does not export any types. Not creating java constants export.
genrule {
name: "android.hardware.wifi@1.2-adapter-helper_genc++",
tools: ["hidl-gen"],
cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-sources -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.wifi@1.2",
srcs: [
":android.hardware.wifi@1.2_hal",
],
out: [
"android/hardware/wifi/1.2/AWifi.cpp",
"android/hardware/wifi/1.2/AWifiChip.cpp",
],
}
genrule {
name: "android.hardware.wifi@1.2-adapter-helper_genc++_headers",
tools: ["hidl-gen"],
cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-headers -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.wifi@1.2",
srcs: [
":android.hardware.wifi@1.2_hal",
],
out: [
"android/hardware/wifi/1.2/AWifi.h",
"android/hardware/wifi/1.2/AWifiChip.h",
],
}
cc_library {
name: "android.hardware.wifi@1.2-adapter-helper",
defaults: ["hidl-module-defaults"],
generated_sources: ["android.hardware.wifi@1.2-adapter-helper_genc++"],
generated_headers: ["android.hardware.wifi@1.2-adapter-helper_genc++_headers"],
export_generated_headers: ["android.hardware.wifi@1.2-adapter-helper_genc++_headers"],
vendor_available: true,
shared_libs: [
"libhidlbase",
"libhidltransport",
"libhwbinder",
"liblog",
"libutils",
"libcutils",
"libhidladapter",
"android.hardware.wifi@1.0",
"android.hardware.wifi@1.1",
"android.hardware.wifi@1.2",
"android.hardware.wifi@1.0-adapter-helper",
"android.hardware.wifi@1.1-adapter-helper",
"android.hidl.base@1.0-adapter-helper",
],
export_shared_lib_headers: [
"libhidlbase",
"libhidltransport",
"libhwbinder",
"libutils",
"libhidladapter",
"android.hardware.wifi@1.0",
"android.hardware.wifi@1.1",
"android.hardware.wifi@1.2",
"android.hardware.wifi@1.0-adapter-helper",
"android.hardware.wifi@1.1-adapter-helper",
"android.hidl.base@1.0-adapter-helper",
],
}
genrule {
name: "android.hardware.wifi@1.2-adapter_genc++",
tools: ["hidl-gen"],
cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-main -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.wifi@1.2",
out: ["main.cpp"]
}
cc_test {
name: "android.hardware.wifi@1.2-adapter",
defaults: ["hidl-module-defaults"],
shared_libs: [
"libhidladapter",
"libhidlbase",
"libhidltransport",
"libutils",
"android.hardware.wifi@1.0",
"android.hardware.wifi@1.1",
"android.hardware.wifi@1.2",
"android.hardware.wifi@1.2-adapter-helper",
],
generated_sources: ["android.hardware.wifi@1.2-adapter_genc++"],
}