Electroneum
Variables
build_protob Namespace Reference

Variables

 parser = argparse.ArgumentParser()
 
 default
 
 False
 
 action
 
 const
 
 True
 
 help
 
 args = parser.parse_args()
 
 CWD = os.path.dirname(os.path.realpath(__file__))
 
 ROOT_DIR = os.path.abspath(os.path.join(CWD, "..", "..", "..", ".."))
 
 TREZOR_COMMON = os.path.join(ROOT_DIR, "external", "trezor-common")
 
 TREZOR_MESSAGES = os.path.join(CWD, "..", "messages")
 
 common_defs = os.path.join(TREZOR_COMMON, "defs")
 
list selected
 
list proto_srcs = [os.path.join(TREZOR_COMMON, "protob", x) for x in selected]
 
list exec_args
 

Variable Documentation

◆ action

build_protob.action

◆ args

build_protob.args = parser.parse_args()

◆ common_defs

build_protob.common_defs = os.path.join(TREZOR_COMMON, "defs")

◆ const

build_protob.const

◆ CWD

build_protob.CWD = os.path.dirname(os.path.realpath(__file__))

◆ default

build_protob.default

◆ exec_args

list build_protob.exec_args
Initial value:
1 = [
2  sys.executable,
3  os.path.join(CWD, "pb2cpp.py"),
4  "-o",
5  TREZOR_MESSAGES,
6  ] + proto_srcs

◆ False

build_protob.False

◆ help

build_protob.help

◆ parser

build_protob.parser = argparse.ArgumentParser()

◆ proto_srcs

list build_protob.proto_srcs = [os.path.join(TREZOR_COMMON, "protob", x) for x in selected]

◆ ROOT_DIR

build_protob.ROOT_DIR = os.path.abspath(os.path.join(CWD, "..", "..", "..", ".."))

◆ selected

list build_protob.selected
Initial value:
1 = [
2  "messages.proto",
3  "messages-common.proto",
4  "messages-management.proto",
5  "messages-electroneum.proto",
6  ]

◆ TREZOR_COMMON

build_protob.TREZOR_COMMON = os.path.join(ROOT_DIR, "external", "trezor-common")

◆ TREZOR_MESSAGES

build_protob.TREZOR_MESSAGES = os.path.join(CWD, "..", "messages")

◆ True

build_protob.True