Add PYTHONPATH entry for proto internal.
Turns out my new protobuf internal entries are copied to the out dir, so we need a new entry for that. Tbr: mbonadei@webrtc.org Bug: chromium:1029452 Change-Id: I5bcae3a7ff1163e051382ae741646f206ccc7324 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/171869 Reviewed-by: Patrik Höglund <phoglund@webrtc.org> Cr-Commit-Position: refs/heads/master@{#30918}
This commit is contained in:
@ -232,6 +232,9 @@ def _ConfigurePythonPath(args):
|
||||
histogram_proto_path = os.path.join(
|
||||
os.path.abspath(args.build_dir), 'pyproto', 'tracing', 'tracing', 'proto')
|
||||
sys.path.insert(0, histogram_proto_path)
|
||||
google_protobuf_path = os.path.join(
|
||||
os.path.abspath(args.build_dir), 'pyproto')
|
||||
sys.path.insert(0, google_protobuf_path)
|
||||
|
||||
# Fail early in case the proto hasn't been built.
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user