Home
last modified time | relevance | path

Searched refs:source (Results 1 – 25 of 92) sorted by relevance

1234

/build/ohos/packages/
Dbackup_restore_artifact.py33 for source in args.source_dir:
34 print(source)
35 if os.path.exists(source):
39 args.output_dir, os.path.basename(source))
42 str_out_basename, os.path.basename(source))
45 str_out_basename, os.path.basename(source))
46 asan_symbols_backup_path = source.replace(os.path.basename(
47 source), os.path.join(os.path.basename(source), "asan"))
51 print("Move:{},To:{}".format(source, output_path))
52 shutil.move(source, output_path)
Dmodules_install.py91 for source, system_path in additional_system_files:
92 shutil.copy(source, os.path.join(platform_installed_path, system_path))
102 source = module_info.get('source')
105 if not os.path.exists(source):
106 raise Exception("source '{}' doesn't exist.".format(source))
107 depfiles.append(source)
113 if os.path.isfile(source):
116 elif os.path.isdir(source):
120 if os.path.isdir(source):
122 for filename in os.listdir(source):
[all …]
/build/ohos/sdk/
Dcopy_sdk_modules.py33 source = data.get('source')
35 return source, notice
41 source = cp_info.get('source')
45 if os.path.isdir(source):
46 if os.listdir(source):
47 files = build_utils.get_all_files(source)
49 shutil.copytree(source, dest, dirs_exist_ok=True)
50 depfile_deps.update(build_utils.get_all_files(source))
53 depfile_deps.add(source)
57 shutil.copy2(source, dest)
[all …]
Dconvert_permissions.py28 source = os.path.join(source_root, INTERFACE_PATH)
31 shutil.copytree(source, dest)
35 source = os.path.join(source_root, API_PATH)
38 shutil.copytree(source, dest)
58 source = os.path.join(source_root, API_GEN_PATH, "permissions.d.ts")
62 shutil.copyfile(source, dest)
Dparse_public_sdk.py37 source = os.path.join(source_root, INTERFACE_PATH)
41 shutil.copytree(source, dest)
48 source = os.path.join(source_root, API_GEN_PATH)
49 shutil.copytree(source, dest)
/build/templates/cxx/
Dprebuilt.gni17 assert(defined(invoker.source), "source must be defined for ${target_name}.")
22 _copy_output = "${target_out_dir}/${invoker.source}"
52 source_path = rebase_path(invoker.source, root_build_dir)
76 # Open source license related
80 sources = [ invoker.source ]
96 assert(defined(invoker.source), "source must be defined for ${target_name}.")
101 _copy_output = "${target_out_dir}/${invoker.source}"
169 source_path = rebase_path(invoker.source, root_build_dir)
193 # Open source license related
197 sources = [ invoker.source ]
[all …]
/build/common/musl/
DBUILD.gn38 source = _musl_linker_so
51 source = "${musl_sysroot}/usr/lib/${musl_target_triple}/libc.so"
62 source = "ld-musl-arm.path"
64 source = "ld-musl-aarch64.path"
67 output = string_replace(source, ".path", "-asan.path")
80 source = "${clang_base_path}/lib/arm-linux-ohos/libc++.so"
82 source = "${clang_base_path}/lib/aarch64-linux-ohos/libc++.so"
84 source = "${clang_base_path}/lib/x86_64-linux-ohos/libc++.so"
86 source = ""
/build/common/asan/
DBUILD.gn19 source = "${clang_base_path}/lib/clang/$clang_version/lib/arm-linux-ohos/libclang_rt.asan.so"
21source = "${clang_base_path}/lib/clang/$clang_version/lib/aarch64-linux-ohos/libclang_rt.asan.so"
23 source = "${clang_base_path}/lib/clang/$clang_version/lib/x86_64-linux-ohos/libclang_rt.asan.so"
25 source = ""
36 source = "asan.options"
41 source = "asan.cfg"
/build/rust/
DBUILD.gn25source = "//prebuilts/rustc/linux-x86_64/current/lib/rustlib/aarch64-linux-ohos/lib/libstd.dylib.s…
27source = "//prebuilts/rustc/linux-x86_64/current/lib/rustlib/armv7-linux-ohos/lib/libstd.dylib.so"
29 source =
43source = "//prebuilts/rustc/linux-x86_64/current/lib/rustlib/aarch64-linux-ohos/lib/libtest.dylib.…
45source = "//prebuilts/rustc/linux-x86_64/current/lib/rustlib/armv7-linux-ohos/lib/libtest.dylib.so"
47 source =
50 source = ""
/build/lite/ndk/
Darchive_ndk.py26 def make_archive(source, destination): argument
31 archive_from = os.path.dirname(source)
32 archive_to = os.path.basename(source.strip(os.sep))
33 print('Zipping: ', source, destination, archive_from, archive_to)
/build/common/ubsan/
DBUILD.gn26 source = "ubsan.cfg"
33 source =
44 source = "${clang_lib_base_path}/${abi_target}/libclang_rt.ubsan_minimal.so"
/build/lite/toolchain/
Dgcc.gni39 … command = "$cc {{defines}} {{include_dirs}} {{cflags}} {{cflags_c}} -c {{source}} -o {{output}}"
47 command = "$cxx {{defines}} {{include_dirs}} {{cflags_cc}} -c {{source}} -o {{output}}"
55 command = "$cc {{defines}} {{include_dirs}} {{asmflags}} {{source}} -c -o {{output}}"
129 …command = "python $ohos_root_path/build/lite/copy_files.py --src_type=file --src={{source}} --dest…
131 command = "cp -afd {{source}} {{output}}"
133 description = "COPY {{source}} {{output}}"
Dclang.gni33 … command = "$cc {{defines}} {{include_dirs}} {{cflags}} {{cflags_c}} -c {{source}} -o {{output}}"
40 command = "$cxx {{defines}} {{include_dirs}} {{cflags_cc}} -c {{source}} -o {{output}}"
47 command = "$cc {{include_dirs}} {{asmflags}} -c {{source}} -o {{output}}"
122 command = "cp -afd {{source}} {{output}}"
123 description = "COPY {{source}} {{output}}"
Diccarm.gni42 … command = "$cc {{defines}} {{include_dirs}} {{cflags}} {{cflags_c}} -c {{source}} -o {{output}}"
55 command = "$cxx {{defines}} {{include_dirs}} {{cflags_cc}} -c {{source}} -o {{output}}"
68 command = "$as {{defines}} {{include_dirs}} {{asmflags}} {{source}} -o {{output}}"
149 …command = "python $ohos_root_path/build/lite/copy_files.py --src_type=file --src={{source}} --dest…
151 command = "cp -afd {{source}} {{output}}"
153 description = "COPY {{source}} {{output}}"
/build/ohos/testfwk/
Dfuzz_config_file_copy.py26 def copytree(source, destination): argument
27 shutil.copytree(source, destination, dirs_exist_ok=True)
/build/lite/ndk/build/toolchain/
Dclang.gni42 … command = "$cc {{defines}} {{include_dirs}} {{cflags}} {{cflags_c}} -c {{source}} -o {{output}}"
49 command = "$cxx {{defines}} {{include_dirs}} {{cflags_cc}} -c {{source}} -o {{output}}"
56 command = "$as {{include_dirs}} {{asmflags}} -c {{source}} -o {{output}}"
111 command = "cp -afd {{source}} {{output}}"
112 description = "COPY {{source}} {{output}}"
Dgcc.gni47 … command = "$cc {{defines}} {{include_dirs}} {{cflags}} {{cflags_c}} -c {{source}} -o {{output}}"
54 command = "$cxx {{defines}} {{include_dirs}} {{cflags_cc}} -c {{source}} -o {{output}}"
62 command = "$cc {{defines}} {{include_dirs}} {{asmflags}} {{source}} -c -o {{output}}"
121 command = "cp -afd {{source}} {{output}}"
122 description = "COPY {{source}} {{output}}"
/build/scripts/
Dgen_sdk_build_file.py108 source = source_data.get('source')
110 source = source_data.get('alternative_source')
119 elif not source.endswith(suffix):
130 shutil.copy(source, module_sdk_out_dir)
157 lib_file = os.path.join(module_name, os.path.basename(source))
/build/config/ohos/
Dcopy_ex.gni2 # Use of this source code is governed by a BSD-style license that can be
13 # sources: List of source files or directories to copy to dest.
14 # renaming_sources: Optional list of source file paths that will be renamed
/build/toolchain/
Dtoolchain.gni2 # Use of this source code is governed by a BSD-style license that can be
98 copy_description = "COPY {{source}} {{output}}"
104 "$python_path $_tool_wrapper_path recursive-mirror {{source}} {{output}}"
107 …copy_command = "ln -f {{source}} {{output}} 2>/dev/null || (rm -rf {{output}} && cp -af {{source}}…
/build/ohos/update/
Dcheck_abi_and_copy_deps.py105 source = get_value_from_file("module_info", element, "source")
106 check_file = os.path.join(stripped_dir, source)
130 source = get_value_from_file("deps_data", element, "output_path")
132 source = get_value_from_file("module_info", element, "source")
133 return (element, source)
/build/templates/idl/
Dohos_idl.gni20 # one idl source file.
69 "@FileArg($_rebased_idl_module_info:source)",
71 "@FileArg($_rebased_libcxx_module_info:source)",
/build/lite/testfwk/
Dgen_module_list_files.py76 for source in list_sources:
78 os.path.dirname(options.source_dir), source)
/build/rust/tests/
DBUILD.gn79source = "//prebuilts/rustc/linux-x86_64/current/lib/rustlib/aarch64-linux-ohos/lib/libstd.dylib.s…
82source = "//prebuilts/rustc/linux-x86_64/current/lib/rustlib/armv7-linux-ohos/lib/libstd.dylib.so"
85 source =
/build/config/
Ddeps_revisions.gni2 # Use of this source code is governed by a BSD-style license that can be

1234