Home
last modified time | relevance | path

Searched refs:root_path (Results 1 – 25 of 29) sorted by relevance

12

/build/test/script/
Dstart_ex.sh18 root_path=$(dirname ${pre_dir_path})
19 echo $root_path
21 CONFIG_PATH=$root_path/build/test/example/build_example.json
22 SRC_BUNDLE_PATH=$root_path/build/test/example/test_build.json
23 DEST_BUNDLE_PATH=$root_path/build/common/bundle.json
37 pytest -vs --html $root_path$option_report_path $root_path$option_script_path
44 pytest -vs --html $root_path$gn_template_report_path $root_path$gn_template_script_path
49 python3 $root_path$performance_script_path
68 rm -rf $root_path/out
70 mkdir -p $root_path$product_path
/build/hb/util/post_gn/
Dcheck_compilation_parameters.py43 def parse_ninja_file(root_path, ninja_file): argument
45 whitelist, ldflags_check_list, cflags_check_list = read_check_list(root_path)
70 def read_ohos_config(root_path): argument
71 file_path = os.path.join(root_path, 'out', 'ohos_config.json')
78 def read_check_list(root_path): argument
79 file_path = os.path.join(root_path, 'build', 'hb', 'util', 'post_gn', 'check_list.json')
88 def check_compilation_parameters(root_path): argument
89 out_path = read_ohos_config(root_path)
92 parse_ninja_file(root_path, ninja_file)
/build/tools/component_tools/
Dcomponents_dependence_analysis.py85 def _colletct_build_gn_path(root_path: str):
86 for file in os.listdir(root_path):
87 file_path = os.path.join(root_path, file)
94 def collect_build_gn_path(root_path: str):
95 for file in os.listdir(root_path):
96 file_path = os.path.join(root_path, file)
107 collect_build_gn_path(args.root_path)
/build/hb/util/
Dkernel_permission.py32 def run(out_path, root_path): argument
34 KernelPermission.execute_kernel_permission_cmd(log_path, out_path, root_path)
52 def execute_kernel_permission_cmd(log_path, out_path, root_path): argument
62 llvm_tool = KernelPermission.regist_llvm_objcopy_path(root_path)
91 def regist_llvm_objcopy_path(root_path): argument
95 …llvm_objcopy_path = os.path.join(root_path, "prebuilts/clang/ohos/linux-x86_64/llvm/bin/llvm-objco…
Dproduct_util.py36 _ext_scan_path = os.path.join(config.root_path,
53 config.root_path, info.get('product_path'))
166 os.path.join(config.root_path, _board_path)):
167 board_path = os.path.join(config.root_path, _board_path)
169 board_path = os.path.join(config.root_path, 'device',
174 board_path = os.path.join(config.root_path, 'device',
178 board_config_path = os.path.join(config.root_path,
203 files = [os.path.join(config.root_path, file) for file in IoUtil.read_json_file(
231 files = [os.path.join(config.root_path, file) for file in IoUtil.read_json_file(
Dcomponent_util.py72 root_path = os.path.join(out_path, "build_configs")
75 for file in os.listdir(root_path):
78 file_path = os.path.join(root_path, file)
/build/hb/util/post_build/
Dpart_rom_statistics.py78 def collect_part_name(root_path): argument
80 file_path = os.path.join(root_path, "packages/phone/system_install_parts.json")
186 def read_subsystem_config(root_path): argument
188 part_json_path = os.path.join(root_path, 'build/subsystem_config.json')
209 def read_ohos_config(root_path): argument
210 file_path = os.path.join(root_path, "ohos_config.json")
220 def output_part_rom_status(root_path): argument
221 ohos_config = read_ohos_config(root_path)
227 part_paths = read_subsystem_config(root_path)
229 part_root_path = os.path.join(root_path, part_path)
/build/indep_configs/scripts/
Dvariants_info_handler.py75 root_path = args.root_path
77 variants_path = os.path.join(root_path, 'build', 'indep_configs', "variants", variants)
78 variants_out_path = os.path.join(root_path, 'out', "preloader", variants)
Dgenerate_components.py177 def _components_info_handler(part_name_list, source_code_path, hpm_cache_path, root_path, dependenc… argument
185 … utils.get_json(os.path.join(root_path, "build", "bundle.json")),
222 root_path = args.root_path
230 hpm_cache_path, root_path, dependences_json)
Dgenerate_target_build_gn.py115 output_path = os.path.join(args.root_path, 'out')
/build/tools/component_tools/static_check/bundle_check/
Dbundle_check_common.py53 root_path = os.path.normpath(os.path.join(cur_path, '../../../../../'))
55 if BundleCheckTools.is_project(root_path):
56 return root_path
/build/hb/resources/
Dconfig.py71 self.root_path = CURRENT_OHOS_ROOT
163 def root_path(self): member in Config
169 @root_path.setter
170 def root_path(self, value: str): member in Config
229 return self.product_path.replace(self.root_path, '/')
244 return self.device_path.replace(self.root_path, '/')
248 _build_path = os.path.join(self.root_path, 'build', 'lite')
327 _vendor_path = os.path.join(self.root_path, 'vendor')
334 _built_in_product_path = os.path.join(self.root_path,
343 _built_in_product_path_for_llvm = os.path.join(self.root_path,
[all …]
/build/hb/util/prebuild/
Dpatch_process.py71 src_path = os.path.join(self.config.root_path, src_path)
77 patch_path = os.path.join(self.config.root_path, patch_item)
79 patch_path = os.path.join(self.config.root_path,
/build/hb/services/
Dninja.py54 self.config.root_path,
80 KernelPermission.run(self.config.out_path, self.config.root_path)
102 ninja_path = os.path.join(self.config.root_path, 'prebuilts/build-tools/{}-x86/bin/ninja'
Dloader.py60 self.source_root_dir = self.config.root_path + '/'
62 '/') else os.path.relpath(self.config.out_path, self.config.root_path)
72 self.config.root_path, 'out/preloader', self.config.product, 'subsystem_config.json')
74 self.config.root_path, 'out/preloader', self.config.product, 'platforms.build')
76 self.config.root_path, 'out/preloader', self.config.product, 'exclusion_modules.json')
78 self.config.root_path, 'build', 'subsystem_config_example.json')
81 … self.config.root_path, 'out/preloader', self.config.product, 'compile_standard_whitelist.json')
/build/test/
DREADME.md5 测试框架所在路径为root_path/build/test目录下(root_path为项目根路径)
/build/hb/resolver/
Dset_args_resolver.py72 config.out_path = os.path.join(config.root_path,
76 config.out_path = os.path.join(config.root_path, 'out',
79 config.out_path = os.path.join(config.root_path, 'out',
Dbuild_args_resolver.py315 os.environ['CCACHE_BASEDIR'] = config.root_path
361 '{}/build/scripts/util/pyd.py'.format(config.root_path),
773 config.root_path), '{}/{}'.format(ccache_base, logfile)
788 '{}/build/scripts/get_warnings.py'.format(config.root_path),
810 '{}/build/scripts/ninja2trace.py'.format(config.root_path),
837 config.root_path), "--build-out-dir", config.out_path,
839 "{}/build/subsystem_config.json".format(config.root_path),
843 "--root-source-dir", config.root_path
849 config.root_path), "--build-out-dir", config.out_path,
851 "{}/build/subsystem_config.json".format(config.root_path),
[all …]
Denv_args_resolver.py62 root_path = json_data.get('root_path', 'not set')
70 LogUtil.hb_info('root path: {}'.format(root_path))
/build/build_scripts/
Dbuild.py89 root_path = find_top()
90 return build(root_path, sys.argv[1:])
/build/toolchain/
Dmini_debug_info.py36 def create_mini_debug_info(binary_path, stripped_binary_path, root_path, clang_base_dir): argument
50 llvm_dir_path = os.path.join(root_path, 'out/llvm-install/bin')
138 args.stripped_path, args.root_path, args.clang_base_dir)
/build/hb/util/preloader/
Dpreloader_process_data.py57 self.source_root_dir = config.root_path
66 self.device_dir = os.path.join(config.root_path, 'device')
69 config.root_path, config.subsystem_config_json)
73 config.root_path, 'build/lite/components')
76 config.root_path, 'out/preloader', config.product)
/build/ohos/images/mkimage/
Dmkimages.py122 root_path = find_top()
123 config_json = os.path.join(root_path, "out/ohos_config.json")
/build/templates/common/
Dgenerate_component_package.py543 def _make_hpm_packages_dir(root_path): argument
544 _out_path = os.path.join(root_path, 'out')
589 def generate_component_package(out_path, root_path, components_list=None, build_type=0, organizatio… argument
622 hpm_packages_path = _make_hpm_packages_dir(root_path)
630 "out_path": out_path, "root_path": root_path, "part_path": part_path,
648 py_args.root_path,
/build/ohos/images/
Dbuild_image.py106 root_path = find_top()
107 copy_eng_system_config = os.path.join(root_path, "build/ohos/images/mkimage/root_image.json")

12