Home
last modified time | relevance | path

Searched refs:cmd (Results 1 – 25 of 40) sorted by relevance

12

/build/scripts/
Dentry.py23 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 …]
Didl.py46 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,
Dsummary_ccache_hitrate.py31 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,
Dhapbuilder.py29 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 …]
Dtools_checker.py22 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)
Dcompile_resources.py66 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)
Dcheck_mac_system_and_cpu.py20 def run_cmd(cmd): argument
21 res = subprocess.Popen(cmd.split(), stdout=subprocess.PIPE,
Dbuild_js_assets.py112 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/
Dmisc.py69 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 …]
Dutils.py87 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/
Dpkg-config.py158 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/
Dutils.py55 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))
Dbuild.py37 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)
Dhap_pack.py28 def cmd_popen(cmd): argument
29 proc = subprocess.Popen(cmd)
34 cmd, ret_code))
Dbuild_ext_components.py30 cmd = shlex.split(command)
32 proc = subprocess.Popen(cmd,
/build/lite/hb_internal/build/
Dpatch_process.py78 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/
Dbuild.py27 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/
Dfile_utils.py98 cmd = ['gn', 'format']
99 cmd.append(output_file)
100 subprocess.check_output(cmd)
/build/ohos/ndk/
Dscan_ndk_targets.py68 cmd = ['gn', 'format', gn_file]
69 child = subprocess.Popen(cmd)
131 cmd = ['gn', 'format', options.output]
132 subprocess.check_output(cmd)
Dgenerate_ndk_docs.py86 cmd = [doxygen_path, doxygen_file.name]
87 build_utils.check_output(cmd)
/build/toolchain/
Dclang_static_analyzer_wrapper.py58 cmd = parsed_args.args + analyzer_enable_flags + interleave_args(
61 wrapper_utils.command_to_run(cmd))
Dmini_debug_info.py67 for cmd in cmd_list:
68 os.system(cmd)
/build/
Dprebuilts_download.py31 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/
Dfs_process.py182 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/
Dgen_doc.py75 cmd = [doxygen_path, doxygen_file.name]
76 check_output(cmd)

12