fix the fix

Change-Id: Ib371beb0c9f3792fbe3149d5dc4f50ae017b56c2
Signed-off-by: Iliyan Malchev <malchev@google.com>
This commit is contained in:
Iliyan Malchev 2016-08-08 13:29:22 -07:00
parent 6cf9db2362
commit 31e16a7e63

View file

@ -11,12 +11,14 @@ GEN := \
$(intermediates)/android/hardware/nfc/1.0/NfcAll.cpp \
$(intermediates)/android/hardware/nfc/1.0/NfcClientCallbackAll.cpp \
$(GEN): hidl-gen
HIDL := $(HOST_OUT_EXECUTABLES)/hidl-gen$(HOST_EXECUTABLE_SUFFIX)
$(GEN): $(HIDL)
$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
$(GEN): PRIVATE_CUSTOM_TOOL = \
hidl-gen -o $(PRIVATE_OUTPUT_DIR) -r android.hardware:hardware/interfaces android.hardware.nfc@1.0
$(HIDL) -o $(PRIVATE_OUTPUT_DIR) -r android.hardware:hardware/interfaces android.hardware.nfc@1.0
$(GEN): $(LOCAL_PATH)/types.hal $(LOCAL_PATH)/INfc.hal $(LOCAL_PATH)/INfcClientCallback.hal
$(transform-generated-source)