Update for Soong-only makefiles.

Test: pass
Bug: 33420795
Change-Id: Ibec6d1e38939b9e7566a96381439be2aac3bf8ca
This commit is contained in:
Steven Moreland 2017-10-11 11:09:24 -07:00
parent 1d7374c5e1
commit f390f03aa4
32 changed files with 655 additions and 2270 deletions

View file

@ -86,6 +86,11 @@ cc_library {
],
}
// 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.automotive.evs@1.0-adapter-helper_genc++",
tools: ["hidl-gen"],
@ -116,7 +121,6 @@ genrule {
],
}
cc_library {
name: "android.hardware.automotive.evs@1.0-adapter-helper",
defaults: ["hidl-module-defaults"],

View file

@ -72,6 +72,97 @@ cc_library {
],
}
genrule {
name: "android.hardware.automotive.vehicle-V2.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.automotive.vehicle@2.0",
srcs: [
":android.hardware.automotive.vehicle@2.0_hal",
],
out: [
"android/hardware/automotive/vehicle/V2_0/DiagnosticFloatSensorIndex.java",
"android/hardware/automotive/vehicle/V2_0/DiagnosticIntegerSensorIndex.java",
"android/hardware/automotive/vehicle/V2_0/Obd2CommonIgnitionMonitors.java",
"android/hardware/automotive/vehicle/V2_0/Obd2CompressionIgnitionMonitors.java",
"android/hardware/automotive/vehicle/V2_0/Obd2FuelSystemStatus.java",
"android/hardware/automotive/vehicle/V2_0/Obd2FuelType.java",
"android/hardware/automotive/vehicle/V2_0/Obd2IgnitionMonitorKind.java",
"android/hardware/automotive/vehicle/V2_0/Obd2SecondaryAirStatus.java",
"android/hardware/automotive/vehicle/V2_0/Obd2SparkIgnitionMonitors.java",
"android/hardware/automotive/vehicle/V2_0/StatusCode.java",
"android/hardware/automotive/vehicle/V2_0/SubscribeFlags.java",
"android/hardware/automotive/vehicle/V2_0/SubscribeOptions.java",
"android/hardware/automotive/vehicle/V2_0/VehicleApPowerBootupReason.java",
"android/hardware/automotive/vehicle/V2_0/VehicleApPowerSetState.java",
"android/hardware/automotive/vehicle/V2_0/VehicleApPowerState.java",
"android/hardware/automotive/vehicle/V2_0/VehicleApPowerStateConfigFlag.java",
"android/hardware/automotive/vehicle/V2_0/VehicleApPowerStateIndex.java",
"android/hardware/automotive/vehicle/V2_0/VehicleApPowerStateShutdownParam.java",
"android/hardware/automotive/vehicle/V2_0/VehicleArea.java",
"android/hardware/automotive/vehicle/V2_0/VehicleAreaConfig.java",
"android/hardware/automotive/vehicle/V2_0/VehicleAreaDoor.java",
"android/hardware/automotive/vehicle/V2_0/VehicleAreaMirror.java",
"android/hardware/automotive/vehicle/V2_0/VehicleAreaSeat.java",
"android/hardware/automotive/vehicle/V2_0/VehicleAreaWindow.java",
"android/hardware/automotive/vehicle/V2_0/VehicleAreaZone.java",
"android/hardware/automotive/vehicle/V2_0/VehicleAudioContextFlag.java",
"android/hardware/automotive/vehicle/V2_0/VehicleAudioExtFocusFlag.java",
"android/hardware/automotive/vehicle/V2_0/VehicleAudioFocusIndex.java",
"android/hardware/automotive/vehicle/V2_0/VehicleAudioFocusRequest.java",
"android/hardware/automotive/vehicle/V2_0/VehicleAudioFocusState.java",
"android/hardware/automotive/vehicle/V2_0/VehicleAudioHwVariantConfigFlag.java",
"android/hardware/automotive/vehicle/V2_0/VehicleAudioRoutingPolicyIndex.java",
"android/hardware/automotive/vehicle/V2_0/VehicleAudioStream.java",
"android/hardware/automotive/vehicle/V2_0/VehicleAudioStreamFlag.java",
"android/hardware/automotive/vehicle/V2_0/VehicleAudioVolumeCapabilityFlag.java",
"android/hardware/automotive/vehicle/V2_0/VehicleAudioVolumeIndex.java",
"android/hardware/automotive/vehicle/V2_0/VehicleAudioVolumeLimitIndex.java",
"android/hardware/automotive/vehicle/V2_0/VehicleAudioVolumeState.java",
"android/hardware/automotive/vehicle/V2_0/VehicleDisplay.java",
"android/hardware/automotive/vehicle/V2_0/VehicleDrivingStatus.java",
"android/hardware/automotive/vehicle/V2_0/VehicleGear.java",
"android/hardware/automotive/vehicle/V2_0/VehicleHvacFanDirection.java",
"android/hardware/automotive/vehicle/V2_0/VehicleHwKeyInputAction.java",
"android/hardware/automotive/vehicle/V2_0/VehicleIgnitionState.java",
"android/hardware/automotive/vehicle/V2_0/VehicleInstrumentClusterType.java",
"android/hardware/automotive/vehicle/V2_0/VehiclePropConfig.java",
"android/hardware/automotive/vehicle/V2_0/VehiclePropValue.java",
"android/hardware/automotive/vehicle/V2_0/VehicleProperty.java",
"android/hardware/automotive/vehicle/V2_0/VehiclePropertyAccess.java",
"android/hardware/automotive/vehicle/V2_0/VehiclePropertyChangeMode.java",
"android/hardware/automotive/vehicle/V2_0/VehiclePropertyGroup.java",
"android/hardware/automotive/vehicle/V2_0/VehiclePropertyOperation.java",
"android/hardware/automotive/vehicle/V2_0/VehiclePropertyType.java",
"android/hardware/automotive/vehicle/V2_0/VehicleRadioConstants.java",
"android/hardware/automotive/vehicle/V2_0/VehicleTurnSignal.java",
"android/hardware/automotive/vehicle/V2_0/VehicleUnit.java",
"android/hardware/automotive/vehicle/V2_0/VmsAvailabilityStateIntegerValuesIndex.java",
"android/hardware/automotive/vehicle/V2_0/VmsBaseMessageIntegerValuesIndex.java",
"android/hardware/automotive/vehicle/V2_0/VmsMessageType.java",
"android/hardware/automotive/vehicle/V2_0/VmsMessageWithLayerAndPublisherIdIntegerValuesIndex.java",
"android/hardware/automotive/vehicle/V2_0/VmsMessageWithLayerIntegerValuesIndex.java",
"android/hardware/automotive/vehicle/V2_0/VmsOfferingMessageIntegerValuesIndex.java",
"android/hardware/automotive/vehicle/V2_0/VmsSubscriptionsStateIntegerValuesIndex.java",
"android/hardware/automotive/vehicle/V2_0/Wheel.java",
"android/hardware/automotive/vehicle/V2_0/IVehicle.java",
"android/hardware/automotive/vehicle/V2_0/IVehicleCallback.java",
],
}
java_library {
name: "android.hardware.automotive.vehicle-V2.0-java",
no_framework_libs: true,
defaults: ["hidl-java-module-defaults"],
srcs: [":android.hardware.automotive.vehicle-V2.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.automotive.vehicle@2.0-adapter-helper_genc++",
tools: ["hidl-gen"],
@ -98,7 +189,6 @@ genrule {
],
}
cc_library {
name: "android.hardware.automotive.vehicle@2.0-adapter-helper",
defaults: ["hidl-module-defaults"],

File diff suppressed because it is too large Load diff

View file

@ -82,3 +82,96 @@ cc_library {
"android.hardware.broadcastradio@1.1",
],
}
// 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.broadcastradio@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.broadcastradio@1.2",
srcs: [
":android.hardware.broadcastradio@1.2_hal",
],
out: [
"android/hardware/broadcastradio/1.2/ABroadcastRadioFactory.cpp",
"android/hardware/broadcastradio/1.2/ATuner.cpp",
"android/hardware/broadcastradio/1.2/ATunerCallback.cpp",
],
}
genrule {
name: "android.hardware.broadcastradio@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.broadcastradio@1.2",
srcs: [
":android.hardware.broadcastradio@1.2_hal",
],
out: [
"android/hardware/broadcastradio/1.2/ABroadcastRadioFactory.h",
"android/hardware/broadcastradio/1.2/ATuner.h",
"android/hardware/broadcastradio/1.2/ATunerCallback.h",
],
}
cc_library {
name: "android.hardware.broadcastradio@1.2-adapter-helper",
defaults: ["hidl-module-defaults"],
generated_sources: ["android.hardware.broadcastradio@1.2-adapter-helper_genc++"],
generated_headers: ["android.hardware.broadcastradio@1.2-adapter-helper_genc++_headers"],
export_generated_headers: ["android.hardware.broadcastradio@1.2-adapter-helper_genc++_headers"],
vendor_available: true,
shared_libs: [
"libhidlbase",
"libhidltransport",
"libhwbinder",
"liblog",
"libutils",
"libcutils",
"libhidladapter",
"android.hardware.broadcastradio@1.0",
"android.hardware.broadcastradio@1.1",
"android.hardware.broadcastradio@1.2",
"android.hardware.broadcastradio@1.0-adapter-helper",
"android.hardware.broadcastradio@1.1-adapter-helper",
"android.hidl.base@1.0-adapter-helper",
],
export_shared_lib_headers: [
"libhidlbase",
"libhidltransport",
"libhwbinder",
"libutils",
"libhidladapter",
"android.hardware.broadcastradio@1.0",
"android.hardware.broadcastradio@1.1",
"android.hardware.broadcastradio@1.2",
"android.hardware.broadcastradio@1.0-adapter-helper",
"android.hardware.broadcastradio@1.1-adapter-helper",
"android.hidl.base@1.0-adapter-helper",
],
}
genrule {
name: "android.hardware.broadcastradio@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.broadcastradio@1.2",
out: ["main.cpp"]
}
cc_test {
name: "android.hardware.broadcastradio@1.2-adapter",
defaults: ["hidl-module-defaults"],
shared_libs: [
"libhidladapter",
"libhidlbase",
"libhidltransport",
"libutils",
"android.hardware.broadcastradio@1.0",
"android.hardware.broadcastradio@1.1",
"android.hardware.broadcastradio@1.2",
"android.hardware.broadcastradio@1.2-adapter-helper",
],
generated_sources: ["android.hardware.broadcastradio@1.2-adapter_genc++"],
}

