diff options
author | Steven Moreland <smoreland@google.com> | 2017-11-09 19:05:17 -0800 |
---|---|---|
committer | Steven Moreland <smoreland@google.com> | 2017-11-10 09:06:55 -0800 |
commit | a1169dd600091cc9a451b91e7b4573dc1d9049b3 (patch) | |
tree | e7b60403dc8cb464f2d9f9782c8bf06262e6bf74 /wifi | |
parent | 771dff2a2d014df7118263d2c0a8cc8522cf480c (diff) | |
download | platform_hardware_interfaces-a1169dd600091cc9a451b91e7b4573dc1d9049b3.tar.gz platform_hardware_interfaces-a1169dd600091cc9a451b91e7b4573dc1d9049b3.tar.bz2 platform_hardware_interfaces-a1169dd600091cc9a451b91e7b4573dc1d9049b3.zip |
Update makefiles for hidl_interface.
Bug: 35570956
Test: manual
Change-Id: I7a220b78ee081240e1dc30ef5672ba39e3e98375
Diffstat (limited to 'wifi')
-rw-r--r-- | wifi/1.0/Android.bp | 461 | ||||
-rw-r--r-- | wifi/1.1/Android.bp | 177 | ||||
-rw-r--r-- | wifi/offload/1.0/Android.bp | 165 | ||||
-rw-r--r-- | wifi/supplicant/1.0/Android.bp | 277 |
4 files changed, 142 insertions, 938 deletions
diff --git a/wifi/1.0/Android.bp b/wifi/1.0/Android.bp index 113b3ea517..096fb6cc5d 100644 --- a/wifi/1.0/Android.bp +++ b/wifi/1.0/Android.bp @@ -1,7 +1,11 @@ -// This file is autogenerated by hidl-gen. Do not edit manually. +// This file is autogenerated by hidl-gen -Landroidbp. -filegroup { - name: "android.hardware.wifi@1.0_hal", +hidl_interface { + name: "android.hardware.wifi@1.0", + root: "android.hardware", + vndk: { + enabled: true, + }, srcs: [ "types.hal", "IWifi.hal", @@ -18,367 +22,94 @@ filegroup { "IWifiStaIface.hal", "IWifiStaIfaceEventCallback.hal", ], + interfaces: [ + "android.hidl.base@1.0", + ], + types: [ + "IfaceType", + "NanBandIndex", + "NanBandSpecificConfig", + "NanCapabilities", + "NanCipherSuiteType", + "NanClusterEventInd", + "NanClusterEventType", + "NanConfigRequest", + "NanDataPathChannelCfg", + "NanDataPathConfirmInd", + "NanDataPathRequestInd", + "NanDataPathSecurityConfig", + "NanDataPathSecurityType", + "NanDebugConfig", + "NanDiscoveryCommonConfig", + "NanEnableRequest", + "NanFollowupReceivedInd", + "NanInitiateDataPathRequest", + "NanMatchAlg", + "NanMatchInd", + "NanParamSizeLimits", + "NanPublishRequest", + "NanPublishType", + "NanRangingIndication", + "NanRespondToDataPathIndicationRequest", + "NanSrfType", + "NanStatusType", + "NanSubscribeRequest", + "NanSubscribeType", + "NanTransmitFollowupRequest", + "NanTxType", + "RttBw", + "RttCapabilities", + "RttConfig", + "RttLciInformation", + "RttLcrInformation", + "RttMotionPattern", + "RttPeerType", + "RttPreamble", + "RttResponder", + "RttResult", + "RttStatus", + "RttType", + "StaApfPacketFilterCapabilities", + "StaBackgroundScanBucketEventReportSchemeMask", + "StaBackgroundScanBucketParameters", + "StaBackgroundScanCapabilities", + "StaBackgroundScanParameters", + "StaLinkLayerIfacePacketStats", + "StaLinkLayerIfaceStats", + "StaLinkLayerRadioStats", + "StaLinkLayerStats", + "StaRoamingCapabilities", + "StaRoamingConfig", + "StaRoamingState", + "StaScanData", + "StaScanDataFlagMask", + "StaScanLimits", + "StaScanResult", + "WifiBand", + "WifiChannelInfo", + "WifiChannelWidthInMhz", + "WifiDebugHostWakeReasonRxIcmpPacketDetails", + "WifiDebugHostWakeReasonRxMulticastPacketDetails", + "WifiDebugHostWakeReasonRxPacketDetails", + "WifiDebugHostWakeReasonStats", + "WifiDebugPacketFateFrameInfo", + "WifiDebugPacketFateFrameType", + "WifiDebugRingBufferFlags", + "WifiDebugRingBufferStatus", + "WifiDebugRingBufferVerboseLevel", + "WifiDebugRxPacketFate", + "WifiDebugRxPacketFateReport", + "WifiDebugTxPacketFate", + "WifiDebugTxPacketFateReport", + "WifiInformationElement", + "WifiNanStatus", + "WifiRateInfo", + "WifiRateNss", + "WifiRatePreamble", + "WifiStatus", + "WifiStatusCode", + ], + gen_java: true, + gen_java_constants: true, } -genrule { - name: "android.hardware.wifi@1.0_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.0", - srcs: [ - ":android.hardware.wifi@1.0_hal", - ], - out: [ - "android/hardware/wifi/1.0/types.cpp", - "android/hardware/wifi/1.0/WifiAll.cpp", - "android/hardware/wifi/1.0/WifiApIfaceAll.cpp", - "android/hardware/wifi/1.0/WifiChipAll.cpp", - "android/hardware/wifi/1.0/WifiChipEventCallbackAll.cpp", - "android/hardware/wifi/1.0/WifiEventCallbackAll.cpp", - "android/hardware/wifi/1.0/WifiIfaceAll.cpp", - "android/hardware/wifi/1.0/WifiNanIfaceAll.cpp", - "android/hardware/wifi/1.0/WifiNanIfaceEventCallbackAll.cpp", - "android/hardware/wifi/1.0/WifiP2pIfaceAll.cpp", - "android/hardware/wifi/1.0/WifiRttControllerAll.cpp", - "android/hardware/wifi/1.0/WifiRttControllerEventCallbackAll.cpp", - "android/hardware/wifi/1.0/WifiStaIfaceAll.cpp", - "android/hardware/wifi/1.0/WifiStaIfaceEventCallbackAll.cpp", - ], -} - -genrule { - name: "android.hardware.wifi@1.0_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.0", - srcs: [ - ":android.hardware.wifi@1.0_hal", - ], - out: [ - "android/hardware/wifi/1.0/types.h", - "android/hardware/wifi/1.0/hwtypes.h", - "android/hardware/wifi/1.0/IWifi.h", - "android/hardware/wifi/1.0/IHwWifi.h", - "android/hardware/wifi/1.0/BnHwWifi.h", - "android/hardware/wifi/1.0/BpHwWifi.h", - "android/hardware/wifi/1.0/BsWifi.h", - "android/hardware/wifi/1.0/IWifiApIface.h", - "android/hardware/wifi/1.0/IHwWifiApIface.h", - "android/hardware/wifi/1.0/BnHwWifiApIface.h", - "android/hardware/wifi/1.0/BpHwWifiApIface.h", - "android/hardware/wifi/1.0/BsWifiApIface.h", - "android/hardware/wifi/1.0/IWifiChip.h", - "android/hardware/wifi/1.0/IHwWifiChip.h", - "android/hardware/wifi/1.0/BnHwWifiChip.h", - "android/hardware/wifi/1.0/BpHwWifiChip.h", - "android/hardware/wifi/1.0/BsWifiChip.h", - "android/hardware/wifi/1.0/IWifiChipEventCallback.h", - "android/hardware/wifi/1.0/IHwWifiChipEventCallback.h", - "android/hardware/wifi/1.0/BnHwWifiChipEventCallback.h", - "android/hardware/wifi/1.0/BpHwWifiChipEventCallback.h", - "android/hardware/wifi/1.0/BsWifiChipEventCallback.h", - "android/hardware/wifi/1.0/IWifiEventCallback.h", - "android/hardware/wifi/1.0/IHwWifiEventCallback.h", - "android/hardware/wifi/1.0/BnHwWifiEventCallback.h", - "android/hardware/wifi/1.0/BpHwWifiEventCallback.h", - "android/hardware/wifi/1.0/BsWifiEventCallback.h", - "android/hardware/wifi/1.0/IWifiIface.h", - "android/hardware/wifi/1.0/IHwWifiIface.h", - "android/hardware/wifi/1.0/BnHwWifiIface.h", - "android/hardware/wifi/1.0/BpHwWifiIface.h", - "android/hardware/wifi/1.0/BsWifiIface.h", - "android/hardware/wifi/1.0/IWifiNanIface.h", - "android/hardware/wifi/1.0/IHwWifiNanIface.h", - "android/hardware/wifi/1.0/BnHwWifiNanIface.h", - "android/hardware/wifi/1.0/BpHwWifiNanIface.h", - "android/hardware/wifi/1.0/BsWifiNanIface.h", - "android/hardware/wifi/1.0/IWifiNanIfaceEventCallback.h", - "android/hardware/wifi/1.0/IHwWifiNanIfaceEventCallback.h", - "android/hardware/wifi/1.0/BnHwWifiNanIfaceEventCallback.h", - "android/hardware/wifi/1.0/BpHwWifiNanIfaceEventCallback.h", - "android/hardware/wifi/1.0/BsWifiNanIfaceEventCallback.h", - "android/hardware/wifi/1.0/IWifiP2pIface.h", - "android/hardware/wifi/1.0/IHwWifiP2pIface.h", - "android/hardware/wifi/1.0/BnHwWifiP2pIface.h", - "android/hardware/wifi/1.0/BpHwWifiP2pIface.h", - "android/hardware/wifi/1.0/BsWifiP2pIface.h", - "android/hardware/wifi/1.0/IWifiRttController.h", - "android/hardware/wifi/1.0/IHwWifiRttController.h", - "android/hardware/wifi/1.0/BnHwWifiRttController.h", - "android/hardware/wifi/1.0/BpHwWifiRttController.h", - "android/hardware/wifi/1.0/BsWifiRttController.h", - "android/hardware/wifi/1.0/IWifiRttControllerEventCallback.h", - "android/hardware/wifi/1.0/IHwWifiRttControllerEventCallback.h", - "android/hardware/wifi/1.0/BnHwWifiRttControllerEventCallback.h", - "android/hardware/wifi/1.0/BpHwWifiRttControllerEventCallback.h", - "android/hardware/wifi/1.0/BsWifiRttControllerEventCallback.h", - "android/hardware/wifi/1.0/IWifiStaIface.h", - "android/hardware/wifi/1.0/IHwWifiStaIface.h", - "android/hardware/wifi/1.0/BnHwWifiStaIface.h", - "android/hardware/wifi/1.0/BpHwWifiStaIface.h", - "android/hardware/wifi/1.0/BsWifiStaIface.h", - "android/hardware/wifi/1.0/IWifiStaIfaceEventCallback.h", - "android/hardware/wifi/1.0/IHwWifiStaIfaceEventCallback.h", - "android/hardware/wifi/1.0/BnHwWifiStaIfaceEventCallback.h", - "android/hardware/wifi/1.0/BpHwWifiStaIfaceEventCallback.h", - "android/hardware/wifi/1.0/BsWifiStaIfaceEventCallback.h", - ], -} - -cc_library { - name: "android.hardware.wifi@1.0", - defaults: ["hidl-module-defaults"], - generated_sources: ["android.hardware.wifi@1.0_genc++"], - generated_headers: ["android.hardware.wifi@1.0_genc++_headers"], - export_generated_headers: ["android.hardware.wifi@1.0_genc++_headers"], - vendor_available: true, - vndk: { - enabled: true, - }, - shared_libs: [ - "libhidlbase", - "libhidltransport", - "libhwbinder", - "liblog", - "libutils", - "libcutils", - ], - export_shared_lib_headers: [ - "libhidlbase", - "libhidltransport", - "libhwbinder", - "libutils", - ], -} - -genrule { - name: "android.hardware.wifi-V1.0-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.0", - srcs: [ - ":android.hardware.wifi@1.0_hal", - ], - out: [ - "android/hardware/wifi/V1_0/IfaceType.java", - "android/hardware/wifi/V1_0/NanBandIndex.java", - "android/hardware/wifi/V1_0/NanBandSpecificConfig.java", - "android/hardware/wifi/V1_0/NanCapabilities.java", - "android/hardware/wifi/V1_0/NanCipherSuiteType.java", - "android/hardware/wifi/V1_0/NanClusterEventInd.java", - "android/hardware/wifi/V1_0/NanClusterEventType.java", - "android/hardware/wifi/V1_0/NanConfigRequest.java", - "android/hardware/wifi/V1_0/NanDataPathChannelCfg.java", - "android/hardware/wifi/V1_0/NanDataPathConfirmInd.java", - "android/hardware/wifi/V1_0/NanDataPathRequestInd.java", - "android/hardware/wifi/V1_0/NanDataPathSecurityConfig.java", - "android/hardware/wifi/V1_0/NanDataPathSecurityType.java", - "android/hardware/wifi/V1_0/NanDebugConfig.java", - "android/hardware/wifi/V1_0/NanDiscoveryCommonConfig.java", - "android/hardware/wifi/V1_0/NanEnableRequest.java", - "android/hardware/wifi/V1_0/NanFollowupReceivedInd.java", - "android/hardware/wifi/V1_0/NanInitiateDataPathRequest.java", - "android/hardware/wifi/V1_0/NanMatchAlg.java", - "android/hardware/wifi/V1_0/NanMatchInd.java", - "android/hardware/wifi/V1_0/NanParamSizeLimits.java", - "android/hardware/wifi/V1_0/NanPublishRequest.java", - "android/hardware/wifi/V1_0/NanPublishType.java", - "android/hardware/wifi/V1_0/NanRangingIndication.java", - "android/hardware/wifi/V1_0/NanRespondToDataPathIndicationRequest.java", - "android/hardware/wifi/V1_0/NanSrfType.java", - "android/hardware/wifi/V1_0/NanStatusType.java", - "android/hardware/wifi/V1_0/NanSubscribeRequest.java", - "android/hardware/wifi/V1_0/NanSubscribeType.java", - "android/hardware/wifi/V1_0/NanTransmitFollowupRequest.java", - "android/hardware/wifi/V1_0/NanTxType.java", - "android/hardware/wifi/V1_0/RttBw.java", - "android/hardware/wifi/V1_0/RttCapabilities.java", - "android/hardware/wifi/V1_0/RttConfig.java", - "android/hardware/wifi/V1_0/RttLciInformation.java", - "android/hardware/wifi/V1_0/RttLcrInformation.java", - "android/hardware/wifi/V1_0/RttMotionPattern.java", - "android/hardware/wifi/V1_0/RttPeerType.java", - "android/hardware/wifi/V1_0/RttPreamble.java", - "android/hardware/wifi/V1_0/RttResponder.java", - "android/hardware/wifi/V1_0/RttResult.java", - "android/hardware/wifi/V1_0/RttStatus.java", - "android/hardware/wifi/V1_0/RttType.java", - "android/hardware/wifi/V1_0/StaApfPacketFilterCapabilities.java", - "android/hardware/wifi/V1_0/StaBackgroundScanBucketEventReportSchemeMask.java", - "android/hardware/wifi/V1_0/StaBackgroundScanBucketParameters.java", - "android/hardware/wifi/V1_0/StaBackgroundScanCapabilities.java", - "android/hardware/wifi/V1_0/StaBackgroundScanParameters.java", - "android/hardware/wifi/V1_0/StaLinkLayerIfacePacketStats.java", - "android/hardware/wifi/V1_0/StaLinkLayerIfaceStats.java", - "android/hardware/wifi/V1_0/StaLinkLayerRadioStats.java", - "android/hardware/wifi/V1_0/StaLinkLayerStats.java", - "android/hardware/wifi/V1_0/StaRoamingCapabilities.java", - "android/hardware/wifi/V1_0/StaRoamingConfig.java", - "android/hardware/wifi/V1_0/StaRoamingState.java", - "android/hardware/wifi/V1_0/StaScanData.java", - "android/hardware/wifi/V1_0/StaScanDataFlagMask.java", - "android/hardware/wifi/V1_0/StaScanLimits.java", - "android/hardware/wifi/V1_0/StaScanResult.java", - "android/hardware/wifi/V1_0/WifiBand.java", - "android/hardware/wifi/V1_0/WifiChannelInfo.java", - "android/hardware/wifi/V1_0/WifiChannelWidthInMhz.java", - "android/hardware/wifi/V1_0/WifiDebugHostWakeReasonRxIcmpPacketDetails.java", - "android/hardware/wifi/V1_0/WifiDebugHostWakeReasonRxMulticastPacketDetails.java", - "android/hardware/wifi/V1_0/WifiDebugHostWakeReasonRxPacketDetails.java", - "android/hardware/wifi/V1_0/WifiDebugHostWakeReasonStats.java", - "android/hardware/wifi/V1_0/WifiDebugPacketFateFrameInfo.java", - "android/hardware/wifi/V1_0/WifiDebugPacketFateFrameType.java", - "android/hardware/wifi/V1_0/WifiDebugRingBufferFlags.java", - "android/hardware/wifi/V1_0/WifiDebugRingBufferStatus.java", - "android/hardware/wifi/V1_0/WifiDebugRingBufferVerboseLevel.java", - "android/hardware/wifi/V1_0/WifiDebugRxPacketFate.java", - "android/hardware/wifi/V1_0/WifiDebugRxPacketFateReport.java", - "android/hardware/wifi/V1_0/WifiDebugTxPacketFate.java", - "android/hardware/wifi/V1_0/WifiDebugTxPacketFateReport.java", - "android/hardware/wifi/V1_0/WifiInformationElement.java", - "android/hardware/wifi/V1_0/WifiNanStatus.java", - "android/hardware/wifi/V1_0/WifiRateInfo.java", - "android/hardware/wifi/V1_0/WifiRateNss.java", - "android/hardware/wifi/V1_0/WifiRatePreamble.java", - "android/hardware/wifi/V1_0/WifiStatus.java", - "android/hardware/wifi/V1_0/WifiStatusCode.java", - "android/hardware/wifi/V1_0/IWifi.java", - "android/hardware/wifi/V1_0/IWifiApIface.java", - "android/hardware/wifi/V1_0/IWifiChip.java", - "android/hardware/wifi/V1_0/IWifiChipEventCallback.java", - "android/hardware/wifi/V1_0/IWifiEventCallback.java", - "android/hardware/wifi/V1_0/IWifiIface.java", - "android/hardware/wifi/V1_0/IWifiNanIface.java", - "android/hardware/wifi/V1_0/IWifiNanIfaceEventCallback.java", - "android/hardware/wifi/V1_0/IWifiP2pIface.java", - "android/hardware/wifi/V1_0/IWifiRttController.java", - "android/hardware/wifi/V1_0/IWifiRttControllerEventCallback.java", - "android/hardware/wifi/V1_0/IWifiStaIface.java", - "android/hardware/wifi/V1_0/IWifiStaIfaceEventCallback.java", - ], -} - -java_library { - name: "android.hardware.wifi-V1.0-java", - no_framework_libs: true, - defaults: ["hidl-java-module-defaults"], - srcs: [":android.hardware.wifi-V1.0-java_gen_java"], - libs: [ - "hwbinder", - "android.hidl.base-V1.0-java", - ] -} - -genrule { - name: "android.hardware.wifi-V1.0-java-constants_gen_java", - tools: ["hidl-gen"], - cmd: "$(location hidl-gen) -o $(genDir) -Ljava-constants -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.wifi@1.0", - srcs: [ - ":android.hardware.wifi@1.0_hal", - ], - out: [ - "android/hardware/wifi/V1_0/Constants.java", - ], -} - -java_library { - name: "android.hardware.wifi-V1.0-java-constants", - no_framework_libs: true, - defaults: ["hidl-java-module-defaults"], - srcs: [":android.hardware.wifi-V1.0-java-constants_gen_java"], -} - -genrule { - name: "android.hardware.wifi@1.0-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.0", - srcs: [ - ":android.hardware.wifi@1.0_hal", - ], - out: [ - "android/hardware/wifi/1.0/AWifi.cpp", - "android/hardware/wifi/1.0/AWifiApIface.cpp", - "android/hardware/wifi/1.0/AWifiChip.cpp", - "android/hardware/wifi/1.0/AWifiChipEventCallback.cpp", - "android/hardware/wifi/1.0/AWifiEventCallback.cpp", - "android/hardware/wifi/1.0/AWifiIface.cpp", - "android/hardware/wifi/1.0/AWifiNanIface.cpp", - "android/hardware/wifi/1.0/AWifiNanIfaceEventCallback.cpp", - "android/hardware/wifi/1.0/AWifiP2pIface.cpp", - "android/hardware/wifi/1.0/AWifiRttController.cpp", - "android/hardware/wifi/1.0/AWifiRttControllerEventCallback.cpp", - "android/hardware/wifi/1.0/AWifiStaIface.cpp", - "android/hardware/wifi/1.0/AWifiStaIfaceEventCallback.cpp", - ], -} - -genrule { - name: "android.hardware.wifi@1.0-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.0", - srcs: [ - ":android.hardware.wifi@1.0_hal", - ], - out: [ - "android/hardware/wifi/1.0/AWifi.h", - "android/hardware/wifi/1.0/AWifiApIface.h", - "android/hardware/wifi/1.0/AWifiChip.h", - "android/hardware/wifi/1.0/AWifiChipEventCallback.h", - "android/hardware/wifi/1.0/AWifiEventCallback.h", - "android/hardware/wifi/1.0/AWifiIface.h", - "android/hardware/wifi/1.0/AWifiNanIface.h", - "android/hardware/wifi/1.0/AWifiNanIfaceEventCallback.h", - "android/hardware/wifi/1.0/AWifiP2pIface.h", - "android/hardware/wifi/1.0/AWifiRttController.h", - "android/hardware/wifi/1.0/AWifiRttControllerEventCallback.h", - "android/hardware/wifi/1.0/AWifiStaIface.h", - "android/hardware/wifi/1.0/AWifiStaIfaceEventCallback.h", - ], -} - -cc_library { - name: "android.hardware.wifi@1.0-adapter-helper", - defaults: ["hidl-module-defaults"], - generated_sources: ["android.hardware.wifi@1.0-adapter-helper_genc++"], - generated_headers: ["android.hardware.wifi@1.0-adapter-helper_genc++_headers"], - export_generated_headers: ["android.hardware.wifi@1.0-adapter-helper_genc++_headers"], - vendor_available: true, - shared_libs: [ - "libhidlbase", - "libhidltransport", - "libhwbinder", - "liblog", - "libutils", - "libcutils", - "libhidladapter", - "android.hardware.wifi@1.0", - "android.hidl.base@1.0-adapter-helper", - ], - export_shared_lib_headers: [ - "libhidlbase", - "libhidltransport", - "libhwbinder", - "libutils", - "libhidladapter", - "android.hardware.wifi@1.0", - "android.hidl.base@1.0-adapter-helper", - ], -} - -genrule { - name: "android.hardware.wifi@1.0-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.0", - out: ["main.cpp"] -} - -cc_test { - name: "android.hardware.wifi@1.0-adapter", - defaults: ["hidl-module-defaults"], - shared_libs: [ - "libhidladapter", - "libhidlbase", - "libhidltransport", - "libutils", - "android.hardware.wifi@1.0", - "android.hardware.wifi@1.0-adapter-helper", - ], - generated_sources: ["android.hardware.wifi@1.0-adapter_genc++"], -} diff --git a/wifi/1.1/Android.bp b/wifi/1.1/Android.bp index 0878abc8a8..a4499c8313 100644 --- a/wifi/1.1/Android.bp +++ b/wifi/1.1/Android.bp @@ -1,180 +1,19 @@ -// This file is autogenerated by hidl-gen. Do not edit manually. +// This file is autogenerated by hidl-gen -Landroidbp. -filegroup { - name: "android.hardware.wifi@1.1_hal", - srcs: [ - "IWifi.hal", - "IWifiChip.hal", - ], -} - -genrule { - name: "android.hardware.wifi@1.1_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.1", - srcs: [ - ":android.hardware.wifi@1.1_hal", - ], - out: [ - "android/hardware/wifi/1.1/WifiAll.cpp", - "android/hardware/wifi/1.1/WifiChipAll.cpp", - ], -} - -genrule { - name: "android.hardware.wifi@1.1_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.1", - srcs: [ - ":android.hardware.wifi@1.1_hal", - ], - out: [ - "android/hardware/wifi/1.1/IWifi.h", - "android/hardware/wifi/1.1/IHwWifi.h", - "android/hardware/wifi/1.1/BnHwWifi.h", - "android/hardware/wifi/1.1/BpHwWifi.h", - "android/hardware/wifi/1.1/BsWifi.h", - "android/hardware/wifi/1.1/IWifiChip.h", - "android/hardware/wifi/1.1/IHwWifiChip.h", - "android/hardware/wifi/1.1/BnHwWifiChip.h", - "android/hardware/wifi/1.1/BpHwWifiChip.h", - "android/hardware/wifi/1.1/BsWifiChip.h", - ], -} - -cc_library { +hidl_interface { name: "android.hardware.wifi@1.1", - defaults: ["hidl-module-defaults"], - generated_sources: ["android.hardware.wifi@1.1_genc++"], - generated_headers: ["android.hardware.wifi@1.1_genc++_headers"], - export_generated_headers: ["android.hardware.wifi@1.1_genc++_headers"], - vendor_available: true, + root: "android.hardware", vndk: { enabled: true, }, - shared_libs: [ - "libhidlbase", - "libhidltransport", - "libhwbinder", - "liblog", - "libutils", - "libcutils", - "android.hardware.wifi@1.0", - ], - export_shared_lib_headers: [ - "libhidlbase", - "libhidltransport", - "libhwbinder", - "libutils", - "android.hardware.wifi@1.0", - ], -} - -genrule { - name: "android.hardware.wifi-V1.1-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.1", - srcs: [ - ":android.hardware.wifi@1.1_hal", - ], - out: [ - "android/hardware/wifi/V1_1/IWifi.java", - "android/hardware/wifi/V1_1/IWifiChip.java", - ], -} - -java_library { - name: "android.hardware.wifi-V1.1-java", - no_framework_libs: true, - defaults: ["hidl-java-module-defaults"], - srcs: [":android.hardware.wifi-V1.1-java_gen_java"], - libs: [ - "hwbinder", - "android.hardware.wifi-V1.0-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.1-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.1", - srcs: [ - ":android.hardware.wifi@1.1_hal", - ], - out: [ - "android/hardware/wifi/1.1/AWifi.cpp", - "android/hardware/wifi/1.1/AWifiChip.cpp", - ], -} - -genrule { - name: "android.hardware.wifi@1.1-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.1", srcs: [ - ":android.hardware.wifi@1.1_hal", - ], - out: [ - "android/hardware/wifi/1.1/AWifi.h", - "android/hardware/wifi/1.1/AWifiChip.h", - ], -} - -cc_library { - name: "android.hardware.wifi@1.1-adapter-helper", - defaults: ["hidl-module-defaults"], - generated_sources: ["android.hardware.wifi@1.1-adapter-helper_genc++"], - generated_headers: ["android.hardware.wifi@1.1-adapter-helper_genc++_headers"], - export_generated_headers: ["android.hardware.wifi@1.1-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.0-adapter-helper", - "android.hidl.base@1.0-adapter-helper", + "IWifi.hal", + "IWifiChip.hal", ], - export_shared_lib_headers: [ - "libhidlbase", - "libhidltransport", - "libhwbinder", - "libutils", - "libhidladapter", + interfaces: [ "android.hardware.wifi@1.0", - "android.hardware.wifi@1.1", - "android.hardware.wifi@1.0-adapter-helper", - "android.hidl.base@1.0-adapter-helper", + "android.hidl.base@1.0", ], + gen_java: true, } -genrule { - name: "android.hardware.wifi@1.1-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.1", - out: ["main.cpp"] -} - -cc_test { - name: "android.hardware.wifi@1.1-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.1-adapter-helper", - ], - generated_sources: ["android.hardware.wifi@1.1-adapter_genc++"], -} diff --git a/wifi/offload/1.0/Android.bp b/wifi/offload/1.0/Android.bp index 12b2ff6cb8..c6c0e7a78e 100644 --- a/wifi/offload/1.0/Android.bp +++ b/wifi/offload/1.0/Android.bp @@ -1,154 +1,33 @@ -// This file is autogenerated by hidl-gen. Do not edit manually. +// This file is autogenerated by hidl-gen -Landroidbp. -filegroup { - name: "android.hardware.wifi.offload@1.0_hal", - srcs: [ - "types.hal", - "IOffload.hal", - "IOffloadCallback.hal", - ], -} - -genrule { - name: "android.hardware.wifi.offload@1.0_genc++", - tools: ["hidl-gen"], - cmd: "$(location hidl-gen) -o $(genDir) -Lc++-sources -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.wifi.offload@1.0", - srcs: [ - ":android.hardware.wifi.offload@1.0_hal", - ], - out: [ - "android/hardware/wifi/offload/1.0/types.cpp", - "android/hardware/wifi/offload/1.0/OffloadAll.cpp", - "android/hardware/wifi/offload/1.0/OffloadCallbackAll.cpp", - ], -} - -genrule { - name: "android.hardware.wifi.offload@1.0_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.offload@1.0", - srcs: [ - ":android.hardware.wifi.offload@1.0_hal", - ], - out: [ - "android/hardware/wifi/offload/1.0/types.h", - "android/hardware/wifi/offload/1.0/hwtypes.h", - "android/hardware/wifi/offload/1.0/IOffload.h", - "android/hardware/wifi/offload/1.0/IHwOffload.h", - "android/hardware/wifi/offload/1.0/BnHwOffload.h", - "android/hardware/wifi/offload/1.0/BpHwOffload.h", - "android/hardware/wifi/offload/1.0/BsOffload.h", - "android/hardware/wifi/offload/1.0/IOffloadCallback.h", - "android/hardware/wifi/offload/1.0/IHwOffloadCallback.h", - "android/hardware/wifi/offload/1.0/BnHwOffloadCallback.h", - "android/hardware/wifi/offload/1.0/BpHwOffloadCallback.h", - "android/hardware/wifi/offload/1.0/BsOffloadCallback.h", - ], -} - -cc_library { +hidl_interface { name: "android.hardware.wifi.offload@1.0", - defaults: ["hidl-module-defaults"], - generated_sources: ["android.hardware.wifi.offload@1.0_genc++"], - generated_headers: ["android.hardware.wifi.offload@1.0_genc++_headers"], - export_generated_headers: ["android.hardware.wifi.offload@1.0_genc++_headers"], - vendor_available: true, + root: "android.hardware", vndk: { enabled: true, }, - shared_libs: [ - "libhidlbase", - "libhidltransport", - "libhwbinder", - "liblog", - "libutils", - "libcutils", - ], - export_shared_lib_headers: [ - "libhidlbase", - "libhidltransport", - "libhwbinder", - "libutils", - ], -} - -// This package is not java compatible. Not creating java target. - -// This package does not export any types. Not creating java constants export. - - -genrule { - name: "android.hardware.wifi.offload@1.0-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.offload@1.0", - srcs: [ - ":android.hardware.wifi.offload@1.0_hal", - ], - out: [ - "android/hardware/wifi/offload/1.0/AOffload.cpp", - "android/hardware/wifi/offload/1.0/AOffloadCallback.cpp", - ], -} - -genrule { - name: "android.hardware.wifi.offload@1.0-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.offload@1.0", srcs: [ - ":android.hardware.wifi.offload@1.0_hal", - ], - out: [ - "android/hardware/wifi/offload/1.0/AOffload.h", - "android/hardware/wifi/offload/1.0/AOffloadCallback.h", + "types.hal", + "IOffload.hal", + "IOffloadCallback.hal", ], -} - -cc_library { - name: "android.hardware.wifi.offload@1.0-adapter-helper", - defaults: ["hidl-module-defaults"], - generated_sources: ["android.hardware.wifi.offload@1.0-adapter-helper_genc++"], - generated_headers: ["android.hardware.wifi.offload@1.0-adapter-helper_genc++_headers"], - export_generated_headers: ["android.hardware.wifi.offload@1.0-adapter-helper_genc++_headers"], - vendor_available: true, - shared_libs: [ - "libhidlbase", - "libhidltransport", - "libhwbinder", - "liblog", - "libutils", - "libcutils", - "libhidladapter", - "android.hardware.wifi.offload@1.0", - "android.hidl.base@1.0-adapter-helper", + interfaces: [ + "android.hidl.base@1.0", ], - export_shared_lib_headers: [ - "libhidlbase", - "libhidltransport", - "libhwbinder", - "libutils", - "libhidladapter", - "android.hardware.wifi.offload@1.0", - "android.hidl.base@1.0-adapter-helper", + types: [ + "Capability", + "LogRecord", + "NetworkInfo", + "OffloadStatus", + "OffloadStatusCode", + "RecordName", + "ScanFilter", + "ScanParam", + "ScanRecord", + "ScanResult", + "ScanStats", + "SecurityMode", ], + gen_java: false, } -genrule { - name: "android.hardware.wifi.offload@1.0-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.offload@1.0", - out: ["main.cpp"] -} - -cc_test { - name: "android.hardware.wifi.offload@1.0-adapter", - defaults: ["hidl-module-defaults"], - shared_libs: [ - "libhidladapter", - "libhidlbase", - "libhidltransport", - "libutils", - "android.hardware.wifi.offload@1.0", - "android.hardware.wifi.offload@1.0-adapter-helper", - ], - generated_sources: ["android.hardware.wifi.offload@1.0-adapter_genc++"], -} diff --git a/wifi/supplicant/1.0/Android.bp b/wifi/supplicant/1.0/Android.bp index 05286f1e0c..fc7ce55e3f 100644 --- a/wifi/supplicant/1.0/Android.bp +++ b/wifi/supplicant/1.0/Android.bp @@ -1,7 +1,11 @@ -// This file is autogenerated by hidl-gen. Do not edit manually. +// This file is autogenerated by hidl-gen -Landroidbp. -filegroup { - name: "android.hardware.wifi.supplicant@1.0_hal", +hidl_interface { + name: "android.hardware.wifi.supplicant@1.0", + root: "android.hardware", + vndk: { + enabled: true, + }, srcs: [ "types.hal", "ISupplicant.hal", @@ -17,265 +21,16 @@ filegroup { "ISupplicantStaNetwork.hal", "ISupplicantStaNetworkCallback.hal", ], -} - -genrule { - name: "android.hardware.wifi.supplicant@1.0_genc++", - tools: ["hidl-gen"], - cmd: "$(location hidl-gen) -o $(genDir) -Lc++-sources -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.wifi.supplicant@1.0", - srcs: [ - ":android.hardware.wifi.supplicant@1.0_hal", - ], - out: [ - "android/hardware/wifi/supplicant/1.0/types.cpp", - "android/hardware/wifi/supplicant/1.0/SupplicantAll.cpp", - "android/hardware/wifi/supplicant/1.0/SupplicantCallbackAll.cpp", - "android/hardware/wifi/supplicant/1.0/SupplicantIfaceAll.cpp", - "android/hardware/wifi/supplicant/1.0/SupplicantNetworkAll.cpp", - "android/hardware/wifi/supplicant/1.0/SupplicantP2pIfaceAll.cpp", - "android/hardware/wifi/supplicant/1.0/SupplicantP2pIfaceCallbackAll.cpp", - "android/hardware/wifi/supplicant/1.0/SupplicantP2pNetworkAll.cpp", - "android/hardware/wifi/supplicant/1.0/SupplicantP2pNetworkCallbackAll.cpp", - "android/hardware/wifi/supplicant/1.0/SupplicantStaIfaceAll.cpp", - "android/hardware/wifi/supplicant/1.0/SupplicantStaIfaceCallbackAll.cpp", - "android/hardware/wifi/supplicant/1.0/SupplicantStaNetworkAll.cpp", - "android/hardware/wifi/supplicant/1.0/SupplicantStaNetworkCallbackAll.cpp", - ], -} - -genrule { - name: "android.hardware.wifi.supplicant@1.0_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.supplicant@1.0", - srcs: [ - ":android.hardware.wifi.supplicant@1.0_hal", - ], - out: [ - "android/hardware/wifi/supplicant/1.0/types.h", - "android/hardware/wifi/supplicant/1.0/hwtypes.h", - "android/hardware/wifi/supplicant/1.0/ISupplicant.h", - "android/hardware/wifi/supplicant/1.0/IHwSupplicant.h", - "android/hardware/wifi/supplicant/1.0/BnHwSupplicant.h", - "android/hardware/wifi/supplicant/1.0/BpHwSupplicant.h", - "android/hardware/wifi/supplicant/1.0/BsSupplicant.h", - "android/hardware/wifi/supplicant/1.0/ISupplicantCallback.h", - "android/hardware/wifi/supplicant/1.0/IHwSupplicantCallback.h", - "android/hardware/wifi/supplicant/1.0/BnHwSupplicantCallback.h", - "android/hardware/wifi/supplicant/1.0/BpHwSupplicantCallback.h", - "android/hardware/wifi/supplicant/1.0/BsSupplicantCallback.h", - "android/hardware/wifi/supplicant/1.0/ISupplicantIface.h", - "android/hardware/wifi/supplicant/1.0/IHwSupplicantIface.h", - "android/hardware/wifi/supplicant/1.0/BnHwSupplicantIface.h", - "android/hardware/wifi/supplicant/1.0/BpHwSupplicantIface.h", - "android/hardware/wifi/supplicant/1.0/BsSupplicantIface.h", - "android/hardware/wifi/supplicant/1.0/ISupplicantNetwork.h", - "android/hardware/wifi/supplicant/1.0/IHwSupplicantNetwork.h", - "android/hardware/wifi/supplicant/1.0/BnHwSupplicantNetwork.h", - "android/hardware/wifi/supplicant/1.0/BpHwSupplicantNetwork.h", - "android/hardware/wifi/supplicant/1.0/BsSupplicantNetwork.h", - "android/hardware/wifi/supplicant/1.0/ISupplicantP2pIface.h", - "android/hardware/wifi/supplicant/1.0/IHwSupplicantP2pIface.h", - "android/hardware/wifi/supplicant/1.0/BnHwSupplicantP2pIface.h", - "android/hardware/wifi/supplicant/1.0/BpHwSupplicantP2pIface.h", - "android/hardware/wifi/supplicant/1.0/BsSupplicantP2pIface.h", - "android/hardware/wifi/supplicant/1.0/ISupplicantP2pIfaceCallback.h", - "android/hardware/wifi/supplicant/1.0/IHwSupplicantP2pIfaceCallback.h", - "android/hardware/wifi/supplicant/1.0/BnHwSupplicantP2pIfaceCallback.h", - "android/hardware/wifi/supplicant/1.0/BpHwSupplicantP2pIfaceCallback.h", - "android/hardware/wifi/supplicant/1.0/BsSupplicantP2pIfaceCallback.h", - "android/hardware/wifi/supplicant/1.0/ISupplicantP2pNetwork.h", - "android/hardware/wifi/supplicant/1.0/IHwSupplicantP2pNetwork.h", - "android/hardware/wifi/supplicant/1.0/BnHwSupplicantP2pNetwork.h", - "android/hardware/wifi/supplicant/1.0/BpHwSupplicantP2pNetwork.h", - "android/hardware/wifi/supplicant/1.0/BsSupplicantP2pNetwork.h", - "android/hardware/wifi/supplicant/1.0/ISupplicantP2pNetworkCallback.h", - "android/hardware/wifi/supplicant/1.0/IHwSupplicantP2pNetworkCallback.h", - "android/hardware/wifi/supplicant/1.0/BnHwSupplicantP2pNetworkCallback.h", - "android/hardware/wifi/supplicant/1.0/BpHwSupplicantP2pNetworkCallback.h", - "android/hardware/wifi/supplicant/1.0/BsSupplicantP2pNetworkCallback.h", - "android/hardware/wifi/supplicant/1.0/ISupplicantStaIface.h", - "android/hardware/wifi/supplicant/1.0/IHwSupplicantStaIface.h", - "android/hardware/wifi/supplicant/1.0/BnHwSupplicantStaIface.h", - "android/hardware/wifi/supplicant/1.0/BpHwSupplicantStaIface.h", - "android/hardware/wifi/supplicant/1.0/BsSupplicantStaIface.h", - "android/hardware/wifi/supplicant/1.0/ISupplicantStaIfaceCallback.h", - "android/hardware/wifi/supplicant/1.0/IHwSupplicantStaIfaceCallback.h", - "android/hardware/wifi/supplicant/1.0/BnHwSupplicantStaIfaceCallback.h", - "android/hardware/wifi/supplicant/1.0/BpHwSupplicantStaIfaceCallback.h", - "android/hardware/wifi/supplicant/1.0/BsSupplicantStaIfaceCallback.h", - "android/hardware/wifi/supplicant/1.0/ISupplicantStaNetwork.h", - "android/hardware/wifi/supplicant/1.0/IHwSupplicantStaNetwork.h", - "android/hardware/wifi/supplicant/1.0/BnHwSupplicantStaNetwork.h", - "android/hardware/wifi/supplicant/1.0/BpHwSupplicantStaNetwork.h", - "android/hardware/wifi/supplicant/1.0/BsSupplicantStaNetwork.h", - "android/hardware/wifi/supplicant/1.0/ISupplicantStaNetworkCallback.h", - "android/hardware/wifi/supplicant/1.0/IHwSupplicantStaNetworkCallback.h", - "android/hardware/wifi/supplicant/1.0/BnHwSupplicantStaNetworkCallback.h", - "android/hardware/wifi/supplicant/1.0/BpHwSupplicantStaNetworkCallback.h", - "android/hardware/wifi/supplicant/1.0/BsSupplicantStaNetworkCallback.h", - ], -} - -cc_library { - name: "android.hardware.wifi.supplicant@1.0", - defaults: ["hidl-module-defaults"], - generated_sources: ["android.hardware.wifi.supplicant@1.0_genc++"], - generated_headers: ["android.hardware.wifi.supplicant@1.0_genc++_headers"], - export_generated_headers: ["android.hardware.wifi.supplicant@1.0_genc++_headers"], - vendor_available: true, - vndk: { - enabled: true, - }, - shared_libs: [ - "libhidlbase", - "libhidltransport", - "libhwbinder", - "liblog", - "libutils", - "libcutils", + interfaces: [ + "android.hidl.base@1.0", ], - export_shared_lib_headers: [ - "libhidlbase", - "libhidltransport", - "libhwbinder", - "libutils", + types: [ + "IfaceType", + "P2pGroupCapabilityMask", + "SupplicantStatus", + "SupplicantStatusCode", + "WpsConfigMethods", ], + gen_java: true, } -genrule { - name: "android.hardware.wifi.supplicant-V1.0-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.supplicant@1.0", - srcs: [ - ":android.hardware.wifi.supplicant@1.0_hal", - ], - out: [ - "android/hardware/wifi/supplicant/V1_0/IfaceType.java", - "android/hardware/wifi/supplicant/V1_0/P2pGroupCapabilityMask.java", - "android/hardware/wifi/supplicant/V1_0/SupplicantStatus.java", - "android/hardware/wifi/supplicant/V1_0/SupplicantStatusCode.java", - "android/hardware/wifi/supplicant/V1_0/WpsConfigMethods.java", - "android/hardware/wifi/supplicant/V1_0/ISupplicant.java", - "android/hardware/wifi/supplicant/V1_0/ISupplicantCallback.java", - "android/hardware/wifi/supplicant/V1_0/ISupplicantIface.java", - "android/hardware/wifi/supplicant/V1_0/ISupplicantNetwork.java", - "android/hardware/wifi/supplicant/V1_0/ISupplicantP2pIface.java", - "android/hardware/wifi/supplicant/V1_0/ISupplicantP2pIfaceCallback.java", - "android/hardware/wifi/supplicant/V1_0/ISupplicantP2pNetwork.java", - "android/hardware/wifi/supplicant/V1_0/ISupplicantP2pNetworkCallback.java", - "android/hardware/wifi/supplicant/V1_0/ISupplicantStaIface.java", - "android/hardware/wifi/supplicant/V1_0/ISupplicantStaIfaceCallback.java", - "android/hardware/wifi/supplicant/V1_0/ISupplicantStaNetwork.java", - "android/hardware/wifi/supplicant/V1_0/ISupplicantStaNetworkCallback.java", - ], -} - -java_library { - name: "android.hardware.wifi.supplicant-V1.0-java", - no_framework_libs: true, - defaults: ["hidl-java-module-defaults"], - srcs: [":android.hardware.wifi.supplicant-V1.0-java_gen_java"], - libs: [ - "hwbinder", - "android.hidl.base-V1.0-java", - ] -} - -// This package does not export any types. Not creating java constants export. - - -genrule { - name: "android.hardware.wifi.supplicant@1.0-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.supplicant@1.0", - srcs: [ - ":android.hardware.wifi.supplicant@1.0_hal", - ], - out: [ - "android/hardware/wifi/supplicant/1.0/ASupplicant.cpp", - "android/hardware/wifi/supplicant/1.0/ASupplicantCallback.cpp", - "android/hardware/wifi/supplicant/1.0/ASupplicantIface.cpp", - "android/hardware/wifi/supplicant/1.0/ASupplicantNetwork.cpp", - "android/hardware/wifi/supplicant/1.0/ASupplicantP2pIface.cpp", - "android/hardware/wifi/supplicant/1.0/ASupplicantP2pIfaceCallback.cpp", - "android/hardware/wifi/supplicant/1.0/ASupplicantP2pNetwork.cpp", - "android/hardware/wifi/supplicant/1.0/ASupplicantP2pNetworkCallback.cpp", - "android/hardware/wifi/supplicant/1.0/ASupplicantStaIface.cpp", - "android/hardware/wifi/supplicant/1.0/ASupplicantStaIfaceCallback.cpp", - "android/hardware/wifi/supplicant/1.0/ASupplicantStaNetwork.cpp", - "android/hardware/wifi/supplicant/1.0/ASupplicantStaNetworkCallback.cpp", - ], -} - -genrule { - name: "android.hardware.wifi.supplicant@1.0-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.supplicant@1.0", - srcs: [ - ":android.hardware.wifi.supplicant@1.0_hal", - ], - out: [ - "android/hardware/wifi/supplicant/1.0/ASupplicant.h", - "android/hardware/wifi/supplicant/1.0/ASupplicantCallback.h", - "android/hardware/wifi/supplicant/1.0/ASupplicantIface.h", - "android/hardware/wifi/supplicant/1.0/ASupplicantNetwork.h", - "android/hardware/wifi/supplicant/1.0/ASupplicantP2pIface.h", - "android/hardware/wifi/supplicant/1.0/ASupplicantP2pIfaceCallback.h", - "android/hardware/wifi/supplicant/1.0/ASupplicantP2pNetwork.h", - "android/hardware/wifi/supplicant/1.0/ASupplicantP2pNetworkCallback.h", - "android/hardware/wifi/supplicant/1.0/ASupplicantStaIface.h", - "android/hardware/wifi/supplicant/1.0/ASupplicantStaIfaceCallback.h", - "android/hardware/wifi/supplicant/1.0/ASupplicantStaNetwork.h", - "android/hardware/wifi/supplicant/1.0/ASupplicantStaNetworkCallback.h", - ], -} - -cc_library { - name: "android.hardware.wifi.supplicant@1.0-adapter-helper", - defaults: ["hidl-module-defaults"], - generated_sources: ["android.hardware.wifi.supplicant@1.0-adapter-helper_genc++"], - generated_headers: ["android.hardware.wifi.supplicant@1.0-adapter-helper_genc++_headers"], - export_generated_headers: ["android.hardware.wifi.supplicant@1.0-adapter-helper_genc++_headers"], - vendor_available: true, - shared_libs: [ - "libhidlbase", - "libhidltransport", - "libhwbinder", - "liblog", - "libutils", - "libcutils", - "libhidladapter", - "android.hardware.wifi.supplicant@1.0", - "android.hidl.base@1.0-adapter-helper", - ], - export_shared_lib_headers: [ - "libhidlbase", - "libhidltransport", - "libhwbinder", - "libutils", - "libhidladapter", - "android.hardware.wifi.supplicant@1.0", - "android.hidl.base@1.0-adapter-helper", - ], -} - -genrule { - name: "android.hardware.wifi.supplicant@1.0-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.supplicant@1.0", - out: ["main.cpp"] -} - -cc_test { - name: "android.hardware.wifi.supplicant@1.0-adapter", - defaults: ["hidl-module-defaults"], - shared_libs: [ - "libhidladapter", - "libhidlbase", - "libhidltransport", - "libutils", - "android.hardware.wifi.supplicant@1.0", - "android.hardware.wifi.supplicant@1.0-adapter-helper", - ], - generated_sources: ["android.hardware.wifi.supplicant@1.0-adapter_genc++"], -} |