Lines Matching +full:dir +full:- +full:glob
9 # https://www.apache.org/licenses/LICENSE-2.0
23 import glob
31 """Like regular glob but replaces \ with / in returned paths."""
32 return [s.replace('\\', '/') for s in glob.glob(dirname)]
37 parser.add_argument('--icd', action='store_true')
59 # Copy the *.json files from source dir to target dir
61 print(glob.glob(os.path.join(source_dir, '*.json')))
62 print('.json list in gn file is out-of-date', file=sys.stderr)
91 vk_version = line.split()[-1]
101 relative_path_prefix = r'..\\' # json-escaped, hence two backslashes.
104 # For each *.json.in template files in source dir generate actual json file
105 # in target dir
108 print('.json.in list in gn file is out-of-date', file=sys.stderr)
114 layer_name = json_in_fname[:-len('.json.in')]
116 json_out_fname = os.path.join(target_dir, json_in_fname[:-len('.in')])