1 # Copyright 2019 Intel Corporation
2 # SPDX-License-Identifier: MIT
8 if __name__
== '__main__':
9 parser
= argparse
.ArgumentParser()
10 parser
.add_argument('--out', help='Output json file.', required
=True)
11 parser
.add_argument('--lib-path', help='Path to libEGL_mesa.so', required
=True)
12 args
= parser
.parse_args()
14 path
= os
.path
.join(args
.lib_path
, 'libEGL_mesa.so')
17 'file_format_version': '1.0.0',
23 with
open(args
.out
, 'w') as f
:
24 json
.dump(json_data
, f
, indent
=4, sort_keys
=True, separators
=(',', ': '))