History log of /build/tools/event_log_tags.py
Revision Date Author Comments
e128cbda075ae28dc7965455b3c047bc841228fc 23-Jan-2011 Doug Zongker <dougz@android.com> check syntax of description field in logtags files

EventLog.java checks that the field descriptions are bracketed by
parens, so we should to in order to avoid a runtime error from a
logtag entry with bad syntax.

Bug: 3381309
Change-Id: I1d4cbb190da6b81ec0b1f1de9b5bc3f3394d7ec1
abfbbe2e1dc0d8dc01b87492427c670dab70f81f 16-Feb-2010 Doug Zongker <dougz@android.com> allow EventLog tag numbers to be auto-assigned

With this change, you can specify "?" in place of a tag number in a
.logtags file and the build system will assign numbers to these tags.
(The numbers used shouldn't matter since we translate them back to tag
names whenever the logs are read back.)

This is pretty straightforward to do:

- make merge-event-log-tags.py assign numbers to any tags that specify
"?"

- make the generated java files depend on the merged output

- make java-event-log-tags.py read both the original .logtags and the
merged output, and fill in tag numbers for any "?" using the merged
version.

Change-Id: Icc6ccd705db461d570fc929922a830aa6deaca48
5ae770fc0e43172e1efc5146a38e7d1f452143e2 08-Dec-2009 Doug Zongker <dougz@android.com> add option to @hide classes generated from .logtags files

Generate a javadoc @hide comment on the class when "option
javadoc_hide true" is specified in the input .logtags file.
9bd4962af87257c6a97e9026af7e4764394412c2 30-Nov-2009 Doug Zongker <dougz@android.com> break up event-log-tags; generate java source files with constants

Construct the /system/etc/event-log-tags file by unioning together any
*.logtags files included in LOCAL_SRC_FILES throughout the system (with
appropriate error checking for dup tag numbers, etc.)

For java packages, generate a java source file from the logtags file for
that package that contains static integer constants for each tag name.