/external/perfetto/tools/ |
D | gen_bazel | 243 def gen_target(self, gn_target: GnParser.Target): 245 assert (gn_target.type == 'action') 246 if gn_target.name in external_python_deps: 248 if gn_target.custom_action_type == 'python_library': 249 return self.gen_python_library(gn_target) 250 if gn_target.custom_action_type == 'python_binary': 251 return self.gen_python_binary(gn_target) 254 def gen_target_str(self, gn_target: GnParser.Target): 256 return ''.join(str(x) for x in self.gen_target(gn_target)) 599 def gen_target(gn_target: GnParser.Target): [all …]
|
D | gen_android_bp | 488 def __init__(self, mod_type, name, gn_target): argument 489 assert (gn_target) 491 self.gn_target = gn_target 495 self.comment = 'GN: ' + gn_utils.label_without_toolchain(gn_target) 642 self.gn_target_to_module[module.gn_target] = module
|
/external/angle/build/android/gyp/ |
D | bytecode_processor.py | 68 def _GnTargetToBuildFilePath(gn_target: str): 70 assert gn_target.startswith('//'), f'Relative {gn_target} name not supported.' 71 ninja_target_name = gn_target[2:] 84 gn_target: str, 165 gn_target = gn_target.split('__', 1)[0] 168 build_file_path = _GnTargetToBuildFilePath(gn_target) 171 '--file', build_file_path, '--target', gn_target, '--deps' 205 gn_target_name = gn_target.split(':', 1)[-1] 267 gn_target=args.gn_target, 279 args.script, args.gn_target, args.input_jar, verbose, '--not-prebuilt'
|
D | write_build_config.py | 1391 'gn_target': options.gn_target,
|
/external/angle/build/android/ |
D | list_java_targets.py | 138 def __init__(self, gn_target): argument 139 assert gn_target.startswith('//'), f'{gn_target} does not start with //' 140 assert ':' in gn_target, f'Non-root {gn_target} required' 141 self.gn_target = gn_target 146 return self.gn_target[2:] 259 to_print = e.gn_target
|
/external/cronet/build/android/ |
D | list_java_targets.py | 150 def __init__(self, gn_target): argument 151 assert gn_target.startswith('//'), f'{gn_target} does not start with //' 152 assert ':' in gn_target, f'Non-root {gn_target} required' 153 self.gn_target = gn_target 158 return self.gn_target[2:] 273 to_print = e.gn_target
|
/external/openscreen/tools/ |
D | licenses.py | 262 def FindThirdPartyDeps(gn_out_dir, gn_target, target_os): argument 276 _GnBinary(), "desc", tmp_dir, gn_target, "deps", "--as=buildfile", 310 gn_target, argument 335 if gn_target: 336 third_party_dirs = FindThirdPartyDeps(gn_out_dir, gn_target, target_os) 436 def GenerateLicenseFile(output_file, gn_out_dir, gn_target, target_os): argument 444 third_party_dirs = FindThirdPartyDeps(gn_out_dir, gn_target, target_os) 494 args.gn_out_dir, args.gn_target, args.depfile): 499 args.gn_target, args.target_os)
|
/external/pigweed/pw_env_setup/py/pw_env_setup/virtualenv_setup/ |
D | install.py | 302 def install_packages(gn_target): argument 308 env_log = 'env-{}.log'.format(gn_target.name) 321 gn_log = 'gn-gen-{}.log'.format(gn_target.name) 337 cwd=os.path.join(project_root, gn_target.directory), 347 ninja_log = 'ninja-{}.log'.format(gn_target.name) 352 ninja_cmd.append(gn_target.target) 369 for gn_target in gn_targets: 370 install_packages(gn_target)
|
/external/angle/build/android/gradle/ |
D | generate_gradle.py | 137 def __init__(self, gn_target): argument 139 self._gn_target = gn_target 146 def FromGnTarget(cls, gn_target): argument 147 assert gn_target.startswith('//'), gn_target 148 if ':' not in gn_target: 149 gn_target = '%s:%s' % (gn_target, os.path.basename(gn_target)) 150 if gn_target not in cls._cached_entries: 151 cls._cached_entries[gn_target] = cls(gn_target) 152 return cls._cached_entries[gn_target] 160 gn_target = '//%s:%s' % (os.path.split(subdir)) [all …]
|
/external/cronet/build/android/gradle/ |
D | generate_gradle.py | 138 def __init__(self, gn_target): argument 140 self._gn_target = gn_target 147 def FromGnTarget(cls, gn_target): argument 148 assert gn_target.startswith('//'), gn_target 149 if ':' not in gn_target: 150 gn_target = '%s:%s' % (gn_target, os.path.basename(gn_target)) 151 if gn_target not in cls._cached_entries: 152 cls._cached_entries[gn_target] = cls(gn_target) 153 return cls._cached_entries[gn_target] 161 gn_target = '//%s:%s' % (os.path.split(subdir)) [all …]
|
/external/pigweed/pw_build/py/pw_build/ |
D | generate_python_requirements.py | 81 for i, gn_target in enumerate(gn_target_names): 83 python_package_target = gn_target.replace('._package_metadata(', '(', 1)
|
/external/cronet/build/android/gyp/ |
D | bytecode_processor.py | 65 cmd = [args.script, args.gn_target, args.input_jar, verbose, args.is_prebuilt]
|
D | write_build_config.py | 1397 'gn_target': options.gn_target,
|
/external/cronet/android/tools/gn2bp/ |
D | gen_android_bp | 324 def __init__(self, mod_type, name, gn_target): argument 326 self.gn_target = gn_target 329 self.comment = 'GN: ' + gn_target
|
/external/pigweed/pw_build/ |
D | docs.rst | 388 .. describe:: <TARGET_FILE(gn_target)> 415 .. describe:: <TARGET_FILE_IF_EXISTS(gn_target)> 438 .. describe:: <TARGET_OBJECTS(gn_target)>
|