commit | 5158db484e5ab302368f191d75d5b1334c270e52 | [log] [tgz] |
---|---|---|
author | Zhuoyao Zhang <zhuoyao@google.com> | Wed Aug 10 10:25:20 2016 -0700 |
committer | Zhuoyao Zhang <zhuoyao@google.com> | Mon Aug 15 15:28:04 2016 -0700 |
tree | 4a440492a61e10784cdc0e31316000492046b915 | |
parent | 1aa476ba26601828117428c4bdd3367fbf999fec [diff] [blame] |
Extend hidl-gen to support generate vts file. b/30762234 TODO: add regression test. Change-Id: I1c31fd9a85805cd450ea03cc0ccc750a756d1009
diff --git a/Type.cpp b/Type.cpp index 1e7e2d5..59439c3 100644 --- a/Type.cpp +++ b/Type.cpp
@@ -255,5 +255,13 @@ out << ");\n"; } +status_t Type::emitVtsTypeDeclarations(Formatter &) const { + return OK; +} + +status_t Type::emitVtsArgumentType(Formatter &out) const { + return emitVtsTypeDeclarations(out); +} + } // namespace android