/build/test/script/ |
H A D | start_ex.sh | 20 root_path=$(dirname ${pre_dir_path}) 21 echo $root_path 23 CONFIG_PATH=$root_path/build/test/example/build_example.json 24 SRC_BUNDLE_PATH=$root_path/build/test/example/test_build.json 25 DEST_BUNDLE_PATH=$root_path/build/common/bundle.json 39 pytest -vs --html $root_path$option_report_path $root_path$option_script_path 46 pytest -vs --html $root_path$gn_template_report_path $root_path$gn_template_script_path 51 python3 $root_path [all...] |
/build/indep_configs/scripts/ |
H A D | gn_ninja_cmd.py | 39 parser.add_argument("-rp", "--root_path", default=r".", type=str, help="Path of root") 44 def _get_all_features_info(root_path, variants) -> list: 45 _features_info_path = os.path.join(root_path, 'out', 'preloader', variants, 'features.json') 68 def _gn_cmd(root_path, variants): 69 _features_info = _get_all_features_info(root_path, variants) 73 _cmd_list = [f'{root_path}/prebuilts/build-tools/linux-x86/bin/gn', 'gen', 78 f'{root_path}/prebuilts/build-tools/linux-x86/bin/gn', 'gen', 85 def _ninja_cmd(root_path, variants): 86 _cmd_list = [f'{root_path}/prebuilts/build-tools/linux-x86/bin/ninja', '-w', 'dupbuild=warn', '-C', 91 def _exec_cmd(root_path, variant [all...] |
H A D | variants_info_handler.py | 29 "--root_path",
47 root_path = args.root_path
49 variants_path = os.path.join(root_path, 'binarys', "variants", "variants_" + variants, "config")
50 variants_out_path = os.path.join(root_path, 'out', "preloader", variants)
|
H A D | generate_components.py | 50 "--root_path", 225 def _components_info_handler(part_name_list, source_code_path, hpm_cache_path, root_path, dependences_json, 234 utils.get_json(os.path.join(root_path, "build", "bundle.json")), 295 root_path = args.root_path 301 toolchain_json = _get_toolchain_json(root_path) 306 hpm_cache_path, root_path, dependences_json, _part_toolchain_map_dict) 310 _link_kernel_binarys(variants, hpm_cache_path, dependences_json, _get_target_cpu(root_path, variants))
|
/build/hb/util/post_gn/ |
H A D | check_compilation_parameters.py | 43 def parse_ninja_file(root_path, ninja_file): 45 whitelist, ldflags_check_list, cflags_check_list = read_check_list(root_path) 70 def read_ohos_config(root_path): 71 file_path = os.path.join(root_path, 'out', 'ohos_config.json') 78 def read_check_list(root_path): 79 file_path = os.path.join(root_path, 'build', 'hb', 'util', 'post_gn', 'check_list.json') 88 def check_compilation_parameters(root_path): 89 out_path = read_ohos_config(root_path) 92 parse_ninja_file(root_path, ninja_file)
|
/build/tools/component_tools/ |
H A D | components_dependence_analysis.py | 85 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/ohos/packages/ |
H A D | kernel_permission.py | 35 def run(out_path, root_path): 36 target_out_path = os.path.join(root_path, out_path.lstrip("//")) 38 KernelPermission.execute_kernel_permission_cmd(target_out_path, root_path) 56 def execute_kernel_permission_cmd(out_path, root_path): 63 llvm_tool = KernelPermission.regist_llvm_objcopy_path(root_path) 78 def regist_llvm_objcopy_path(root_path): 82 llvm_objcopy_path = os.path.join(root_path, "prebuilts/clang/ohos/linux-x86_64/llvm/bin/llvm-objcopy")
|
H A D | fs_process.py | 37 r'${root_path}': self.config.root_path, 245 r'${root_path}': args.root_path,
|
/build/hb/util/ |
H A D | component_util.py | 84 root_path = os.path.join(out_path, "build_configs") 87 for file in os.listdir(root_path): 90 file_path = os.path.join(root_path, file) 149 def gen_default_deps_json(variant, root_path): 151 default_deps_out_file = os.path.join(root_path, "out", "preloader", "default_deps.json") 152 default_deps_file = os.path.join(root_path, "build", "indep_configs", "variants", "common", 'default_deps.json') 156 part_white_list_path = os.path.join(root_path, "build", "indep_configs", "config", 163 preloader_path = os.path.join(root_path, "out", "preloader")
|
H A D | product_util.py | 36 _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(
|
/build/hb/util/post_build/ |
H A D | part_rom_statistics.py | 78 def collect_part_name(root_path):
80 file_path = os.path.join(root_path, "packages/phone/system_install_parts.json")
186 def read_subsystem_config(root_path):
188 part_json_path = os.path.join(root_path, 'build/subsystem_config.json')
209 def read_ohos_config(root_path):
210 file_path = os.path.join(root_path, "ohos_config.json")
220 def output_part_rom_status(root_path):
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_pat [all...] |
/build/hb/util/prebuild/ |
H A D | patch_process.py | 71 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/tools/component_tools/static_check/bundle_check/ |
H A D | bundle_check_common.py | 53 root_path = os.path.normpath(os.path.join(cur_path, '../../../../../')) 55 if BundleCheckTools.is_project(root_path): 56 return root_path
|
/build/hb/resources/ |
H A D | config.py | 133 def root_path(self): member in Config 139 @root_path.setter 140 def root_path(self, value: str): member in Config 142 self.config_update('root_path', self._root_path) 199 return self.product_path.replace(self.root_path, '/') 214 return self.device_path.replace(self.root_path, '/') 218 _build_path = os.path.join(self.root_path, 'build', 'lite') 297 _vendor_path = os.path.join(self.root_path, 'vendor') 304 _built_in_product_path = os.path.join(self.root_path, 313 _built_in_product_path_for_llvm = os.path.join(self.root_path, [all...] |
/build/build_scripts/ |
H A D | build.py | 89 root_path = find_top() 90 return build(root_path, sys.argv[1:])
|
/build/hb/services/ |
H A D | ninja.py | 52 self.config.root_path, 97 ninja_path = os.path.join(self.config.root_path, 'prebuilts/build-tools/{}-x86/bin/ninja'
|
H A D | loader.py | 63 self.source_root_dir = self.config.root_path + '/' 65 '/') else os.path.relpath(self.config.out_path, self.config.root_path) 75 self.config.root_path, 'out/preloader', self.config.product, 'subsystem_config.json') 77 self.config.root_path, 'out/preloader', self.config.product, 'platforms.build') 79 self.config.root_path, 'out/preloader', self.config.product, 'exclusion_modules.json') 81 self.config.root_path, 'build', 'subsystem_config_example.json') 90 self.config.root_path, 'out/preloader', self.config.product, 'compile_standard_whitelist.json') 152 sdk_components_file = os.path.join(config.root_path, "out/products_ext/components.json") 168 self.third_party_file = os.path.join(self.config.root_path, "out/products_ext/third_party_allow_list.json") 170 self.third_party_file = os.path.join(self.config.root_path, 'buil [all...] |
/build/hb/resolver/ |
H A D | set_args_resolver.py | 72 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',
|
H A D | build_args_resolver.py | 321 os.environ['CCACHE_BASEDIR'] = config.root_path 367 '{}/build/scripts/util/pyd.py'.format(config.root_path), 523 '{}/test/xts/acts/get_dependency.py'.format(config.root_path), 792 config.root_path), logfile 808 '{}/build/scripts/get_warnings.py'.format(config.root_path), 831 '{}/build/scripts/ninja2trace.py'.format(config.root_path), 858 config.root_path), "--build-out-dir", config.out_path, 860 "{}/build/subsystem_config.json".format(config.root_path), 864 "--root-source-dir", config.root_path 870 config.root_path), " [all...] |
H A D | env_args_resolver.py | 62 root_path = json_data.get('root_path', 'not set') 70 LogUtil.hb_info('root path: {}'.format(root_path))
|
/build/toolchain/ |
H A D | mini_debug_info.py | 36 def create_mini_debug_info(binary_path, stripped_binary_path, root_path, clang_base_dir): 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/ohos/images/mkimage/ |
H A D | mkimages.py | 122 root_path = find_top() 123 config_json = os.path.join(root_path, "out/ohos_config.json")
|
/build/hb/util/preloader/ |
H A D | preloader_process_data.py | 58 self.source_root_dir = config.root_path 67 self.device_dir = os.path.join(config.root_path, 'device') 70 config.root_path, config.subsystem_config_json) 74 config.root_path, 'build/lite/components') 77 config.root_path, 'out/preloader', config.product)
|
/build/templates/common/ |
H A D | generate_component_package.py | 31 parser.add_argument("-rp", "--root_path", default=r"./", type=str, 204 real_include_path = os.path.join(args.get("root_path"), split_include) 216 real_include_path = os.path.join(args.get("root_path"), split_include) 306 bundlejson = os.path.join(args.get("root_path"), args.get("part_path"), "bundle.json") 357 license_file = os.path.join(args.get("root_path"), args.get("part_path"), "LICENSE") 361 license_default = os.path.join(args.get("root_path"), "build", "LICENSE") 379 readme = os.path.join(args.get("root_path"), args.get("part_path"), "README.md") 380 readme_zh = os.path.join(args.get("root_path"), args.get("part_path"), "README_zh.md") 381 readme_en = os.path.join(args.get("root_path"), args.get("part_path"), "README_en.md") 634 def _get_toolchain_info(root_path) [all...] |
/build/ohos/images/ |
H A D | build_image.py | 114 root_path = find_top() 115 copy_eng_system_config = os.path.join(root_path, "build/ohos/images/mkimage/root_image.json")
|