View file

@ -71,6 +71,11 @@ cc_library {
],
}
// 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.camera.device@3.3-adapter-helper_genc++",
tools: ["hidl-gen"],
@ -95,7 +100,6 @@ genrule {
],
}
cc_library {
name: "android.hardware.camera.device@3.3-adapter-helper",
defaults: ["hidl-module-defaults"],
@ -142,6 +146,7 @@ genrule {
cc_test {
name: "android.hardware.camera.device@3.3-adapter",
defaults: ["hidl-module-defaults"],
shared_libs: [
"libhidladapter",
"libhidlbase",

View file

@ -86,6 +86,37 @@ cc_library {
],
}
genrule {
name: "android.hardware.cas-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.cas@1.0",
srcs: [
":android.hardware.cas@1.0_hal",
],
out: [
"android/hardware/cas/V1_0/HidlCasPluginDescriptor.java",
"android/hardware/cas/V1_0/Status.java",
"android/hardware/cas/V1_0/ICas.java",
"android/hardware/cas/V1_0/ICasListener.java",
"android/hardware/cas/V1_0/IDescramblerBase.java",
"android/hardware/cas/V1_0/IMediaCasService.java",
],
}
java_library {
name: "android.hardware.cas-V1.0-java",
no_framework_libs: true,
defaults: ["hidl-java-module-defaults"],
srcs: [":android.hardware.cas-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.cas@1.0-adapter-helper_genc++",
tools: ["hidl-gen"],
@ -116,7 +147,6 @@ genrule {
],
}
cc_library {
name: "android.hardware.cas@1.0-adapter-helper",
defaults: ["hidl-module-defaults"],
@ -155,6 +185,7 @@ genrule {
cc_test {
name: "android.hardware.cas@1.0-adapter",
defaults: ["hidl-module-defaults"],
shared_libs: [
"libhidladapter",
"libhidlbase",

View file

@ -1,150 +0,0 @@
# This file is autogenerated by hidl-gen. Do not edit manually.
LOCAL_PATH := $(call my-dir)
################################################################################
include $(CLEAR_VARS)
LOCAL_MODULE := android.hardware.cas-V1.0-java
LOCAL_MODULE_CLASS := JAVA_LIBRARIES
intermediates := $(call local-generated-sources-dir, COMMON)
HIDL := $(HOST_OUT_EXECUTABLES)/hidl-gen$(HOST_EXECUTABLE_SUFFIX)
LOCAL_JAVA_LIBRARIES := \
android.hidl.base-V1.0-java \
LOCAL_NO_STANDARD_LIBRARIES := true
LOCAL_JAVA_LIBRARIES += core-oj hwbinder
#
# Build types.hal (HidlCasPluginDescriptor)
#
GEN := $(intermediates)/android/hardware/cas/V1_0/HidlCasPluginDescriptor.java
$(GEN): $(HIDL)
$(GEN): PRIVATE_HIDL := $(HIDL)
$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal
$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
$(GEN): PRIVATE_CUSTOM_TOOL = \
$(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
-Ljava \
-randroid.hardware:hardware/interfaces \
-randroid.hidl:system/libhidl/transport \
android.hardware.cas@1.0::types.HidlCasPluginDescriptor
$(GEN): $(LOCAL_PATH)/types.hal
$(transform-generated-source)
LOCAL_GENERATED_SOURCES += $(GEN)
#
# Build types.hal (Status)
#
GEN := $(intermediates)/android/hardware/cas/V1_0/Status.java
$(GEN): $(HIDL)
$(GEN): PRIVATE_HIDL := $(HIDL)
$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal
$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
$(GEN): PRIVATE_CUSTOM_TOOL = \
$(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
-Ljava \
-randroid.hardware:hardware/interfaces \
-randroid.hidl:system/libhidl/transport \
android.hardware.cas@1.0::types.Status
$(GEN): $(LOCAL_PATH)/types.hal
$(transform-generated-source)
LOCAL_GENERATED_SOURCES += $(GEN)
#
# Build ICas.hal
#
GEN := $(intermediates)/android/hardware/cas/V1_0/ICas.java
$(GEN): $(HIDL)
$(GEN): PRIVATE_HIDL := $(HIDL)
$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/ICas.hal
$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/types.hal
$(GEN): $(LOCAL_PATH)/types.hal
$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
$(GEN): PRIVATE_CUSTOM_TOOL = \
$(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
-Ljava \
-randroid.hardware:hardware/interfaces \
-randroid.hidl:system/libhidl/transport \
android.hardware.cas@1.0::ICas
$(GEN): $(LOCAL_PATH)/ICas.hal
$(transform-generated-source)
LOCAL_GENERATED_SOURCES += $(GEN)
#
# Build ICasListener.hal
#
GEN := $(intermediates)/android/hardware/cas/V1_0/ICasListener.java
$(GEN): $(HIDL)
$(GEN): PRIVATE_HIDL := $(HIDL)
$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/ICasListener.hal
$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
$(GEN): PRIVATE_CUSTOM_TOOL = \
$(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
-Ljava \
-randroid.hardware:hardware/interfaces \
-randroid.hidl:system/libhidl/transport \
android.hardware.cas@1.0::ICasListener
$(GEN): $(LOCAL_PATH)/ICasListener.hal
$(transform-generated-source)
LOCAL_GENERATED_SOURCES += $(GEN)
#
# Build IDescramblerBase.hal
#
GEN := $(intermediates)/android/hardware/cas/V1_0/IDescramblerBase.java
$(GEN): $(HIDL)
$(GEN): PRIVATE_HIDL := $(HIDL)
$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IDescramblerBase.hal
$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/types.hal
$(GEN): $(LOCAL_PATH)/types.hal
$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
$(GEN): PRIVATE_CUSTOM_TOOL = \
$(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
-Ljava \
-randroid.hardware:hardware/interfaces \
-randroid.hidl:system/libhidl/transport \
android.hardware.cas@1.0::IDescramblerBase
$(GEN): $(LOCAL_PATH)/IDescramblerBase.hal
$(transform-generated-source)
LOCAL_GENERATED_SOURCES += $(GEN)
#
# Build IMediaCasService.hal
#
GEN := $(intermediates)/android/hardware/cas/V1_0/IMediaCasService.java
$(GEN): $(HIDL)
$(GEN): PRIVATE_HIDL := $(HIDL)
$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IMediaCasService.hal
$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/ICas.hal
$(GEN): $(LOCAL_PATH)/ICas.hal
$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/ICasListener.hal
$(GEN): $(LOCAL_PATH)/ICasListener.hal
$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/IDescramblerBase.hal
$(GEN): $(LOCAL_PATH)/IDescramblerBase.hal
$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/types.hal
$(GEN): $(LOCAL_PATH)/types.hal
$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
$(GEN): PRIVATE_CUSTOM_TOOL = \
$(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
-Ljava \
-randroid.hardware:hardware/interfaces \
-randroid.hidl:system/libhidl/transport \
android.hardware.cas@1.0::IMediaCasService
$(GEN): $(LOCAL_PATH)/IMediaCasService.hal
$(transform-generated-source)
LOCAL_GENERATED_SOURCES += $(GEN)
include $(BUILD_JAVA_LIBRARY)
include $(call all-makefiles-under,$(LOCAL_PATH))

View file

@ -67,6 +67,11 @@ cc_library {
],
}
// 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.cas.native@1.0-adapter-helper_genc++",
tools: ["hidl-gen"],
@ -91,7 +96,6 @@ genrule {
],
}
cc_library {
name: "android.hardware.cas.native@1.0-adapter-helper",
defaults: ["hidl-module-defaults"],
@ -134,6 +138,7 @@ genrule {
cc_test {
name: "android.hardware.cas.native@1.0-adapter",
defaults: ["hidl-module-defaults"],
shared_libs: [
"libhidladapter",
"libhidlbase",

View file

@ -63,6 +63,33 @@ cc_library {
],
}
genrule {
name: "android.hardware.configstore-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.configstore@1.1",
srcs: [
":android.hardware.configstore@1.1_hal",
],
out: [
"android/hardware/configstore/V1_1/ISurfaceFlingerConfigs.java",
],
}
java_library {
name: "android.hardware.configstore-V1.1-java",
no_framework_libs: true,
defaults: ["hidl-java-module-defaults"],
srcs: [":android.hardware.configstore-V1.1-java_gen_java"],
libs: [
"hwbinder",
"android.hardware.configstore-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.configstore@1.1-adapter-helper_genc++",
tools: ["hidl-gen"],
@ -87,7 +114,6 @@ genrule {
],
}
cc_library {
name: "android.hardware.configstore@1.1-adapter-helper",
defaults: ["hidl-module-defaults"],
@ -130,6 +156,7 @@ genrule {
cc_test {
name: "android.hardware.configstore@1.1-adapter",
defaults: ["hidl-module-defaults"],
shared_libs: [
"libhidladapter",
"libhidlbase",

View file

@ -1,44 +0,0 @@
# This file is autogenerated by hidl-gen. Do not edit manually.
LOCAL_PATH := $(call my-dir)
################################################################################
include $(CLEAR_VARS)
LOCAL_MODULE := android.hardware.configstore-V1.1-java
LOCAL_MODULE_CLASS := JAVA_LIBRARIES
intermediates := $(call local-generated-sources-dir, COMMON)
HIDL := $(HOST_OUT_EXECUTABLES)/hidl-gen$(HOST_EXECUTABLE_SUFFIX)
LOCAL_JAVA_LIBRARIES := \
android.hardware.configstore-V1.0-java \
android.hidl.base-V1.0-java \
LOCAL_NO_STANDARD_LIBRARIES := true
LOCAL_JAVA_LIBRARIES += core-oj hwbinder
#
# Build ISurfaceFlingerConfigs.hal
#
GEN := $(intermediates)/android/hardware/configstore/V1_1/ISurfaceFlingerConfigs.java
$(GEN): $(HIDL)
$(GEN): PRIVATE_HIDL := $(HIDL)
$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/ISurfaceFlingerConfigs.hal
$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
$(GEN): PRIVATE_CUSTOM_TOOL = \
$(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
-Ljava \
-randroid.hardware:hardware/interfaces \
-randroid.hidl:system/libhidl/transport \
android.hardware.configstore@1.1::ISurfaceFlingerConfigs
$(GEN): $(LOCAL_PATH)/ISurfaceFlingerConfigs.hal
$(transform-generated-source)
LOCAL_GENERATED_SOURCES += $(GEN)
include $(BUILD_JAVA_LIBRARY)
include $(call all-makefiles-under,$(LOCAL_PATH))

View file

@ -66,6 +66,11 @@ cc_library {
],
}
// 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.graphics.mapper@2.1-adapter-helper_genc++",
tools: ["hidl-gen"],
@ -90,7 +95,6 @@ genrule {
],
}
cc_library {
name: "android.hardware.graphics.mapper@2.1-adapter-helper",
defaults: ["hidl-module-defaults"],
@ -135,6 +139,7 @@ genrule {
cc_test {
name: "android.hardware.graphics.mapper@2.1-adapter",
defaults: ["hidl-module-defaults"],
shared_libs: [
"libhidladapter",
"libhidlbase",

View file

@ -1,14 +0,0 @@
LOCAL_PATH := $(call my-dir)
#######################################
# media_profiles_V1_0.dtd
include $(CLEAR_VARS)
LOCAL_MODULE := media_profiles_V1_0.dtd
LOCAL_SRC_FILES := media_profiles.dtd
LOCAL_MODULE_CLASS := ETC
LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)
include $(BUILD_PREBUILT)

View file

@ -85,3 +85,88 @@ cc_library {
"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.neuralnetworks@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.neuralnetworks@1.0",
srcs: [
":android.hardware.neuralnetworks@1.0_hal",
],
out: [
"android/hardware/neuralnetworks/1.0/ADevice.cpp",
"android/hardware/neuralnetworks/1.0/AExecutionCallback.cpp",
"android/hardware/neuralnetworks/1.0/APreparedModel.cpp",
"android/hardware/neuralnetworks/1.0/APreparedModelCallback.cpp",
],
}
genrule {
name: "android.hardware.neuralnetworks@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.neuralnetworks@1.0",
srcs: [
":android.hardware.neuralnetworks@1.0_hal",
],
out: [
"android/hardware/neuralnetworks/1.0/ADevice.h",
"android/hardware/neuralnetworks/1.0/AExecutionCallback.h",
"android/hardware/neuralnetworks/1.0/APreparedModel.h",
"android/hardware/neuralnetworks/1.0/APreparedModelCallback.h",
],
}
cc_library {
name: "android.hardware.neuralnetworks@1.0-adapter-helper",
defaults: ["hidl-module-defaults"],
generated_sources: ["android.hardware.neuralnetworks@1.0-adapter-helper_genc++"],
generated_headers: ["android.hardware.neuralnetworks@1.0-adapter-helper_genc++_headers"],
export_generated_headers: ["android.hardware.neuralnetworks@1.0-adapter-helper_genc++_headers"],
vendor_available: true,
shared_libs: [
"libhidlbase",
"libhidltransport",
"libhwbinder",
"liblog",
"libutils",
"libcutils",
"libhidladapter",
"android.hardware.neuralnetworks@1.0",
"android.hidl.base@1.0-adapter-helper",
],
export_shared_lib_headers: [
"libhidlbase",
"libhidltransport",
"libhwbinder",
"libutils",
"libhidladapter",
"android.hardware.neuralnetworks@1.0",
"android.hidl.base@1.0-adapter-helper",
],
}
genrule {
name: "android.hardware.neuralnetworks@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.neuralnetworks@1.0",
out: ["main.cpp"]
}
cc_test {
name: "android.hardware.neuralnetworks@1.0-adapter",
defaults: ["hidl-module-defaults"],
shared_libs: [
"libhidladapter",
"libhidlbase",
"libhidltransport",
"libutils",
"android.hardware.neuralnetworks@1.0",
"android.hardware.neuralnetworks@1.0-adapter-helper",
],
generated_sources: ["android.hardware.neuralnetworks@1.0-adapter_genc++"],
}

View file

@ -65,6 +65,34 @@ cc_library {
],
}
genrule {
name: "android.hardware.oemlock-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.oemlock@1.0",
srcs: [
":android.hardware.oemlock@1.0_hal",
],
out: [
"android/hardware/oemlock/V1_0/OemLockSecureStatus.java",
"android/hardware/oemlock/V1_0/OemLockStatus.java",
"android/hardware/oemlock/V1_0/IOemLock.java",
],
}
java_library {
name: "android.hardware.oemlock-V1.0-java",
no_framework_libs: true,
defaults: ["hidl-java-module-defaults"],
srcs: [":android.hardware.oemlock-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.oemlock@1.0-adapter-helper_genc++",
tools: ["hidl-gen"],
@ -89,7 +117,6 @@ genrule {
],
}
cc_library {
name: "android.hardware.oemlock@1.0-adapter-helper",
defaults: ["hidl-module-defaults"],
@ -128,6 +155,7 @@ genrule {
cc_test {
name: "android.hardware.oemlock@1.0-adapter",
defaults: ["hidl-module-defaults"],
shared_libs: [
"libhidladapter",
"libhidlbase",

View file

@ -1,83 +0,0 @@
# This file is autogenerated by hidl-gen. Do not edit manually.
LOCAL_PATH := $(call my-dir)
################################################################################
include $(CLEAR_VARS)
LOCAL_MODULE := android.hardware.oemlock-V1.0-java
LOCAL_MODULE_CLASS := JAVA_LIBRARIES
intermediates := $(call local-generated-sources-dir, COMMON)
HIDL := $(HOST_OUT_EXECUTABLES)/hidl-gen$(HOST_EXECUTABLE_SUFFIX)
LOCAL_JAVA_LIBRARIES := \
android.hidl.base-V1.0-java \
LOCAL_NO_STANDARD_LIBRARIES := true
LOCAL_JAVA_LIBRARIES += core-oj hwbinder
#
# Build types.hal (OemLockSecureStatus)
#
GEN := $(intermediates)/android/hardware/oemlock/V1_0/OemLockSecureStatus.java
$(GEN): $(HIDL)
$(GEN): PRIVATE_HIDL := $(HIDL)
$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal
$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
$(GEN): PRIVATE_CUSTOM_TOOL = \
$(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
-Ljava \
-randroid.hardware:hardware/interfaces \
-randroid.hidl:system/libhidl/transport \
android.hardware.oemlock@1.0::types.OemLockSecureStatus
$(GEN): $(LOCAL_PATH)/types.hal
$(transform-generated-source)
LOCAL_GENERATED_SOURCES += $(GEN)
#
# Build types.hal (OemLockStatus)
#
GEN := $(intermediates)/android/hardware/oemlock/V1_0/OemLockStatus.java
$(GEN): $(HIDL)
$(GEN): PRIVATE_HIDL := $(HIDL)
$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal
$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
$(GEN): PRIVATE_CUSTOM_TOOL = \
$(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
-Ljava \
-randroid.hardware:hardware/interfaces \
-randroid.hidl:system/libhidl/transport \
android.hardware.oemlock@1.0::types.OemLockStatus
$(GEN): $(LOCAL_PATH)/types.hal
$(transform-generated-source)
LOCAL_GENERATED_SOURCES += $(GEN)
#
# Build IOemLock.hal
#
GEN := $(intermediates)/android/hardware/oemlock/V1_0/IOemLock.java
$(GEN): $(HIDL)
$(GEN): PRIVATE_HIDL := $(HIDL)
$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IOemLock.hal
$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/types.hal
$(GEN): $(LOCAL_PATH)/types.hal
$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
$(GEN): PRIVATE_CUSTOM_TOOL = \
$(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
-Ljava \
-randroid.hardware:hardware/interfaces \
-randroid.hidl:system/libhidl/transport \
android.hardware.oemlock@1.0::IOemLock
$(GEN): $(LOCAL_PATH)/IOemLock.hal
$(transform-generated-source)
LOCAL_GENERATED_SOURCES += $(GEN)
include $(BUILD_JAVA_LIBRARY)
include $(call all-makefiles-under,$(LOCAL_PATH))

View file

@ -67,6 +67,35 @@ cc_library {
],
}
genrule {
name: "android.hardware.power-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.power@1.1",
srcs: [
":android.hardware.power@1.1_hal",
],
out: [
"android/hardware/power/V1_1/PowerStateSubsystem.java",
"android/hardware/power/V1_1/PowerStateSubsystemSleepState.java",
"android/hardware/power/V1_1/IPower.java",
],
}
java_library {
name: "android.hardware.power-V1.1-java",
no_framework_libs: true,
defaults: ["hidl-java-module-defaults"],
srcs: [":android.hardware.power-V1.1-java_gen_java"],
libs: [
"hwbinder",
"android.hardware.power-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.power@1.1-adapter-helper_genc++",
tools: ["hidl-gen"],
@ -91,7 +120,6 @@ genrule {
],
}
cc_library {
name: "android.hardware.power@1.1-adapter-helper",
defaults: ["hidl-module-defaults"],
@ -134,6 +162,7 @@ genrule {
cc_test {
name: "android.hardware.power@1.1-adapter",
defaults: ["hidl-module-defaults"],
shared_libs: [
"libhidladapter",
"libhidlbase",

View file

@ -1,84 +0,0 @@
# This file is autogenerated by hidl-gen. Do not edit manually.
LOCAL_PATH := $(call my-dir)
################################################################################
include $(CLEAR_VARS)
LOCAL_MODULE := android.hardware.power-V1.1-java
LOCAL_MODULE_CLASS := JAVA_LIBRARIES
intermediates := $(call local-generated-sources-dir, COMMON)
HIDL := $(HOST_OUT_EXECUTABLES)/hidl-gen$(HOST_EXECUTABLE_SUFFIX)
LOCAL_JAVA_LIBRARIES := \
android.hardware.power-V1.0-java \
android.hidl.base-V1.0-java \
LOCAL_NO_STANDARD_LIBRARIES := true
LOCAL_JAVA_LIBRARIES += core-oj hwbinder
#
# Build types.hal (PowerStateSubsystem)
#
GEN := $(intermediates)/android/hardware/power/V1_1/PowerStateSubsystem.java
$(GEN): $(HIDL)
$(GEN): PRIVATE_HIDL := $(HIDL)
$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal
$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
$(GEN): PRIVATE_CUSTOM_TOOL = \
$(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
-Ljava \
-randroid.hardware:hardware/interfaces \
-randroid.hidl:system/libhidl/transport \
android.hardware.power@1.1::types.PowerStateSubsystem
$(GEN): $(LOCAL_PATH)/types.hal
$(transform-generated-source)
LOCAL_GENERATED_SOURCES += $(GEN)
#
# Build types.hal (PowerStateSubsystemSleepState)
#
GEN := $(intermediates)/android/hardware/power/V1_1/PowerStateSubsystemSleepState.java
$(GEN): $(HIDL)
$(GEN): PRIVATE_HIDL := $(HIDL)
$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal
$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
$(GEN): PRIVATE_CUSTOM_TOOL = \
$(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
-Ljava \
-randroid.hardware:hardware/interfaces \
-randroid.hidl:system/libhidl/transport \
android.hardware.power@1.1::types.PowerStateSubsystemSleepState
$(GEN): $(LOCAL_PATH)/types.hal
$(transform-generated-source)
LOCAL_GENERATED_SOURCES += $(GEN)
#
# Build IPower.hal
#
GEN := $(intermediates)/android/hardware/power/V1_1/IPower.java
$(GEN): $(HIDL)
$(GEN): PRIVATE_HIDL := $(HIDL)
$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IPower.hal
$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/types.hal
$(GEN): $(LOCAL_PATH)/types.hal
$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
$(GEN): PRIVATE_CUSTOM_TOOL = \
$(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
-Ljava \
-randroid.hardware:hardware/interfaces \
-randroid.hidl:system/libhidl/transport \
android.hardware.power@1.1::IPower
$(GEN): $(LOCAL_PATH)/IPower.hal
$(transform-generated-source)
LOCAL_GENERATED_SOURCES += $(GEN)
include $(BUILD_JAVA_LIBRARY)
include $(call all-makefiles-under,$(LOCAL_PATH))

View file

@ -70,6 +70,34 @@ cc_library {
],
}
genrule {
name: "android.hardware.thermal-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.thermal@1.1",
srcs: [
":android.hardware.thermal@1.1_hal",
],
out: [
"android/hardware/thermal/V1_1/IThermal.java",
"android/hardware/thermal/V1_1/IThermalCallback.java",
],
}
java_library {
name: "android.hardware.thermal-V1.1-java",
no_framework_libs: true,
defaults: ["hidl-java-module-defaults"],
srcs: [":android.hardware.thermal-V1.1-java_gen_java"],
libs: [
"hwbinder",
"android.hardware.thermal-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.thermal@1.1-adapter-helper_genc++",
tools: ["hidl-gen"],
@ -96,7 +124,6 @@ genrule {
],
}
cc_library {
name: "android.hardware.thermal@1.1-adapter-helper",
defaults: ["hidl-module-defaults"],
@ -139,6 +166,7 @@ genrule {
cc_test {
name: "android.hardware.thermal@1.1-adapter",
defaults: ["hidl-module-defaults"],
shared_libs: [
"libhidladapter",
"libhidlbase",

View file

@ -1,65 +0,0 @@
# This file is autogenerated by hidl-gen. Do not edit manually.
LOCAL_PATH := $(call my-dir)
################################################################################
include $(CLEAR_VARS)
LOCAL_MODULE := android.hardware.thermal-V1.1-java
LOCAL_MODULE_CLASS := JAVA_LIBRARIES
intermediates := $(call local-generated-sources-dir, COMMON)
HIDL := $(HOST_OUT_EXECUTABLES)/hidl-gen$(HOST_EXECUTABLE_SUFFIX)
LOCAL_JAVA_LIBRARIES := \
android.hardware.thermal-V1.0-java \
android.hidl.base-V1.0-java \
LOCAL_NO_STANDARD_LIBRARIES := true
LOCAL_JAVA_LIBRARIES += core-oj hwbinder
#
# Build IThermal.hal
#
GEN := $(intermediates)/android/hardware/thermal/V1_1/IThermal.java
$(GEN): $(HIDL)
$(GEN): PRIVATE_HIDL := $(HIDL)
$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IThermal.hal
$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/IThermalCallback.hal
$(GEN): $(LOCAL_PATH)/IThermalCallback.hal
$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
$(GEN): PRIVATE_CUSTOM_TOOL = \
$(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
-Ljava \
-randroid.hardware:hardware/interfaces \
-randroid.hidl:system/libhidl/transport \
android.hardware.thermal@1.1::IThermal
$(GEN): $(LOCAL_PATH)/IThermal.hal
$(transform-generated-source)
LOCAL_GENERATED_SOURCES += $(GEN)
#
# Build IThermalCallback.hal
#
GEN := $(intermediates)/android/hardware/thermal/V1_1/IThermalCallback.java
$(GEN): $(HIDL)
$(GEN): PRIVATE_HIDL := $(HIDL)
$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IThermalCallback.hal
$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
$(GEN): PRIVATE_CUSTOM_TOOL = \
$(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
-Ljava \
-randroid.hardware:hardware/interfaces \
-randroid.hidl:system/libhidl/transport \
android.hardware.thermal@1.1::IThermalCallback
$(GEN): $(LOCAL_PATH)/IThermalCallback.hal
$(transform-generated-source)
LOCAL_GENERATED_SOURCES += $(GEN)
include $(BUILD_JAVA_LIBRARY)
include $(call all-makefiles-under,$(LOCAL_PATH))

View file

@ -74,6 +74,52 @@ cc_library {
],
}
genrule {
name: "android.hardware.usb-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.usb@1.1",
srcs: [
":android.hardware.usb@1.1_hal",
],
out: [
"android/hardware/usb/V1_1/PortMode_1_1.java",
"android/hardware/usb/V1_1/PortStatus_1_1.java",
"android/hardware/usb/V1_1/IUsb.java",
"android/hardware/usb/V1_1/IUsbCallback.java",
],
}
java_library {
name: "android.hardware.usb-V1.1-java",
no_framework_libs: true,
defaults: ["hidl-java-module-defaults"],
srcs: [":android.hardware.usb-V1.1-java_gen_java"],
libs: [
"hwbinder",
"android.hardware.usb-V1.0-java",
"android.hidl.base-V1.0-java",
]
}
genrule {
name: "android.hardware.usb-V1.1-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.usb@1.1",
srcs: [
":android.hardware.usb@1.1_hal",
],
out: [
"android/hardware/usb/V1_1/Constants.java",
],
}
java_library {
name: "android.hardware.usb-V1.1-java-constants",
no_framework_libs: true,
defaults: ["hidl-java-module-defaults"],
srcs: [":android.hardware.usb-V1.1-java-constants_gen_java"],
}
genrule {
name: "android.hardware.usb@1.1-adapter-helper_genc++",
tools: ["hidl-gen"],
@ -100,7 +146,6 @@ genrule {
],
}
cc_library {
name: "android.hardware.usb@1.1-adapter-helper",
defaults: ["hidl-module-defaults"],
@ -143,6 +188,7 @@ genrule {
cc_test {
name: "android.hardware.usb@1.1-adapter",
defaults: ["hidl-module-defaults"],
shared_libs: [
"libhidladapter",
"libhidlbase",

View file

@ -1,138 +0,0 @@
# This file is autogenerated by hidl-gen. Do not edit manually.
LOCAL_PATH := $(call my-dir)
################################################################################
include $(CLEAR_VARS)
LOCAL_MODULE := android.hardware.usb-V1.1-java
LOCAL_MODULE_CLASS := JAVA_LIBRARIES
intermediates := $(call local-generated-sources-dir, COMMON)
HIDL := $(HOST_OUT_EXECUTABLES)/hidl-gen$(HOST_EXECUTABLE_SUFFIX)
LOCAL_JAVA_LIBRARIES := \
android.hardware.usb-V1.0-java \
android.hidl.base-V1.0-java \
LOCAL_NO_STANDARD_LIBRARIES := true
LOCAL_JAVA_LIBRARIES += core-oj hwbinder
#
# Build types.hal (PortMode_1_1)
#
GEN := $(intermediates)/android/hardware/usb/V1_1/PortMode_1_1.java
$(GEN): $(HIDL)
$(GEN): PRIVATE_HIDL := $(HIDL)
$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal
$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
$(GEN): PRIVATE_CUSTOM_TOOL = \
$(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
-Ljava \
-randroid.hardware:hardware/interfaces \
-randroid.hidl:system/libhidl/transport \
android.hardware.usb@1.1::types.PortMode_1_1
$(GEN): $(LOCAL_PATH)/types.hal
$(transform-generated-source)
LOCAL_GENERATED_SOURCES += $(GEN)
#
# Build types.hal (PortStatus_1_1)
#
GEN := $(intermediates)/android/hardware/usb/V1_1/PortStatus_1_1.java
$(GEN): $(HIDL)
$(GEN): PRIVATE_HIDL := $(HIDL)
$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal
$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
$(GEN): PRIVATE_CUSTOM_TOOL = \
$(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
-Ljava \
-randroid.hardware:hardware/interfaces \
-randroid.hidl:system/libhidl/transport \
android.hardware.usb@1.1::types.PortStatus_1_1
$(GEN): $(LOCAL_PATH)/types.hal
$(transform-generated-source)
LOCAL_GENERATED_SOURCES += $(GEN)
#
# Build IUsb.hal
#
GEN := $(intermediates)/android/hardware/usb/V1_1/IUsb.java
$(GEN): $(HIDL)
$(GEN): PRIVATE_HIDL := $(HIDL)
$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IUsb.hal
$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
$(GEN): PRIVATE_CUSTOM_TOOL = \
$(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
-Ljava \
-randroid.hardware:hardware/interfaces \
-randroid.hidl:system/libhidl/transport \
android.hardware.usb@1.1::IUsb
$(GEN): $(LOCAL_PATH)/IUsb.hal
$(transform-generated-source)
LOCAL_GENERATED_SOURCES += $(GEN)
#
# Build IUsbCallback.hal
#
GEN := $(intermediates)/android/hardware/usb/V1_1/IUsbCallback.java
$(GEN): $(HIDL)
$(GEN): PRIVATE_HIDL := $(HIDL)
$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IUsbCallback.hal
$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/types.hal
$(GEN): $(LOCAL_PATH)/types.hal
$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
$(GEN): PRIVATE_CUSTOM_TOOL = \
$(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
-Ljava \
-randroid.hardware:hardware/interfaces \
-randroid.hidl:system/libhidl/transport \
android.hardware.usb@1.1::IUsbCallback
$(GEN): $(LOCAL_PATH)/IUsbCallback.hal
$(transform-generated-source)
LOCAL_GENERATED_SOURCES += $(GEN)
include $(BUILD_JAVA_LIBRARY)
################################################################################
include $(CLEAR_VARS)
LOCAL_MODULE := android.hardware.usb-V1.1-java-constants
LOCAL_MODULE_CLASS := JAVA_LIBRARIES
intermediates := $(call local-generated-sources-dir, COMMON)
HIDL := $(HOST_OUT_EXECUTABLES)/hidl-gen$(HOST_EXECUTABLE_SUFFIX)
#
GEN := $(intermediates)/android/hardware/usb/V1_1/Constants.java
$(GEN): $(HIDL)
$(GEN): $(LOCAL_PATH)/types.hal
$(GEN): $(LOCAL_PATH)/IUsb.hal
$(GEN): $(LOCAL_PATH)/IUsbCallback.hal
$(GEN): PRIVATE_HIDL := $(HIDL)
$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
$(GEN): PRIVATE_CUSTOM_TOOL = \
$(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
-Ljava-constants \
-randroid.hardware:hardware/interfaces \
-randroid.hidl:system/libhidl/transport \
android.hardware.usb@1.1
$(GEN):
$(transform-generated-source)
LOCAL_GENERATED_SOURCES += $(GEN)
# Avoid dependency cycle of framework.jar -> this-library -> framework.jar
LOCAL_NO_STANDARD_LIBRARIES := true
LOCAL_JAVA_LIBRARIES := core-oj
include $(BUILD_STATIC_JAVA_LIBRARY)
include $(call all-makefiles-under,$(LOCAL_PATH))

View file

@ -67,6 +67,50 @@ cc_library {
],
}
genrule {
name: "android.hardware.vibrator-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.vibrator@1.1",
srcs: [
":android.hardware.vibrator@1.1_hal",
],
out: [
"android/hardware/vibrator/V1_1/Effect_1_1.java",
"android/hardware/vibrator/V1_1/IVibrator.java",
],
}
java_library {
name: "android.hardware.vibrator-V1.1-java",
no_framework_libs: true,
defaults: ["hidl-java-module-defaults"],
srcs: [":android.hardware.vibrator-V1.1-java_gen_java"],
libs: [
"hwbinder",
"android.hardware.vibrator-V1.0-java",
"android.hidl.base-V1.0-java",
]
}
genrule {
name: "android.hardware.vibrator-V1.1-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.vibrator@1.1",
srcs: [
":android.hardware.vibrator@1.1_hal",
],
out: [
"android/hardware/vibrator/V1_1/Constants.java",
],
}
java_library {
name: "android.hardware.vibrator-V1.1-java-constants",
no_framework_libs: true,
defaults: ["hidl-java-module-defaults"],
srcs: [":android.hardware.vibrator-V1.1-java-constants_gen_java"],
}
genrule {
name: "android.hardware.vibrator@1.1-adapter-helper_genc++",
tools: ["hidl-gen"],
@ -91,7 +135,6 @@ genrule {
],
}
cc_library {
name: "android.hardware.vibrator@1.1-adapter-helper",
defaults: ["hidl-module-defaults"],
@ -134,6 +177,7 @@ genrule {
cc_test {
name: "android.hardware.vibrator@1.1-adapter",
defaults: ["hidl-module-defaults"],
shared_libs: [
"libhidladapter",
"libhidlbase",

View file

@ -1,99 +0,0 @@
# This file is autogenerated by hidl-gen. Do not edit manually.
LOCAL_PATH := $(call my-dir)
################################################################################
include $(CLEAR_VARS)
LOCAL_MODULE := android.hardware.vibrator-V1.1-java
LOCAL_MODULE_CLASS := JAVA_LIBRARIES
intermediates := $(call local-generated-sources-dir, COMMON)
HIDL := $(HOST_OUT_EXECUTABLES)/hidl-gen$(HOST_EXECUTABLE_SUFFIX)
LOCAL_JAVA_LIBRARIES := \
android.hardware.vibrator-V1.0-java \
android.hidl.base-V1.0-java \
LOCAL_NO_STANDARD_LIBRARIES := true
LOCAL_JAVA_LIBRARIES += core-oj hwbinder
#
# Build types.hal (Effect_1_1)
#
GEN := $(intermediates)/android/hardware/vibrator/V1_1/Effect_1_1.java
$(GEN): $(HIDL)
$(GEN): PRIVATE_HIDL := $(HIDL)
$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal
$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
$(GEN): PRIVATE_CUSTOM_TOOL = \
$(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
-Ljava \
-randroid.hardware:hardware/interfaces \
-randroid.hidl:system/libhidl/transport \
android.hardware.vibrator@1.1::types.Effect_1_1
$(GEN): $(LOCAL_PATH)/types.hal
$(transform-generated-source)
LOCAL_GENERATED_SOURCES += $(GEN)
#
# Build IVibrator.hal
#
GEN := $(intermediates)/android/hardware/vibrator/V1_1/IVibrator.java
$(GEN): $(HIDL)
$(GEN): PRIVATE_HIDL := $(HIDL)
$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IVibrator.hal
$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/types.hal
$(GEN): $(LOCAL_PATH)/types.hal
$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
$(GEN): PRIVATE_CUSTOM_TOOL = \
$(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
-Ljava \
-randroid.hardware:hardware/interfaces \
-randroid.hidl:system/libhidl/transport \
android.hardware.vibrator@1.1::IVibrator
$(GEN): $(LOCAL_PATH)/IVibrator.hal
$(transform-generated-source)
LOCAL_GENERATED_SOURCES += $(GEN)
include $(BUILD_JAVA_LIBRARY)
################################################################################
include $(CLEAR_VARS)
LOCAL_MODULE := android.hardware.vibrator-V1.1-java-constants
LOCAL_MODULE_CLASS := JAVA_LIBRARIES
intermediates := $(call local-generated-sources-dir, COMMON)
HIDL := $(HOST_OUT_EXECUTABLES)/hidl-gen$(HOST_EXECUTABLE_SUFFIX)
#
GEN := $(intermediates)/android/hardware/vibrator/V1_1/Constants.java
$(GEN): $(HIDL)
$(GEN): $(LOCAL_PATH)/types.hal
$(GEN): $(LOCAL_PATH)/IVibrator.hal
$(GEN): PRIVATE_HIDL := $(HIDL)
$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
$(GEN): PRIVATE_CUSTOM_TOOL = \
$(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
-Ljava-constants \
-randroid.hardware:hardware/interfaces \
-randroid.hidl:system/libhidl/transport \
android.hardware.vibrator@1.1
$(GEN):
$(transform-generated-source)
LOCAL_GENERATED_SOURCES += $(GEN)
# Avoid dependency cycle of framework.jar -> this-library -> framework.jar
LOCAL_NO_STANDARD_LIBRARIES := true
LOCAL_JAVA_LIBRARIES := core-oj
include $(BUILD_STATIC_JAVA_LIBRARY)
include $(call all-makefiles-under,$(LOCAL_PATH))

View file

@ -65,6 +65,36 @@ cc_library {
],
}
genrule {
name: "android.hardware.weaver-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.weaver@1.0",
srcs: [
":android.hardware.weaver@1.0_hal",
],
out: [
"android/hardware/weaver/V1_0/WeaverConfig.java",
"android/hardware/weaver/V1_0/WeaverReadResponse.java",
"android/hardware/weaver/V1_0/WeaverReadStatus.java",
"android/hardware/weaver/V1_0/WeaverStatus.java",
"android/hardware/weaver/V1_0/IWeaver.java",
],
}
java_library {
name: "android.hardware.weaver-V1.0-java",
no_framework_libs: true,
defaults: ["hidl-java-module-defaults"],
srcs: [":android.hardware.weaver-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.weaver@1.0-adapter-helper_genc++",
tools: ["hidl-gen"],
@ -89,7 +119,6 @@ genrule {
],
}
cc_library {
name: "android.hardware.weaver@1.0-adapter-helper",
defaults: ["hidl-module-defaults"],
@ -128,6 +157,7 @@ genrule {
cc_test {
name: "android.hardware.weaver@1.0-adapter",
defaults: ["hidl-module-defaults"],
shared_libs: [
"libhidladapter",
"libhidlbase",

View file

@ -1,121 +0,0 @@
# This file is autogenerated by hidl-gen. Do not edit manually.
LOCAL_PATH := $(call my-dir)
################################################################################
include $(CLEAR_VARS)
LOCAL_MODULE := android.hardware.weaver-V1.0-java
LOCAL_MODULE_CLASS := JAVA_LIBRARIES
intermediates := $(call local-generated-sources-dir, COMMON)
HIDL := $(HOST_OUT_EXECUTABLES)/hidl-gen$(HOST_EXECUTABLE_SUFFIX)
LOCAL_JAVA_LIBRARIES := \
android.hidl.base-V1.0-java \
LOCAL_NO_STANDARD_LIBRARIES := true
LOCAL_JAVA_LIBRARIES += core-oj hwbinder
#
# Build types.hal (WeaverConfig)
#
GEN := $(intermediates)/android/hardware/weaver/V1_0/WeaverConfig.java
$(GEN): $(HIDL)
$(GEN): PRIVATE_HIDL := $(HIDL)
$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal
$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
$(GEN): PRIVATE_CUSTOM_TOOL = \
$(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
-Ljava \
-randroid.hardware:hardware/interfaces \
-randroid.hidl:system/libhidl/transport \
android.hardware.weaver@1.0::types.WeaverConfig
$(GEN): $(LOCAL_PATH)/types.hal
$(transform-generated-source)
LOCAL_GENERATED_SOURCES += $(GEN)
#
# Build types.hal (WeaverReadResponse)
#
GEN := $(intermediates)/android/hardware/weaver/V1_0/WeaverReadResponse.java
$(GEN): $(HIDL)
$(GEN): PRIVATE_HIDL := $(HIDL)
$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal
$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
$(GEN): PRIVATE_CUSTOM_TOOL = \
$(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
-Ljava \
-randroid.hardware:hardware/interfaces \
-randroid.hidl:system/libhidl/transport \
android.hardware.weaver@1.0::types.WeaverReadResponse
$(GEN): $(LOCAL_PATH)/types.hal
$(transform-generated-source)
LOCAL_GENERATED_SOURCES += $(GEN)
#
# Build types.hal (WeaverReadStatus)
#
GEN := $(intermediates)/android/hardware/weaver/V1_0/WeaverReadStatus.java
$(GEN): $(HIDL)
$(GEN): PRIVATE_HIDL := $(HIDL)
$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal
$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
$(GEN): PRIVATE_CUSTOM_TOOL = \
$(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
-Ljava \
-randroid.hardware:hardware/interfaces \
-randroid.hidl:system/libhidl/transport \
android.hardware.weaver@1.0::types.WeaverReadStatus
$(GEN): $(LOCAL_PATH)/types.hal
$(transform-generated-source)
LOCAL_GENERATED_SOURCES += $(GEN)
#
# Build types.hal (WeaverStatus)
#
GEN := $(intermediates)/android/hardware/weaver/V1_0/WeaverStatus.java
$(GEN): $(HIDL)
$(GEN): PRIVATE_HIDL := $(HIDL)
$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal
$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
$(GEN): PRIVATE_CUSTOM_TOOL = \
$(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
-Ljava \
-randroid.hardware:hardware/interfaces \
-randroid.hidl:system/libhidl/transport \
android.hardware.weaver@1.0::types.WeaverStatus
$(GEN): $(LOCAL_PATH)/types.hal
$(transform-generated-source)
LOCAL_GENERATED_SOURCES += $(GEN)
#
# Build IWeaver.hal
#
GEN := $(intermediates)/android/hardware/weaver/V1_0/IWeaver.java
$(GEN): $(HIDL)
$(GEN): PRIVATE_HIDL := $(HIDL)
$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IWeaver.hal
$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/types.hal
$(GEN): $(LOCAL_PATH)/types.hal
$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
$(GEN): PRIVATE_CUSTOM_TOOL = \
$(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
-Ljava \
-randroid.hardware:hardware/interfaces \
-randroid.hidl:system/libhidl/transport \
android.hardware.weaver@1.0::IWeaver
$(GEN): $(LOCAL_PATH)/IWeaver.hal
$(transform-generated-source)
LOCAL_GENERATED_SOURCES += $(GEN)
include $(BUILD_JAVA_LIBRARY)
include $(call all-makefiles-under,$(LOCAL_PATH))

View file

@ -70,6 +70,34 @@ cc_library {
],
}
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"],
@ -96,7 +124,6 @@ genrule {
],
}
cc_library {
name: "android.hardware.wifi@1.1-adapter-helper",
defaults: ["hidl-module-defaults"],
@ -139,6 +166,7 @@ genrule {
cc_test {
name: "android.hardware.wifi@1.1-adapter",
defaults: ["hidl-module-defaults"],
shared_libs: [
"libhidladapter",
"libhidlbase",

View file

@ -1,63 +0,0 @@
# This file is autogenerated by hidl-gen. Do not edit manually.
LOCAL_PATH := $(call my-dir)
################################################################################
include $(CLEAR_VARS)
LOCAL_MODULE := android.hardware.wifi-V1.1-java
LOCAL_MODULE_CLASS := JAVA_LIBRARIES
intermediates := $(call local-generated-sources-dir, COMMON)
HIDL := $(HOST_OUT_EXECUTABLES)/hidl-gen$(HOST_EXECUTABLE_SUFFIX)
LOCAL_JAVA_LIBRARIES := \
android.hardware.wifi-V1.0-java \
android.hidl.base-V1.0-java \
LOCAL_NO_STANDARD_LIBRARIES := true
LOCAL_JAVA_LIBRARIES += core-oj hwbinder
#
# Build IWifi.hal
#
GEN := $(intermediates)/android/hardware/wifi/V1_1/IWifi.java
$(GEN): $(HIDL)
$(GEN): PRIVATE_HIDL := $(HIDL)
$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IWifi.hal
$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
$(GEN): PRIVATE_CUSTOM_TOOL = \
$(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
-Ljava \
-randroid.hardware:hardware/interfaces \
-randroid.hidl:system/libhidl/transport \
android.hardware.wifi@1.1::IWifi
$(GEN): $(LOCAL_PATH)/IWifi.hal
$(transform-generated-source)
LOCAL_GENERATED_SOURCES += $(GEN)
#
# Build IWifiChip.hal
#
GEN := $(intermediates)/android/hardware/wifi/V1_1/IWifiChip.java
$(GEN): $(HIDL)
$(GEN): PRIVATE_HIDL := $(HIDL)
$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IWifiChip.hal
$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
$(GEN): PRIVATE_CUSTOM_TOOL = \
$(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
-Ljava \
-randroid.hardware:hardware/interfaces \
-randroid.hidl:system/libhidl/transport \
android.hardware.wifi@1.1::IWifiChip
$(GEN): $(LOCAL_PATH)/IWifiChip.hal
$(transform-generated-source)
LOCAL_GENERATED_SOURCES += $(GEN)
include $(BUILD_JAVA_LIBRARY)
include $(call all-makefiles-under,$(LOCAL_PATH))

View file

@ -72,6 +72,35 @@ cc_library {
],
}
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"],
@ -98,7 +127,6 @@ genrule {
],
}
cc_library {
name: "android.hardware.wifi@1.2-adapter-helper",
defaults: ["hidl-module-defaults"],
@ -145,6 +173,7 @@ genrule {
cc_test {
name: "android.hardware.wifi@1.2-adapter",
defaults: ["hidl-module-defaults"],
shared_libs: [
"libhidladapter",
"libhidlbase",

View file

@ -1,64 +0,0 @@
# This file is autogenerated by hidl-gen. Do not edit manually.
LOCAL_PATH := $(call my-dir)
################################################################################
include $(CLEAR_VARS)
LOCAL_MODULE := android.hardware.wifi-V1.2-java
LOCAL_MODULE_CLASS := JAVA_LIBRARIES
intermediates := $(call local-generated-sources-dir, COMMON)
HIDL := $(HOST_OUT_EXECUTABLES)/hidl-gen$(HOST_EXECUTABLE_SUFFIX)
LOCAL_JAVA_LIBRARIES := \
android.hardware.wifi-V1.0-java \
android.hardware.wifi-V1.1-java \
android.hidl.base-V1.0-java \
LOCAL_NO_STANDARD_LIBRARIES := true
LOCAL_JAVA_LIBRARIES += core-oj hwbinder
#
# Build IWifi.hal
#
GEN := $(intermediates)/android/hardware/wifi/V1_2/IWifi.java
$(GEN): $(HIDL)
$(GEN): PRIVATE_HIDL := $(HIDL)
$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IWifi.hal
$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
$(GEN): PRIVATE_CUSTOM_TOOL = \
$(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
-Ljava \
-randroid.hardware:hardware/interfaces \
-randroid.hidl:system/libhidl/transport \
android.hardware.wifi@1.2::IWifi
$(GEN): $(LOCAL_PATH)/IWifi.hal
$(transform-generated-source)
LOCAL_GENERATED_SOURCES += $(GEN)
#
# Build IWifiChip.hal
#
GEN := $(intermediates)/android/hardware/wifi/V1_2/IWifiChip.java
$(GEN): $(HIDL)
$(GEN): PRIVATE_HIDL := $(HIDL)
$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IWifiChip.hal
$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
$(GEN): PRIVATE_CUSTOM_TOOL = \
$(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
-Ljava \
-randroid.hardware:hardware/interfaces \
-randroid.hidl:system/libhidl/transport \
android.hardware.wifi@1.2::IWifiChip
$(GEN): $(LOCAL_PATH)/IWifiChip.hal
$(transform-generated-source)
LOCAL_GENERATED_SOURCES += $(GEN)
include $(BUILD_JAVA_LIBRARY)
include $(call all-makefiles-under,$(LOCAL_PATH))

View file

@ -72,6 +72,11 @@ cc_library {
],
}
// 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"],
@ -98,7 +103,6 @@ genrule {
],
}
cc_library {
name: "android.hardware.wifi.offload@1.0-adapter-helper",
defaults: ["hidl-module-defaults"],
@ -137,6 +141,7 @@ genrule {
cc_test {
name: "android.hardware.wifi.offload@1.0-adapter",
defaults: ["hidl-module-defaults"],
shared_libs: [
"libhidladapter",
"libhidlbase",

View file

@ -63,6 +63,33 @@ cc_library {
],
}
genrule {
name: "android.hardware.wifi.supplicant-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.supplicant@1.1",
srcs: [
":android.hardware.wifi.supplicant@1.1_hal",
],
out: [
"android/hardware/wifi/supplicant/V1_1/ISupplicant.java",
],
}
java_library {
name: "android.hardware.wifi.supplicant-V1.1-java",
no_framework_libs: true,
defaults: ["hidl-java-module-defaults"],
srcs: [":android.hardware.wifi.supplicant-V1.1-java_gen_java"],
libs: [
"hwbinder",
"android.hardware.wifi.supplicant-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.supplicant@1.1-adapter-helper_genc++",
tools: ["hidl-gen"],
@ -87,7 +114,6 @@ genrule {
],
}
cc_library {
name: "android.hardware.wifi.supplicant@1.1-adapter-helper",
defaults: ["hidl-module-defaults"],

View file

@ -1,44 +0,0 @@
# This file is autogenerated by hidl-gen. Do not edit manually.
LOCAL_PATH := $(call my-dir)
################################################################################
include $(CLEAR_VARS)
LOCAL_MODULE := android.hardware.wifi.supplicant-V1.1-java
LOCAL_MODULE_CLASS := JAVA_LIBRARIES
intermediates := $(call local-generated-sources-dir, COMMON)
HIDL := $(HOST_OUT_EXECUTABLES)/hidl-gen$(HOST_EXECUTABLE_SUFFIX)
LOCAL_JAVA_LIBRARIES := \
android.hardware.wifi.supplicant-V1.0-java \
android.hidl.base-V1.0-java \
LOCAL_NO_STANDARD_LIBRARIES := true
LOCAL_JAVA_LIBRARIES += core-oj hwbinder
#
# Build ISupplicant.hal
#
GEN := $(intermediates)/android/hardware/wifi/supplicant/V1_1/ISupplicant.java
$(GEN): $(HIDL)
$(GEN): PRIVATE_HIDL := $(HIDL)
$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/ISupplicant.hal
$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
$(GEN): PRIVATE_CUSTOM_TOOL = \
$(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
-Ljava \
-randroid.hardware:hardware/interfaces \
-randroid.hidl:system/libhidl/transport \
android.hardware.wifi.supplicant@1.1::ISupplicant
$(GEN): $(LOCAL_PATH)/ISupplicant.hal
$(transform-generated-source)
LOCAL_GENERATED_SOURCES += $(GEN)
include $(BUILD_JAVA_LIBRARY)
include $(call all-makefiles-under,$(LOCAL_PATH))