1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-02-01 18:30:56 +00:00

build: update protobuf build process and update vendored definitions

This commit is contained in:
matejcik 2018-07-09 13:44:29 +02:00
parent 2f3a32f8e8
commit 9dc86f3955
2 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,5 @@
#!/usr/bin/env python3
import glob
import os.path
import re
import shutil
@ -65,7 +66,7 @@ class PrebuildCommand(Command):
# regenerate messages
try:
proto_srcs = [os.path.join(TREZOR_COMMON, "protob", name + ".proto") for name in ("messages", "types")]
proto_srcs = glob.glob(os.path.join(TREZOR_COMMON, "protob", "*.proto"))
subprocess.check_call([
os.path.join(TREZOR_COMMON, "protob", "pb2py"),
"-o", os.path.join(CWD, "trezorlib", "messages"),

@ -1 +1 @@
Subproject commit 6575418de93d2ca5fd67dd306f19ee736ebfd7b7
Subproject commit 2301f7034c1b7a3d1b0be5d4447d432593649a1e