/build/docs/ |
D | FAQ.md | 43 ### 关于--build-target使用 45 build-target 是传给ninja的参数,build.ninja里面的任务都可以。 46 1. gn里面的一个target都可以,包括可执行程序,动态库,group,action,部件名 47 …2. 如果直接指定名称报unkonw target的话,可能是重名等原因,按照gn的全名称指定:{目标所在BUILD.gn的路径}:{目标名}, 比如: `--build-target commo… 48 3. build-target参数一次可以指定多,比如:`--build-target A --build-target B` 50 …,根据ohos.build编译系统生产的gn目标,如果直接指定部件名,使用`--build-target {部件名}` 报错unkonw target,可以使用一个部件的全名称指定:`--buil…
|
D | 关于deps及external_deps的使用.md | 30 "module1的gn target", 64 "name": "module1的gn target"
|
D | 编译配置指导文档.md | 38 "module1的gn target", 116 --build-target参数加模块名。如果直接指定名称报unkonw target的话,可能是重名等原因,按照gn的全名称指定:{目标所在BUILD.gn的路径}:{目标名}, 比如: --bu…
|
D | compilation-and-build-rules.md | 8 # This target can include files from "c" but not from
|
D | 编译构建调试文档.md | 104 | gn ls | 列出目录下所有的target | gn ls <out_dir> [<label_p… 106 | gn desc | 列出target/config的所有信息 | gn desc <out_dir> <label… 107 | gn path | 查看两个target之间的依赖路径 | gn path <out_dir> <target_on… 111 | gn meta | 列出target的metadata的收集结果 | gn meta <out_dir> <target… 158 该命令列出了gn编译过程中的所有target列表,可以看出,包含一个可执行程序//:hello、一个动态库//:hello_shared和一个静态库//:hello_static。 484 The include file is in the target(s): 491 The target: 493 is including a file from the target: 496 It's usually best to depend directly on the destination target. 497 In some cases, the destination target is considered a subcomponent [all …]
|
/build/toolchain/ohos/ |
D | ohos_toolchain.gni | 95 …target=${rust_abi_target} -Clinker=$cxx -Clink-arg=-lunwind -Clink-arg=-fuse-ld=lld -Clink-arg=-v … 97 …target=${rust_abi_target} -Clinker=$cxx -Clink-arg=-lunwind -Clink-arg=-fuse-ld=lld -Clink-arg=-v … 99 …target=${rust_abi_target} -Clinker=$cxx -Clink-arg=-lunwind -Clink-arg=-fuse-ld=lld -Clink-arg=-v … 101 …cc_command_args = "--target=${rust_abi_target} -Clinker=$cxx -Clink-arg=-fuse-ld=lld -Clink-arg=-v… 103 …target=${rust_abi_target} -Clinker=$cxx -Clink-arg=-lunwind -Clink-arg=-fuse-ld=lld -Clink-arg=-v …
|
/build/tools/component_tools/static_check/gn_check/ |
D | check_gn.py | 69 for target in self.TARGET_NAME: 70 target_pattern += target 71 if target != self.TARGET_NAME[-1]: 82 target = list() # 每个文件中的target 84 target.append(target_ret.group()) 85 if len(target) == 0: 87 all_gn_data.update({gn_file[len(self.ohos_root) + 1:]: target}) 205 for target in values: 207 if target.find('subsystem_name') == -1: 209 if target.find('part_name') == -1: [all …]
|
D | check_gn_online.py | 113 target = it_target.group() 114 start_target = target.split('\n')[0] 118 if target.find(check_list[0]) == -1: 120 if target.find(check_list[1]) == -1: 136 for target in self.TARGET_NAME: 137 target_pattern += target 138 if target != self.TARGET_NAME[-1]:
|
D | gn_common_tools.py | 28 def contains_keywords(key_words: tuple, target: str) -> bool: 33 if k in target:
|
/build/rust/tests/test_bin_cargo_crate/crate/ |
D | build.rs | 33 let target = env::var("TARGET").unwrap(); in main() localVariable 35 if target.contains("ohos") { in main() 38 if target.contains("darwin") { in main()
|
/build/ohos/sdk/ |
D | parse_sdk_description.py | 45 def add_target(self, target): argument 46 if target not in self.targets: 47 self.targets.append(target) 70 def add_target(item: dict, target: str, sdk_systems: list): 73 item.get('targets').get('linux').add_target('"%s",' % target) 75 item.get('targets').get('windows').add_target('"%s",' % target) 77 item.get('targets').get('darwin').add_target('"%s",' % target)
|
/build/rust/tests/test_rlib_cargo_crate/crate/ |
D | build.rs | 36 let target = env::var("TARGET").unwrap(); in main() localVariable 38 if target.contains("ohos") { in main() 41 if target.contains("darwin") { in main()
|
/build/lite/testfwk/ |
D | lite_testcase_resource_copy.py | 53 for target in root: 54 if target.attrib.get('name') != testcase_target_name: 56 for _depend in target: 104 for target in root: 105 if target.attrib.get('name') != testcase_target_name: 107 for child in target:
|
/build/templates/metadata/ |
D | module_info.gni | 86 assert(false, "Error: unsupported target cpu name.") 118 "--target-label", 183 args += [ "--symlink-target" ] 278 …"Illegal target name: \"${_caller_target_name}\", target name of ohos_js_assets or ohos_assets mus… 282 …"Illegal target name: \"${_caller_target_name}\", target name of ohos_resources must endswith res …
|
/build/build_scripts/ |
D | build.py | 25 def search(findir: str, target: str) -> str or bool: 27 if target in files:
|
/build/lite/ndk/ |
D | README.md | 20 │ └── target 71 static_library("hello_world") { # 应用库文件target,也可是shared_library 81 executable("sample") { # 应用可执行文件target
|
/build/ohos/testfwk/ |
D | testcase_resource_copy.py | 57 for target in root: 58 if target.attrib.get('name') != testcase_target_name: 60 for _depend in target: 108 for target in root: 109 if target.attrib.get('name') != testcase_target_name: 111 for child in target:
|
/build/ohos/app/ |
D | app.gni | 20 # Declare an OHOS AppScope target 46 # Declare an OHOS assets target 49 # deps: dependencies of this target. 69 # Declare a js assets target 76 # deps: dependencies of this target. 111 # Declare an OHOS resource target 114 # deps: dependencies of this target. 147 # compile_resources target here only used for concat app.json to module.json 166 # compile_resources target here only used for resources.h generation 379 # Declare an OHOS hap target [all …]
|
/build/hb/util/ |
D | component_util.py | 76 path, target = target_path.split(":") 77 if target == module_name:
|
/build/rust/tests/test_rlib_cargo_crate/ |
D | BUILD.gn | 16 ohos_cargo_crate("target") { 53 deps = [ ":target" ]
|
/build/lite/config/component/ |
D | lite_component.gni | 39 target(target_type, target_name) { 90 target(target_type, target_name) { 148 target(invoker.target_type, target_name) { 183 "--target-name",
|
/build/lite/ndk/build/config/ |
D | BUILD.gn | 98 "--target=arm-liteos-ohos", 144 include_dirs += [ "//gcc/target/usr/include" ] 145 ldflags = [ "-L$ohos_root_path/gcc/target/usr/lib" ]
|
/build/templates/update/ |
D | module_update.gni | 54 "--target-out-dir", 58 "--abidiff-target-name", 60 "--abidiff-target-out-dir", 63 "--abidw-target-name", 65 "--abidw-target-out-dir", 233 "--target-cpu",
|
/build/config/ohos/ |
D | BUILD.gn | 47 cflags += [ "--target=$abi_target" ] 50 ldflags += [ "--target=$abi_target" ] 59 # that is ohos-only. Please see that target for advice on what should go in
|
/build/config/linux/ |
D | BUILD.gn | 19 # that is Linux-only. Please see that target for advice on what should go in 27 if ((!is_chromeos || default_toolchain != "//build/toolchain/cros:target") &&
|