commit | 18678bdca07a30d30676bc931bfea2b697607f8b | [log] [tgz] |
---|---|---|
author | Yi Jin <jinyithu@google.com> | Fri Apr 27 11:51:13 2018 -0700 |
committer | Yi Jin <jinyithu@google.com> | Fri Apr 27 14:16:50 2018 -0700 |
tree | dec59bac25f697ff0a388238541429dc4ae9d408 | |
parent | 50817a4c5481124eda4c74ec6ce6c7f33f3cf7d2 [diff] |
Empty output if compact fails. There must be equal number of start/end calls with right token given in order, if used in wrong order, ProtoOutputStream will have empty output. Also refactor Android.bp, so the gtest is standalone unit test, it used to require compile/push libprotoutil.so to device. Bug: 77342154 Test: atest libprotoutil_test Change-Id: I0011bbab34c04cb38164d2ed21cd818d52a2ecf9