Compute but do not generate code for dependencies
No longer generate code for dependencies, unless the -A option is
specified.
Given the following layout of package android.hardware.foo@1.0:
IFooCallback.hal
IFoo.hal
types.hal
Further, given that android.hardware.foo@1.0::IFoo imports
android.hardware.nfc@1.0::INfc, which has no further dependencies,
higl-gen will emit code as follows:
hidl-gen -o /tmp/ -r android.hardware:hardware/interfaces android.hardware.foo@1.0::types
/tmp/android/hardware/foo/1.0/types.cpp
/tmp/android/hardware/foo/1.0/types.h
hidl-gen -o /tmp/ -r android.hardware:hardware/interfaces android.hardware.foo@1.0::IFoo
/tmp/android/hardware/foo/1.0/IFoo.h
/tmp/android/hardware/foo/1.0/BpFoo.h
/tmp/android/hardware/foo/1.0/FooAll.cpp
/tmp/android/hardware/foo/1.0/BnFoo.h
hidl-gen -A -o /tmp/ -r android.hardware:hardware/interfaces android.hardware.foo@1.0::IFoo
/tmp/android/hardware/foo/1.0/types.cpp
/tmp/android/hardware/foo/1.0/IFoo.h
/tmp/android/hardware/foo/1.0/BpFooCallback.h
/tmp/android/hardware/foo/1.0/BpFoo.h
/tmp/android/hardware/foo/1.0/FooCallbackAll.cpp
/tmp/android/hardware/foo/1.0/types.h
/tmp/android/hardware/foo/1.0/BnFooCallback.h
/tmp/android/hardware/foo/1.0/IFooCallback.h
/tmp/android/hardware/foo/1.0/FooAll.cpp
/tmp/android/hardware/foo/1.0/BnFoo.h
/tmp/android/hardware/nfc/1.0/types.cpp
/tmp/android/hardware/nfc/1.0/INfc.h
/tmp/android/hardware/nfc/1.0/BnNfc.h
/tmp/android/hardware/nfc/1.0/NfcClientCallbackAll.cpp
/tmp/android/hardware/nfc/1.0/NfcAll.cpp
/tmp/android/hardware/nfc/1.0/BpNfcClientCallback.h
/tmp/android/hardware/nfc/1.0/BpNfc.h
/tmp/android/hardware/nfc/1.0/types.h
/tmp/android/hardware/nfc/1.0/BnNfcClientCallback.h
/tmp/android/hardware/nfc/1.0/INfcClientCallback.h
Signed-off-by: Iliyan Malchev <malchev@google.com>
1 file changed