Home
last modified time | relevance | path

Searched refs:deps (Results 1 – 25 of 111) sorted by relevance

12345

/build/tools/check_deps/
DREADME.md3 ## 错误使用的deps检查
9 …LD.gn中说明模块依赖的时候,需要区分部件内依赖和部件间依赖,部件内依赖在deps里,部件间依赖在external_deps里,但是有的模块的deps存在误用,deps里有部件间依赖,使用这个工…
23 …file out/ohos-arm-release/build_configs/parts_info/parts_path_info.json --deps-path out/ohos-arm-r…
29 …--deps-path # 必选 模块依赖数据文件目录,gn执行完成后输出在out/ohos-arm-release/deps_files目录下,如果不在源码目录执行,需要配…
35 脚本运行后会在 `--deps-path` 指定的deps_files的同级目录下,创建module_deps_info文件夹输出结果数据。
38 module_deps_info/wrong_used_deps.json # 生成错误使用的deps文件
/build/ohos/images/
DBUILD.gn21 deps = []
23 deps = [
28 deps += [
38 deps += [ ":${_platform}_ramdisk_image" ]
41 deps += [ ":chip_prod_image" ]
43 deps += [ ":mk_chip_ckm_img" ]
46 deps += [ "//build/ohos/packages:packer" ]
51 deps = []
53 deps += [
59 deps += [ ":${_platform}_eng_system_image" ]
[all …]
/build/core/gn/
DBUILD.gn25 deps = [
33 deps = [ "//build_plugins/sdk:arkui_cross_sdk" ]
37 deps = [
45 deps += [ ":images" ]
51 deps = [ "//build/ohos/images:make_images" ]
56 deps = [ "//build/ohos/packages:make_packages" ]
60 deps = [ "$root_build_dir/build_configs:inner_kits" ]
66 deps = [
75 deps = [
81 deps += [ "//build/ohos/testfwk:archive_testcase" ]
/build/tools/module_dependence/
DREADME.md15 …e/test/mock/services_abilitymgr_test/libs/aakit:aakit_mock为例,生成的依赖文件如下,包含了deps和external_deps以及该模块所…
19 "deps": [
56 deps = [
86 build/tools/module_dependence/part_deps.py --deps-files-path out/{product_name}/deps_files
94 …--deps-files-path # 必选 模块依赖数据文件目录,gn执行完成后输出在out/{product_name}/deps_files目录下,如果不在源码目录执行,需要配置到正确的…
112 脚本运行后会在 `--deps-files-path` 指定的deps_files的同级目录下,创建parts_deps_info文件夹输出结果数据。
118 parts_deps_info/part-deps-grahp.html # 生成的部件依赖图,只有指定--graph参数时才生成
151 build/tools/module_dependence/module_deps.py --deps-files-path out/{product_name}/deps_files
159 …--deps-files-path # 必选 模块依赖数据文件目录,gn执行完成后输出在out/{product_name}/deps_files目录下,如果不在源码目录执行,需要配置到正确的…
164 脚本运行后会在 `--deps-files-path` 指定的deps_files的同级目录下,创建module_deps_info文件夹输出结果数据。
[all …]
/build/
Dtest.gni30 if (defined(invoker.deps)) {
31 _deps += invoker.deps
37 deps = _deps
74 if (defined(invoker.deps)) {
75 _deps += invoker.deps
120 deps = _deps
159 if (!defined(deps)) {
160 deps = []
162 deps += [ ":${testcase_target_name}_resource_copy" ]
164 deps += [ ":${target_name}_copy_fuzz_config_file" ]
[all …]
/build/lite/config/subsystem/
Dlite_subsystem.gni32 deps = []
33 if (defined(invoker.deps)) {
34 deps += invoker.deps
39 deps += [ pkg_label ]
51 deps = []
52 if (defined(invoker.deps)) {
53 deps += invoker.deps
58 deps += [ pkg_label ]
71 deps = [ ":${subsystem_name}" ]
/build/tools/component_tools/
Dcomponent_node.py22 …def __init__(self, module_name: str, subsystem_name: str, part_name: str, deps: set, external_deps…
26 self._deps = deps
55 def deps(self): member in Module
58 @deps.setter
59 def deps(self, value): member in Module
123 deps = set(set(deps_list) - external_deps)
124 return Module(module_name, subsystem_name, part_name, deps, external_deps, ohos_string)
143 def deps(self): member in Node
146 @deps.setter
147 def deps(self, value): member in Node
[all …]
/build/lite/config/test/
Dtest.gni29 if (defined(invoker.deps)) {
30 _deps += invoker.deps
36 deps = _deps
71 if (defined(invoker.deps)) {
72 _deps += invoker.deps
126 deps = _deps
146 if (defined(invoker.deps)) {
147 deps = invoker.deps
149 deps = []
165 deps += [ "//test/testfwk/developer_test/third_party/lib/cpp:gtest_main" ]
[all …]
/build/ohos/ndk/
DBUILD.gn49 deps = all_ndk_targets_list
74 deps = [ ":_collect_ndk_syscap" ]
85 deps = ndk_targets
87 deps += [ ":archive_ndk" ]
92 deps = []
94 deps += [
106 deps = [ ":all_ndk_targets" ]
137 deps = [ ":generate_ndk_docs" ]
162 deps = [ "//prebuilts/cmake/darwin-x86:darwin_cmake_copy" ]
168 deps = [ "//prebuilts/cmake/linux-x86:linux_cmake_copy" ]
[all …]
Dndk.gni78 if (defined(invoker.deps)) {
79 _deps += invoker.deps
110 deps = _deps
137 deps = [ ":$_ndk_stub_target" ]
190 deps = [ ":$_ndk_stub_target" ]
199 deps = [ ":$_ndk_shlib_target($_toolchain)" ]
237 deps = _accumulated_deps
266 if (defined(invoker.deps)) {
267 _deps += invoker.deps
305 deps = _deps
[all …]
/build/tools/component_tools/static_check/
Dreadme.md95 - component:deps
97 类型:string list。deps对象描述了部件的外部依赖,必填,包括其他部件和三方开源软件,应该与部件编译脚本中依赖一致。
125 "deps": {
164 "deps": {
184 部件间的依赖都必须使用“externel_deps”,部件编译目标的变量sources、include_dirs、configs、public_configs、deps、public_deps引用其…
202 - deps
204 deps只允许用于部件内模块的依赖,直接引用其他部件的模块可能会导致依赖其他部件的内部模块和接口。
211 deps = [ "//base/foo/foo_b:b" ] // Bad, 绝对路径依赖其他部件
212 deps = [ "../../foo_b:b" ] // Bad, 相对路径依赖其他部件
219deps,public_deps只允许用于部件内模块的依赖。
[all …]
/build/common/
DBUILD.gn19 deps = [ "//third_party/sqlite:sqlite" ]
21 deps += [ "musl:musl_install" ]
23 deps += [
29 deps += [ "asan:libclang_rt.hwasan.so" ]
33 deps += [
39 deps += [
/build/ohos/sa_profile/
Dsa_profile.gni33 deps = []
34 if (defined(invoker.deps)) {
35 deps += invoker.deps
42 deps = [ ":${target_name}_copy" ]
105 if (defined(invoker.deps)) {
106 _deps += invoker.deps
121 deps = [ "//build/ohos/sa_profile:src_sa_infos_process" ]
122 deps += _deps
143 deps = _deps
144 deps += [ ":sa_profile_src_${current_platform}" ]
[all …]
/build/ohos/app/
Dapp.gni49 # deps: dependencies of this target.
59 forward_variables_from(invoker, [ "deps" ])
76 # deps: dependencies of this target.
89 "deps",
114 # deps: dependencies of this target.
124 if (defined(invoker.deps)) {
125 _deps += invoker.deps
141 deps = _deps
152 "deps",
157 if (defined(deps)) {
[all …]
/build/docs/
D关于deps及external_deps的使用.md1 ## 关于deps、external_deps的使用
3 在添加一个模块的时候,需要在BUILD.gn中声明它的依赖,为了便于后续处理部件间依赖关系,我们将依赖分为两种——部件内依赖deps和部件间依赖external_deps。
11 部件内依赖使用deps,部件间依赖使用external_deps。
29 deps = [
/build/hb/util/loader/
Dbuild_gn.template20 deps = parts_list
24 deps = inner_kits_list
28 deps = system_kits_list
33 deps = parts_test_list
37 deps = [ "phony_targets:part_phony_targets" ]
/build/ohos/
Dohos_test.gni39 if (defined(invoker.deps)) {
40 _deps += invoker.deps
47 deps = _deps
48 deps += invoker.test_packages
55 deps = invoker.deps
/build/scripts/
Dcopy_ex.py107 deps: list,
116 deps.extend(build_utils.get_all_files(f))
121 deps.append(f)
134 def do_copy(options, deps: list):
148 deps,
153 def do_renaming(options, deps: list):
175 copy_file(src, os.path.join(options.dest, dest), deps)
224 deps = []
227 do_copy(options, deps)
230 do_renaming(options, deps)
[all …]
/build/ohos/packages/
DBUILD.gn35 deps = []
42 deps += [ ":${_platform}_install_modules" ]
45 deps += [ ":gen_required_modules_${_platform}" ]
47 deps += [ ":${_platform}_parts_list" ]
50 deps += [ ":open_source_package" ]
60 deps = [ ":make_packages" ]
82 deps = [ "//build/ohos/common:generate_host_info" ]
106 deps = [ "//build/ohos/common:merge_all_parts" ]
133 deps = [ ":${current_platform}_parts_list" ]
147 deps = [ ":${current_platform}_parts_list" ]
[all …]
/build/templates/common/
Dohos_templates.gni16 deps = []
17 if (defined(invoker.deps)) {
18 deps += invoker.deps
/build/rust/tests/
DBUILD.gn18 deps = [
26 deps += [
34 deps += [ ":cargo_crate_test" ]
36 deps += [ "//build/rust/tests/test_idl" ]
38 deps += [ ":original_libstd.so" ]
43 deps = [
53 deps = [
61 deps = [
/build/ohos/sdk/
Dsdk.gni83 deps = []
84 if (defined(invoker.deps)) {
85 deps += invoker.deps
171 deps = _sdk_modules
172 if (defined(invoker.deps)) {
173 deps += invoker.deps
188 "deps",
203 "deps",
218 "deps",
/build/templates/metadata/
Dwrite_meta_data.py33 deps = copy.deepcopy(direct_deps)
35 all_deps.update(deps)
36 while len(deps) > 0:
37 dep = deps.pop(0)
43 deps.append(n)
48 def get_deps_metadata(deps): argument
49 return [deps_metadta_cache[d] for d in deps]
91 deps = Deps(direct_deps)
96 for dep in deps.All(target_type):
109 deps = Deps(direct_deps)
[all …]
/build/lite/
DBUILD.gn30 deps = []
91 deps += [ component_target ]
97 deps += [ component_target ]
100 deps += [ component_target ]
117 deps += [ "${device_path}/../" ]
121 deps += string_split(ohos_build_target, "&&")
126 deps = []
130 deps += [ "${product_path}" ]
136 deps = []
138 deps += [ "//build/lite/ndk:ndk" ]
/build/ohos/common/
DBUILD.gn35 deps = []
37 deps += [ get_label_info(part_label, "label_with_toolchain") ]
47 deps = []
49 deps += [ get_label_info(part_label, "label_with_toolchain") ]
57 deps = [ ":generate_src_installed_info" ]
76 deps = [

12345