| /arkcompiler/toolchain/build/templates/cxx/ |
| D | cxx.gni | 17 if (defined(invoker.subsystem_name) && defined(invoker.part_name)) { 18 subsystem_name = invoker.subsystem_name 19 part_name = invoker.part_name 20 } else if (defined(invoker.subsystem_name)) { 21 subsystem_name = invoker.subsystem_name 30 if (defined(invoker.unit_test) && invoker.unit_test) { 31 output_dir = invoker.test_output_dir 37 forward_variables_from(invoker, 54 if (defined(invoker.configs)) { 55 configs += invoker.configs [all …]
|
| D | prebuilt.gni | 17 assert(defined(invoker.source), "source must be defined for ${target_name}.") 19 if (defined(invoker.output)) { 20 _copy_output = "${target_out_dir}/${invoker.output}" 22 _copy_output = "${target_out_dir}/${invoker.source}" 25 if (!defined(invoker.deps)) { 26 invoker.deps = [] 29 if (!defined(invoker.stable)) { 30 invoker.stable = false 34 foreach(dep, invoker.deps) { 50 stable = invoker.stable [all …]
|
| /arkcompiler/runtime_core/static_core/gn/build/ |
| D | ohos.gni | 17 not_needed(invoker, 25 forward_variables_from(invoker, 35 if (defined(invoker.configs)) { 36 configs += invoker.configs 39 if (defined(invoker.public_configs)) { 40 configs += invoker.public_configs 42 if (defined(invoker.remove_configs)) { 43 configs -= invoker.remove_configs 46 assert(!defined(invoker.output_dir), 53 not_needed(invoker, [all …]
|
| /arkcompiler/ets_frontend/es2panda/ |
| D | es2abc_config.gni | 50 assert(defined(invoker.src_js), "src_js is required!") 51 assert(defined(invoker.dst_file), "dst_file is required!") 52 assert(defined(invoker.out_puts), "out_puts is required!") 55 if (defined(invoker.extra_dependencies)) { 56 extra_dependencies += invoker.extra_dependencies 60 if (defined(invoker.extra_visibility)) { 61 visibility = invoker.extra_visibility 71 invoker.src_js, 73 invoker.dst_file, 78 if (defined(invoker.extension)) { [all …]
|
| /arkcompiler/runtime_core/ |
| D | ark_config.gni | 78 assert(defined(invoker.data_file), "data_file is required!") 79 assert(defined(invoker.template_file), "template_file is required!") 80 assert(defined(invoker.output_file), "output_file is required!") 83 if (defined(invoker.requires)) { 84 requires = string_join(",", rebase_path(invoker.requires, root_build_dir)) 88 if (defined(invoker.extra_dependencies)) { 89 extra_dependencies += invoker.extra_dependencies 93 if (defined(invoker.extra_argv)) { 94 positional_argv += invoker.extra_argv 98 rebase_path(invoker.template_file, root_build_dir), [all …]
|
| /arkcompiler/runtime_core/gn/ark/runtime_core/ |
| D | ark_config.gni | 77 assert(defined(invoker.data_file), "data_file is required!") 78 assert(defined(invoker.template_file), "template_file is required!") 79 assert(defined(invoker.output_file), "output_file is required!") 82 if (defined(invoker.requires)) { 83 requires = string_join(",", rebase_path(invoker.requires, root_build_dir)) 87 if (defined(invoker.extra_dependencies)) { 88 extra_dependencies += invoker.extra_dependencies 92 if (defined(invoker.extra_argv)) { 93 positional_argv += invoker.extra_argv 97 rebase_path(invoker.template_file, root_build_dir), [all …]
|
| /arkcompiler/runtime_core/static_core/ |
| D | ark_config.gni | 179 assert(defined(invoker.data), "data is required!") 180 assert(defined(invoker.api), "api is required!") 181 assert(defined(invoker.template_file), "template_file is required!") 182 assert(defined(invoker.output_file), "output_file is required!") 185 if (defined(invoker.extra_dependencies)) { 186 extra_dependencies += invoker.extra_dependencies 190 if (defined(invoker.extra_argv)) { 191 positional_argv += invoker.extra_argv 195 rebase_path(invoker.template_file, root_build_dir), 197 string_join(",", rebase_path(invoker.data, root_build_dir)), [all …]
|
| /arkcompiler/runtime_core/gn/build/ |
| D | ohos.gni | 16 forward_variables_from(invoker, 25 if (defined(invoker.configs)) { 26 configs += invoker.configs 29 if (defined(invoker.remove_configs)) { 30 configs -= invoker.remove_configs 37 forward_variables_from(invoker, 48 if (defined(invoker.configs)) { 49 configs += invoker.configs 52 if (defined(invoker.remove_configs)) { 53 configs -= invoker.remove_configs [all …]
|
| /arkcompiler/ets_runtime/test/ |
| D | test_helper.gni | 44 forward_variables_from(invoker, "*") 47 _module_out_path_ = invoker.module_out_path 143 _deps_ = invoker.deps 145 if (defined(invoker.is_module) && invoker.is_module) { 149 if (defined(invoker.is_commonjs) && invoker.is_commonjs) { 153 if (defined(invoker.is_gen_js_by_script) && invoker.is_gen_js_by_script) { 157 if (defined(invoker.is_merge) && invoker.is_merge) { 161 if (defined(invoker.is_merge_abc) && invoker.is_merge_abc) { 166 if (defined(invoker.src_dir) && invoker.src_dir != "") { 167 _src_dir_ = invoker.src_dir [all …]
|
| /arkcompiler/toolchain/build/ |
| D | test.gni | 19 assert(defined(invoker.test_type), "test_type is required.") 20 assert(defined(invoker.module_out_path)) 23 if (defined(invoker.deps)) { 24 _deps += invoker.deps 28 "$root_out_dir/tests/${invoker.test_type}/${invoker.module_out_path}" 31 if (defined(invoker.fuzz_config_file)) { 32 fuzz_config_file = invoker.fuzz_config_file 44 _has_sources = defined(invoker.sources) && invoker.sources != [] 47 write_file(_c_sources_file, rebase_path(invoker.sources, root_build_dir)) 51 forward_variables_from(invoker, [all …]
|
| /arkcompiler/toolchain/build/toolchain/ |
| D | gcc_toolchain.gni | 27 assert(defined(invoker.ar), "gcc_toolchain() must specify a \"ar\" value") 28 assert(defined(invoker.cc), "gcc_toolchain() must specify a \"cc\" value") 29 assert(defined(invoker.cxx), "gcc_toolchain() must specify a \"cxx\" value") 30 assert(defined(invoker.ld), "gcc_toolchain() must specify a \"ld\" value") 34 if (defined(invoker.rebuild_define)) { 35 rebuild_string = "-D" + invoker.rebuild_define 41 # "invoker.toolchain_args.foo", so make a temporary to hold the toolchain 43 assert(defined(invoker.toolchain_args), 45 invoker_toolchain_args = invoker.toolchain_args 54 # Populate toolchain args from the invoker. [all …]
|
| /arkcompiler/runtime_core/libabckit/tests/apps/ |
| D | abckit_apps.gni | 20 assert(defined(invoker.input_file), "input_file is required!") 21 assert(defined(invoker.output_file), "output_file is required!") 22 assert(defined(invoker.app_src_dir), "app_src_dir is required!") 28 rebase_path(invoker.input_file), 29 rebase_path(invoker.output_file), 30 rebase_path(invoker.app_src_dir), 36 forward_variables_from(invoker, [ "extra_dependencies" ]) 39 inputs = [ invoker.input_file ] 41 outputs = [ invoker.output_file ] 46 assert(defined(invoker.app), "app is required!") [all …]
|
| /arkcompiler/toolchain/build/config/components/ets_frontend/ |
| D | es2abc_config.gni | 46 assert(defined(invoker.src_js), "src_js is required!") 47 assert(defined(invoker.dst_file), "dst_file is required!") 48 assert(defined(invoker.out_puts), "out_puts is required!") 51 if (defined(invoker.extra_dependencies)) { 52 extra_dependencies += invoker.extra_dependencies 56 if (defined(invoker.extra_visibility)) { 57 visibility = invoker.extra_visibility 67 invoker.src_js, 69 invoker.dst_file, 74 if (defined(invoker.extension)) { [all …]
|
| /arkcompiler/ets_frontend/ets2panda/ |
| D | ets2abc_config.gni | 46 assert(defined(invoker.src_ets), "src_ets is required!") 47 assert(defined(invoker.dst_file), "dst_file is required!") 48 assert(defined(invoker.out_puts), "out_puts is required!") 51 if (defined(invoker.extra_dependencies)) { 52 extra_dependencies += invoker.extra_dependencies 56 if (defined(invoker.extra_visibility)) { 57 visibility = invoker.extra_visibility 69 "--ets-module --output " + invoker.dst_file + " " + invoker.src_ets, 80 if (defined(invoker.in_puts)) { 81 inputs = invoker.in_puts [all …]
|
| /arkcompiler/runtime_core/libabckit/tests/canary/ |
| D | abckit_canary.gni | 18 assert(defined(invoker.input_file), "input_file is required!") 19 assert(defined(invoker.extension), "extension is required!") 20 assert(defined(invoker.configs), "config_file is required!") 23 "$target_out_dir" + "/" + "$target_name" + "." + invoker.extension 26 if (defined(invoker.extra_dependencies)) { 27 extra_dependencies += invoker.extra_dependencies 37 "--script-args=" + rebase_path(invoker.input_file), 42 inputs = [ invoker.input_file ] 49 if (defined(invoker.configs)) { 50 configs += invoker.configs
|
| /arkcompiler/runtime_core/static_core/gn/build/toolchain/ |
| D | BUILD.gn | 15 assert(defined(invoker.ar)) 16 assert(defined(invoker.cc)) 17 assert(defined(invoker.cxx)) 18 assert(defined(invoker.ld)) 20 ar = invoker.ar 21 cc = invoker.cc 22 cxx = invoker.cxx 23 ld = invoker.ld 25 if (!defined(invoker.asm)) { 28 asm = invoker.asm [all …]
|
| /arkcompiler/toolchain/build/toolchain/ark/ |
| D | ark_toolchain.gni | 24 rebase_path(invoker.sysroot + "/" + invoker.lib_dir, root_build_dir) 29 if (invoker.target_name == "ark_clang_arm") { 31 } else if (invoker.target_name == "ark_clang_arm64") { 33 } else if (invoker.target_name == "ark_clang_x86_64") { 55 if (defined(invoker.toolchain_args)) { 56 forward_variables_from(invoker.toolchain_args, "*") 61 if (defined(invoker.shlib_extension) && invoker.shlib_extension != "") { 62 shlib_extension = invoker.shlib_extension
|
| /arkcompiler/runtime_core/gn/build/toolchain/ |
| D | BUILD.gn | 15 assert(defined(invoker.ar)) 16 assert(defined(invoker.cc)) 17 assert(defined(invoker.cxx)) 18 assert(defined(invoker.ld)) 20 ar = invoker.ar 21 cc = invoker.cc 22 cxx = invoker.cxx 23 ld = invoker.ld 25 if (!defined(invoker.asm)) { 28 asm = invoker.asm [all …]
|
| /arkcompiler/runtime_core/libabckit/tests/stress/abckit_plugin/ |
| D | BUILD.gn | 19 forward_variables_from(invoker, 31 if (defined(invoker.include_dirs)) { 32 deps += invoker.include_dirs 35 if (defined(invoker.deps)) { 36 deps += invoker.deps 39 if (defined(invoker.configs)) { 40 configs += invoker.configs
|
| /arkcompiler/runtime_core/panda_guard/tests/ |
| D | panda_guard_test_config.gni | 21 assert(defined(invoker.projects_dir), "projects_dir is required!") 22 assert(defined(invoker.out_dir), "out_dir is required!") 29 invoker.projects_dir, 31 invoker.out_dir,
|
| /arkcompiler/toolchain/build/toolchain/mingw/ |
| D | BUILD.gn | 24 assert(defined(invoker.toolchain_root), 26 assert(defined(invoker.toolchain_args), 28 toolchain_args = invoker.toolchain_args 31 rebase_path("${invoker.toolchain_root}/bin", root_build_dir)
|
| /arkcompiler/toolchain/build/toolchain/aosp/ |
| D | BUILD.gn | 24 rebase_path(invoker.sysroot + "/" + invoker.lib_dir, root_build_dir) 45 if (defined(invoker.toolchain_args)) { 46 forward_variables_from(invoker.toolchain_args, "*")
|
| /arkcompiler/ets_runtime/ |
| D | js_runtime_config.gni | 200 forward_variables_from(invoker, "*") 226 sources = invoker.ecma_source 227 sources += invoker.ecma_profiler_source 228 sources += invoker.ecma_debugger_source 229 sources += invoker.hitrace_scope_source 230 sources += invoker.ecma_platform_source 233 sources += invoker.ecma_stackinfo_source 321 forward_variables_from(invoker, "*") 325 sources = invoker.intl_sources
|
| /arkcompiler/runtime_core/arkplatform/tests/ |
| D | test_helper.gni | 24 forward_variables_from(invoker, "*") 27 _module_out_path_ = invoker.module_out_path
|
| /arkcompiler/runtime_core/tests/ |
| D | test_helper.gni | 24 forward_variables_from(invoker, "*") 27 _module_out_path_ = invoker.module_out_path
|