commit | b094943d513962fe167837a8dd790c278aa4618a | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Thu Dec 15 15:32:24 2016 -0800 |
committer | Yifan Hong <elsk@google.com> | Thu Dec 15 15:32:24 2016 -0800 |
tree | 5cbb3f2a1fbe812cc317c8ca3247119fca9bed63 | |
parent | db20ea0d9acae63335ef771deec2797bc4dd8d53 [diff] |
Bs*.h includes cutils/atrace.h. Bs* uses atrace methods, but does not include the header even implicitly. Bug: 33669138 Test: mma Change-Id: Ic5abe51b0550049a80e324b256fa035ee49f51e9
croot make hidl-gen
hidl-gen -o output-path -L language (-r interface-root) fqname output-path: directory to store the output files. language: output file for given language. e.g.c++, vts.. fqname: fully qualified name of the input files. For singe file input, follow the format: package@version::fileName For directory input, follow the format: package@version interface-root(optional): prefix and root path for fqname. If not set, use the default prefix: android.hardware and default root path defined in $TOP. examples: croot hidl-gen -o output -L c++ -r android.hardware:hardware/interfaces -r android.hidl:system/libhidl/transport android.hardware.nfc@1.0::INfc.hal hidl-gen -o output -L vts -r android.hardware:hardware/interfaces -r android.hidl:system/libhidl/transport android.hardware.nfc@1.0 hidl-gen -o test -L c++ -r android.hardware:hardware/interfaces -r android.hidl:system/libhidl/transport android.hardware.nfc@1.0