/build/templates/metadata/ |
H A D | write_meta_data.py | 40 deps_metadta_cache[dep] = json.load(dep_fp).get('root') 68 'root': { 74 root = meta_data['root'] 76 root[options.type] = options.app_profile 77 root['resources'] = options.resources 79 root[options.type] = options.js_assets 81 root['js_forms'] = options.js_forms 83 root['testrunner'] = options.testrunner 85 root[option [all...] |
/build/misc/linux/ |
H A D | sysroot_ld_path.sh | 21 local root="$1" 28 local entry="$root$localpath" 36 local root="$1" 50 if ls $root$included_files >/dev/null 2>&1 ; then 51 for inc_file in $root$included_files; do 52 process_ld_so_conf "$root" "$inc_file" 58 process_ld_so_conf "$root" "$inc_file" 67 process_entry "$root" "$ENTRY"
|
/build/scripts/util/ |
H A D | pyd.py | 76 root = os.path.realpath(pycache_dir) 77 self.pycache_dir = root 78 self.pycache_config_file = os.path.join(root, '.config') 79 os.makedirs(root, exist_ok=True) 82 'root': root, 99 for root, _, files in os.walk(self.pycache_dir): 101 path = os.path.join(root, file) 131 def start_server(host, port, root): 132 if root i [all...] |
/build/ |
H A D | print_python_deps.py | 51 root = os.path.relpath(options.root, _SRC_ROOT) 52 if root != '.': 53 args.extend(('--root', root)) 66 for root, _dirnames, filenames in os.walk(directory): 69 yield os.path.join(root, filename) 76 parser.add_argument('--root', 86 'root to the module\'s directory.') 112 options.root [all...] |
/build/lite/testfwk/ |
H A D | lite_testcase_resource_copy.py | 34 for root, _, files in os.walk(src): 36 file_path = os.path.join(root, _file) 50 def _resources_with_xml_v1(root, testcase_target_name: str, test_resource_path: str, 53 for target in root: 101 def _resources_with_xml_v2(root, testcase_target_name: str, test_resource_path: str, 104 for target in root: 146 root = tree.getroot() 147 if root.attrib.get('ver') == '2.0': 148 _resources_list = _resources_with_xml_v2(root, testcase_target_name, 153 _resources_list = _resources_with_xml_v1(root, testcase_target_nam [all...] |
/build/scripts/ |
H A D | find.py | 47 for root, _, files in os.walk(d, followlinks=options.follow_symlinks): 52 os.path.relpath(os.path.join(root, f), 58 print(os.path.join(root, f))
|
H A D | gen_summary_ebpf_testcase_config.py | 37 for root, dirs, files in os.walk(testcase_dir): 40 subsystem_list.append(os.path.join(root, name))
|
H A D | get_all_files.py | 41 for root, _, files in os.walk(_dir): 43 file_list.append(os.path.realpath(os.path.join(root, _file)))
|
/build/tools/component_tools/static_check/bundle_check/ |
H A D | bundle_check_common.py | 59 'get root path failed, please check script "bundle_check_common.py" under ' 77 def get_ohos_version(root:str) -> str: 78 if not BundleCheckTools.is_project(root): 81 version_path = os.path.join(root, 'build/version.gni')
|
/build/ohos/sa_profile/ |
H A D | sa_profile_merge.py | 54 root = tree.getroot() 55 process_nodes = root.findall('process') 68 for root, _, files in os.walk(tmp): 70 json_sa_input_files.append(os.path.join(root, sa_file))
|
/build/tools/component_tools/static_check/ |
H A D | csct.py | 44 root = os.path.join(self.csct_path, "../../../..") 45 self.ohos_root = os.path.normpath(root) 51 root = tree.getroot() 52 for node in root.iter():
|
/build/hb/util/ |
H A D | component_util.py | 51 for root, dirs, files in os.walk(build_configs_path, topdown=True, followlinks=False): 131 for root, dirnames, filenames in os.walk(path): 132 if root == os.path.join(path, "out") or root == os.path.join(path, ".repo"): 136 bundle_json = os.path.join(root, filename)
|
/build/ohos/testfwk/ |
H A D | testcase_resource_copy.py | 36 for root, _, files in os.walk(src): 38 file_path = os.path.join(root, _file) 54 def _resources_with_xml_v1(root, testcase_target_name: str, test_resource_path: str, 57 for target in root: 105 def _resources_with_xml_v2(root, testcase_target_name: str, test_resource_path: str, 108 for target in root: 150 root = tree.getroot() 151 if root.attrib.get('ver') == '2.0': 152 _resources_list = _resources_with_xml_v2(root, testcase_target_name, 157 _resources_list = _resources_with_xml_v1(root, testcase_target_nam [all...] |
H A D | test_js_file_copy.py | 43 for root, dirs, files in os.walk(suite_path): 47 file_list.append(os.path.join(root, item))
|
/build/hb/util/loader/ |
H A D | subsystem_scan.py | 55 for root, dirs, files in os.walk(subsystem_path): 58 _files.append(os.path.join(root, name)) 60 _bundle_files.append(os.path.join(root, name)) 117 parser.add_argument('--source-root-dir', required=True)
|
/build/ohos/packages/ |
H A D | system_gzip_package.py | 33 for root, dirs, files in os.walk(src_image_path): 35 src_dir = os.path.join(root, dir_name) 42 src_file_path = os.path.join(root, file_name)
|
H A D | system_z_package.py | 44 for root, _, files in os.walk(output_dir): 46 files_list.append(os.path.join(root, _file))
|
/build/build_scripts/ |
H A D | build.py | 26 for root, _, files in os.walk(findir): 28 return root
|
/build/hb/util/preloader/ |
H A D | parse_lite_subsystems_config.py | 61 for root, _, files in os.walk(lite_components_dir): 65 root, file))
|
/build/ohos/sdk/ |
H A D | add_notice_file.py | 39 for root, _, files in os.walk(options.sdk_archive_dir): 41 [os.path.join(root, f) for f in files if f.endswith('.zip')])
|
/build/indep_configs/scripts/ |
H A D | generate_target_build_gn.py | 34 help="Path of root", 83 for root, dirs, files in os.walk(source_code_path): 86 bundle_paths.update({os.path.join(root, file): root})
|
/build/ohos/statistics/ |
H A D | build_overlap_statistics.py | 76 for root, _, files in os.walk(options.build_out_dir): 79 splits = os.path.join(root, file).split('/obj/') 88 sources_file = get_sources_file(os.path.join(root, file)) 145 parser.add_argument('--root-source-dir', help='source root directory.')
|
/build/hb/util/post_gn/ |
H A D | check_compilation_parameters.py | 63 for root, dirs, files in os.walk(obj_path): 66 ninja_file_list.append(os.path.join(root, file_name))
|
/build/ohos/images/mkimage/ |
H A D | judge_updater_image.py | 64 for root, dirs, files in os.walk(path): 66 lib_to_path[file] = os.path.join(root, file)
|
/build/ohos/ndk/ |
H A D | generate_ndk_docs.py | 96 for root, _, filenames in os.walk(options.working_dir): 98 depfile_deps += ([os.path.join(root, f)])
|