OSDN Git Service

Add float support to binary event log.
authorJeff Brown <jeffbrown@google.com>
Tue, 28 Apr 2015 19:46:22 +0000 (12:46 -0700)
committerJeff Brown <jeffbrown@google.com>
Wed, 29 Apr 2015 00:52:07 +0000 (17:52 -0700)
Bug: 20664753
Change-Id: Iab232b1f172094919839d57f15644dfb2eaa1425

tools/java-event-log-tags.py

index 846d9cf..f364751 100755 (executable)
@@ -129,7 +129,7 @@ def javaName(name):
     out += "_"
   return out
 
-javaTypes = ["ERROR", "int", "long", "String", "Object[]"]
+javaTypes = ["ERROR", "int", "long", "String", "Object[]", "float"]
 for t in tagfile.tags:
   methodName = javaName("write_" + t.tagname)
   if t.description: