Home
last modified time | relevance | path

Searched refs:gn_file (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/llvm/utils/gn/build/
Dsync_source_lists_from_cmake.py26 def patch_gn_file(gn_file, add, remove): argument
27 with open(gn_file) as f:
34 if tokloc == -1: raise ValueError(gn_file + ': No source list')
36 raise ValueError(gn_file + ': Multiple source lists')
38 raise ValueError(gn_file + ': Found # NOSORT, needs manual merge')
45 with open(gn_file, 'w') as f:
50 subprocess.check_call([sys.executable, gn, 'format', '-q', gn_file])
81 for gn_file in gn_files:
85 if not gn_file.startswith(strip_prefix):
88 os.path.dirname(gn_file[len(strip_prefix):]), 'CMakeLists.txt')
[all …]
/external/webrtc/
DPRESUBMIT.py327 for gn_file in gn_files:
328 contents = input_api.ReadFile(gn_file)
336 violating_gn_files.add(gn_file)
362 for gn_file in gn_files:
363 gn_file_content = input_api.ReadFile(gn_file)
375 gn_file.LocalPath())))
394 for gn_file in gn_files:
395 gn_file_content = input_api.ReadFile(gn_file)
436 errors[gn_file.LocalPath()].append((target_name, all_sources))
453 build_files = [os.path.join(cwd, gn_file.LocalPath()) for gn_file in gn_files]