diff options
author | Patrik Höglund <phoglund@webrtc.org> | 2020-03-27 10:51:00 +0100 |
---|---|---|
committer | Patrik Höglund <phoglund@webrtc.org> | 2020-03-27 09:53:01 +0000 |
commit | a782299e9129694bc6883bb1637d7caca6532471 (patch) | |
tree | 1e50fff9aef6f353def928b8168a60717a6248d8 /audio | |
parent | e4ae1ced9d561dc31b563a1388327b33adc17ed0 (diff) | |
download | webrtc-a782299e9129694bc6883bb1637d7caca6532471.tar.gz |
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}
Diffstat (limited to 'audio')
-rwxr-xr-x | audio/test/low_bandwidth_audio_test.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/audio/test/low_bandwidth_audio_test.py b/audio/test/low_bandwidth_audio_test.py index 4e219691e2..3973a61965 100755 --- a/audio/test/low_bandwidth_audio_test.py +++ b/audio/test/low_bandwidth_audio_test.py @@ -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: |