diff options
author | Kai Koehne <kai.koehne@qt.io> | 2018-06-25 16:05:23 +0200 |
---|---|---|
committer | Kai Koehne <kai.koehne@qt.io> | 2018-06-26 11:21:52 +0000 |
commit | b11fd882e84f4675bb6b5f5e26cfcb59d31eb788 (patch) | |
tree | a216018f7f066ac871fcfd7c1409283de529102b | |
parent | bad02200c68d7e0c758dc4f1805e58d0e03fdea9 (diff) |
Do not write <protocol>.json to source directory
This fixes the build for shadow builds from read-only sources.
Task-number: QTBUG-69121
Change-Id: Ia133c886d233b335e2f9f8e870449b07f331becd
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
-rw-r--r-- | chromium/third_party/inspector_protocol/ConvertProtocolToJSON.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/chromium/third_party/inspector_protocol/ConvertProtocolToJSON.py b/chromium/third_party/inspector_protocol/ConvertProtocolToJSON.py index 56fc09d78cb..047db912326 100644 --- a/chromium/third_party/inspector_protocol/ConvertProtocolToJSON.py +++ b/chromium/third_party/inspector_protocol/ConvertProtocolToJSON.py @@ -170,9 +170,6 @@ def main(argv): input_file = open(file_name, "r") pdl_string = input_file.read() protocol = parse(pdl_string) - output_file = open(argv[0].replace('.pdl', '.json'), 'wb') - json.dump(protocol, output_file, indent=4, separators=(',', ': ')) - output_file.close() output_file = open(os.path.normpath(argv[1]), 'wb') json.dump(protocol, output_file, indent=4, separators=(',', ': ')) |