1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-16 11:28:14 +00:00
trezor-firmware/protob
matejcik c4420e41d3 protob: add a smart pb2py builder
Now we don't need build_protobuf anymore and this is usable
by both core and python-trezor
(as well as generating custom protobufs from other sources)

We still need protoc, unfortunately, but pb2py now calls it
by itself. (little more robustly; instead of generated
python classes, it uses the FileDescriptorSet output which
is parsable by a built-in protobuf class)

To support the script, messages.proto and types.proto must
set a common package. Also there is currently no support for
compiling more than one proto file, we depend on the fact
that messages.proto import types.proto.
(if this is needed, it should be relatively simple to add,
simply pass more than one file to the embedded protoc call)
2018-07-02 18:37:56 +02:00
..
.gitignore rework storage, session, features 2013-11-26 16:11:19 +01:00
config.proto protob: Add protobuf syntax tag 2017-12-23 22:15:59 +01:00
Makefile change java package for protobuf classes 2014-04-07 18:01:11 +02:00
messages.proto types: Add wire_no_fsm (#146) 2018-06-27 15:17:19 +02:00
pb2py protob: add a smart pb2py builder 2018-07-02 18:37:56 +02:00
protocol.md add protocol description 2017-08-15 17:48:48 +02:00
storage.proto proto: add {ApplySettings,Storage}.auto_lock_delay_ms 2018-04-04 01:04:24 +02:00
types.proto types: Add wire_no_fsm (#146) 2018-06-27 15:17:19 +02:00