/build/scripts/ |
D | entry.py | 23 def check_output(cmd, **kwargs): argument 24 process = subprocess.Popen(cmd, 42 cmd = [ 52 cmd.extend(['--target-cpu', ''.join(args.target_cpu)]) 55 cmd.extend(['--compile-config', ''.join(args.compile_config)]) 63 cmd.append('--build-only-gn') 74 cmd.append('-T') 76 cmd.append(target) 79 cmd.extend(['--gn-args', ' '.join(gn_args)]) 84 cmd.append('-v') [all …]
|
D | idl.py | 46 def idl_compile(options, paths, cmd): argument 58 cmd.extend(['-c', f, '-d', tmp_dir]) 59 build_utils.check_output(cmd, env=my_env) 68 cmd = [options.idl_path] 70 cmd.extend(['-gen-cpp']) 72 cmd.extend(['-gen-ts']) 77 lambda: idl_compile(options, paths, cmd), 82 input_strings=cmd,
|
D | summary_ccache_hitrate.py | 31 cmd = "grep -c \'{}\' {}".format(hit_dir_str, ccache_log) 33 subprocess.Popen(cmd, shell=True, 35 cmd = "grep -c \'{}\' {}".format(hit_pre_str, ccache_log) 37 subprocess.Popen(cmd, shell=True, 39 cmd = "grep -c \'{}\' {}".format(mis_str, ccache_log) 41 subprocess.Popen(cmd, shell=True,
|
D | hapbuilder.py | 29 cmd = ['java', '-jar', hapsigner, 'sign-app'] 30 cmd.extend(['-mode', 'localsign']) 31 cmd.extend(['-signAlg', sign_algo]) 32 cmd.extend(['-keyAlias', private_key_path]) 33 cmd.extend(['-inFile', unsigned_hap_path]) 34 cmd.extend(['-outFile', signed_hap_path]) 35 cmd.extend(['-profileFile', certificate_profile]) 36 cmd.extend(['-keystoreFile', keystore_path]) 37 cmd.extend(['-keystorePwd', keystorepasswd]) 38 cmd.extend(['-keyPwd', keyalias]) [all …]
|
D | tools_checker.py | 22 def run_command(cmd, verbose=None): argument 30 print("Running: {}".format(' '.join(cmd))) 31 p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT) 44 cmd = ['dpkg', '-s', pkg_name] 45 _, r = run_command(cmd)
|
D | compile_resources.py | 66 cmd = [options.restool_path] 70 cmd.extend(['-i', dest_res_dir]) 71 cmd.extend(['-j', options.hap_profile]) 78 cmd.extend( 80 build_utils.check_output(cmd)
|
D | check_mac_system_and_cpu.py | 20 def run_cmd(cmd): argument 21 res = subprocess.Popen(cmd.split(), stdout=subprocess.PIPE,
|
D | build_js_assets.py | 112 def build_ace(cmd, options, js2abc, loader_home, assets_dir, assets_name): argument 164 build_utils.check_output(cmd, cwd=loader_home, env=my_env) 226 cmd = [ 234 cmd.extend(['--env', 'buildMode={}'.format(options.build_mode), 'compilerType=ark', 237 cmd.extend(['--env', 'compilerType=ark', 240 lambda: build_ace(cmd, options, js2abc, loader_home, assets_dir, assets_name), 244 input_strings=cmd + [options.build_mode],
|
/build/lite/hb_internal/common/ |
D | misc.py | 69 cmd = ['ccache', '-M', ccache_max_size] 70 exec_command(cmd, log_path=self._log_path) 82 cmd = ['/bin/bash', '-c', ' '.join(pyd_start_cmd), '&'] 83 subprocess.Popen(cmd) 117 cmd = ['tar', '-zcvf', packaged_file_path, image_path] 118 exec_command(cmd, log_path=self._log_path) 121 cmd = [ 125 exec_command(cmd, log_path=self._log_path) 128 cmd = [ 132 exec_command(cmd, log_path=self._log_path) [all …]
|
D | utils.py | 87 def exec_command(cmd, log_path='out/build.log', **kwargs): argument 92 process = subprocess.Popen(cmd, 138 def check_output(cmd, **kwargs): argument 140 ret = subprocess.check_output(cmd, 146 if isinstance(cmd, list): 147 cmd = ' '.join(cmd)
|
/build/config/linux/ |
D | pkg-config.py | 158 cmd = [options.pkg_config, "--modversion"] + args 160 version_string = subprocess.check_output(cmd) 168 cmd = [options.pkg_config, "--variable=libdir"] + args 170 sys.stderr.write('Running: %s\n' % cmd) 172 libdir = subprocess.check_output(cmd) 180 cmd = [options.pkg_config, "--variable=dridriverdir"] + args 182 sys.stderr.write('Running: %s\n' % cmd) 184 dridriverdir = subprocess.check_output(cmd) 191 cmd = [options.pkg_config, "--cflags", "--libs"] + args 193 sys.stderr.write('Running: %s\n' % ' '.join(cmd)) [all …]
|
/build/lite/ |
D | utils.py | 55 def exec_command(cmd, log_path='out/build.log', **kwargs): argument 57 process = subprocess.Popen(cmd, 75 raise Exception("{} failed, return code is {}".format(cmd, ret_code)) 78 def check_output(cmd, **kwargs): argument 80 ret = subprocess.check_output(cmd, 86 raise Exception("{} failed, failed log is {}".format(cmd, ret))
|
D | build.py | 37 def check_output(cmd, **kwargs): argument 38 process = subprocess.Popen(cmd, 61 cmd = [python_executable, 'build/lite/hb/__main__.py', 'build'] + args_list 62 return check_output(cmd, cwd=path)
|
D | hap_pack.py | 28 def cmd_popen(cmd): argument 29 proc = subprocess.Popen(cmd) 34 cmd, ret_code))
|
D | build_ext_components.py | 30 cmd = shlex.split(command) 32 proc = subprocess.Popen(cmd,
|
/build/lite/hb_internal/build/ |
D | patch_process.py | 78 cmd = '' 88 cmd = f'patch -p1 -R < {patch_path}' 90 cmd = f'patch -p1 < {patch_path}' 92 exec_command(cmd, log_path=self.config.log_path,
|
/build/lite/ndk/build/ |
D | build.py | 27 def exec_command(cmd, log_path='out/build.log', **kwargs): argument 28 process = subprocess.Popen(cmd) 33 raise Exception("{} failed, return code is {}".format(cmd, ret_code))
|
/build/scripts/util/ |
D | file_utils.py | 98 cmd = ['gn', 'format'] 99 cmd.append(output_file) 100 subprocess.check_output(cmd)
|
/build/ohos/ndk/ |
D | scan_ndk_targets.py | 68 cmd = ['gn', 'format', gn_file] 69 child = subprocess.Popen(cmd) 131 cmd = ['gn', 'format', options.output] 132 subprocess.check_output(cmd)
|
D | generate_ndk_docs.py | 86 cmd = [doxygen_path, doxygen_file.name] 87 build_utils.check_output(cmd)
|
/build/toolchain/ |
D | clang_static_analyzer_wrapper.py | 58 cmd = parsed_args.args + analyzer_enable_flags + interleave_args( 61 wrapper_utils.command_to_run(cmd))
|
D | mini_debug_info.py | 67 for cmd in cmd_list: 68 os.system(cmd)
|
/build/ |
D | prebuilts_download.py | 31 def _run_cmd(cmd): argument 32 res = subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE, 66 cmd = 'unzip -o {} -d {};echo 0 > {}'.format(src_file, dest_dir, mark_file_path) 68 cmd = 'tar -xvzf {} -C {};echo 0 > {}'.format(src_file, dest_dir, mark_file_path) 70 cmd = 'tar -xvf {} -C {};echo 0 > {}'.format(src_file, dest_dir, mark_file_path) 71 _run_cmd(cmd) 184 cmd = 'cd {};{}{} cache clean -f;{} install --registry {} {}'.format( 186 proc = subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE) 222 cmd = 'mv {}/*.mark {}'.format(dest_dir, tmp_dir) 223 _run_cmd(cmd)
|
/build/ohos/packages/ |
D | fs_process.py | 182 for cmd in fs_make_cmd: 183 cmd, _ = self.replace(cmd) 184 cmd = cmd.split(' ') 185 utils.exec_command(cmd, log_path=log_path)
|
/build/lite/ndk/doc/ |
D | gen_doc.py | 75 cmd = [doxygen_path, doxygen_file.name] 76 check_output(cmd)
|