Home
last modified time | relevance | path

Searched refs:command (Results 1 – 25 of 26) sorted by relevance

12

/build/toolchain/
Dgcc_link_wrapper.py30 def command_to_run(command): argument
31 if command[0].startswith(BAT_PREFIX):
32 command = command[0].split(None, 3) + command[1:]
33 return command
36 def is_static_link(command): argument
37 if "-static" in command:
49 def update_crt(command): argument
50 for item in command:
52 index = command.index(item)
55 command[index] = new_crtbegin
[all …]
Dwrapper_utils.py34 def command_to_run(command): argument
51 if command[0].startswith(_BAT_PREFIX):
52 command = command[0].split(None, 3) + command[1:]
53 return command
56 def run_link_with_optional_map_file(command, env=None, map_file=None): argument
72 command.append('-Wl,-Map,' + tmp_map_path)
74 command.append('-Wl,-Map,' + map_file)
76 result = subprocess.call(command, env=env)
87 def capture_command_stderr(command, env=None): argument
94 child = subprocess.Popen(command, stderr=subprocess.PIPE, env=env)
Dgcc_toolchain.gni290command = "$cc -MMD -MF $depfile ${rebuild_string}{{defines}} {{include_dirs}} {{cflags}} {{cflags…
298command = "$cxx -MMD -MF $depfile ${rebuild_string}{{defines}} {{include_dirs}} {{cflags}} {{cflag…
307command = "$asm -MMD -MF $depfile ${rebuild_string}{{defines}} {{include_dirs}} {{asmflags}}${extr…
317 command = "$ar -X64 {{arflags}} -r -c -s {{output}} {{inputs}}"
321 command = "\"$ar\" {{arflags}} -r -c -s -D {{output}} @\"$rspfile\""
329 command = "cmd /c $python_path $tool_wrapper_path delete-file {{output}} && $command"
331 command = "rm -f {{output}} && $command"
392command = "$python_path \"$solink_wrapper\" --readelf=\"$readelf\" --nm=\"$nm\" $strip_switch --so…
394 command = "$command --libfile=\"$libfile\""
397 command = "$command --mini-debug"
[all …]
Dgcc_solink_wrapper.py133 for a in args.command:
144 command = wrapper_utils.command_to_run(args.command)
146 command, env=fast_env, map_file=args.map_file)
/build/lite/
Dbuild_ext_components.py28 def cmd_exec(command, temp_file, error_log_path): argument
30 cmd = shlex.split(command)
72 if args.command:
73 if '&&' in args.command:
74 command = args.command.split('&&')
75 for data in command:
80 status = cmd_exec(args.command, temp_file, args.out_dir[0])
Dohos_var.gni49 # Current toolchain cc command. E.g. "/data/user1/riscv32/bin/riscv32-unknown-elf-gcc".
/build/lite/toolchain/
Diccarm.gni42command = "$cc {{defines}} {{include_dirs}} {{cflags}} {{cflags_c}} -c {{source}} -o {{output}}"
47 command += " --preprocess $preprocess_outfile -lCN $list_outfile -lA $asm_outfile"
55 command = "$cxx {{defines}} {{include_dirs}} {{cflags_cc}} -c {{source}} -o {{output}}"
60 command += " --preprocess $preprocess_outfile -lCN $list_outfile -lA $asm_outfile"
68 command = "$as {{defines}} {{include_dirs}} {{asmflags}} {{source}} -o {{output}}"
77 command = "rm -f {{output}} && $ar {{inputs}} -o {{output}}"
92 command = ""
96command += "$ld -shared {{ldflags}} $extra_ldflags " + "-Wl, --start-group {{inputs}} {{libs}} -Wl…
98 command += " && $strip \"$unstripped_outfile\" \"$outfile\""
114 command = ""
[all …]
Dclang.gni33command = "$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}}"
56 command = "$ar -cr {{output}} @\"$rspfile\""
69 command = ""
74 command +=
77 command += " && $strip \"$unstripped_outfile\" -o \"$outfile\""
95 command = ""
99 command += "$ld {{ldflags}} {{inputs}} {{libs}} $custom_ld_flags -o $unstripped_outfile"
101 command += " && $strip \"$unstripped_outfile\" -o \"$outfile\""
[all …]
Dgcc.gni39command = "$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}}"
65 command = "$ar cr {{output}} @\"$rspfile\""
80 command = ""
84command += "$ld -shared {{ldflags}} $extra_ldflags " + "-Wl,--start-group {{inputs}} {{libs}} -Wl,…
86 command += " && $strip \"$unstripped_outfile\" -o \"$outfile\""
102 command = ""
106command += "$ld {{ldflags}} $extra_ldflags " + "-Wl,--start-group {{inputs}} {{libs}} -Wl,--end-gr…
108 command += " && $strip \"$unstripped_outfile\" -o \"$outfile\""
[all …]
/build/lite/ndk/build/toolchain/
Dclang.gni42command = "$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}}"
65 command = "$ar -r {{output}} @\"$rspfile\""
76 command = "$ld -shared {{ldflags}} {{inputs}} -o $outfile"
79 command += " && $strip" + " \"$unstripped_outfile\" \"$outfile\""
91 command = "$ld {{ldflags}} {{inputs}} $custom_ld_flags -o $outfile"
93 command += " && $strip $outfile"
103 command = "cmd /c type nul > \"{{output}}\""
105 command = "/usr/bin/touch {{output}}"
[all …]
Dgcc.gni47command = "$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}}"
71 command = "$ar cr {{output}} @\"$rspfile\""
84 command =
88 command += "&& $strip $outfile"
100 command =
104 command += "&& $strip $outfile"
114 command = "cmd /c type nul > \"{{output}}\""
116 command = "/usr/bin/touch {{output}}"
[all …]
/build/lite/config/subsystem/
Dlite_subsystem.gni75 command = "cp -r $interface_header $outdir/interface && cp -r $sdk_libs_path $outdir/sdk_libs"
81 "--command=$command",
91 command = invoker.command
97 "--command=$command",
/build/toolchain/mac/
DBUILD.gn16 # variable is placed in front of the command. The N should be incremented
126command = "$cc -MMD -MF $depfile {{defines}} {{include_dirs}} {{cflags}} {{cflags_c}} -c {{source}…
135command = "$cxx -MMD -MF $depfile {{defines}} {{include_dirs}} {{cflags}} {{cflags_cc}} -c {{sourc…
144command = "$cc -MMD -MF $depfile {{defines}} {{include_dirs}} {{asmflags}} -c {{source}} -o {{outp…
153command = "$cc -MMD -MF $depfile {{defines}} {{include_dirs}} {{framework_dirs}} {{cflags}} {{cfla…
162command = "$cxx -MMD -MF $depfile {{defines}} {{include_dirs}} {{framework_dirs}} {{cflags}} {{cfl…
171 command = "$_ar {{arflags}} -r -c -s -D {{output}} \"@$rspfile\""
172 command = "rm -f {{output}} && $command"
208command = "$env_wrapper if $does_reexport_command ; then $link_command && $extract_toc_command > \…
252 command = link_command
[all …]
/build/ohos/ndk/
Dcheck_ndk_header.py44 command = cmd_list + [file]
45 result = subprocess.run(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
/build/lite/config/component/
Dlite_component.gni128 if (defined(invoker.command)) {
129 args += [ "--command=${invoker.command}" ]
/build/config/posix/
DBUILD.gn88 # when turning the sysroot on or off. (defines are passed via the command
107 # ones, so they must appear later in the command line. However,
109 # cflags* will be appended on the compiler command line after
/build/config/mac/
DBUILD.gn30 # (defines are passed via the command line, and build system rebuild things
108 # strip command during linking. This config by default strips all symbols
/build/hb/
DREADME.md35 …- **Running gn**: Run the **gn gen** command to read the product configuration \(related to th…
50 - Run the following command in the root directory of the source code:
56 …- Run the **hb help** command. If some help information is displayed, the installation is succ…
122 …ass parameters for the ninja phase, but you need to follow the specified command format. eg. --nin…
143 …tion. you can select two levels: debug, info. In debug mode, it show all command lines while build…
184 …clear files in a specified directory, add the directory parameter to the command, for example, **…
DREADME_zh.md122 …ass parameters for the ninja phase, but you need to follow the specified command format. eg. --nin…
143 …tion. you can select two levels: debug, info. In debug mode, it show all command lines while build…
/build/lite/ndk/doc/config/
DDoxyfile_CPP183 # style comments (thus requiring an explicit @brief command for a brief
192 # requiring an explicit \brief command for a brief description.)
233 # will allow you to put the command \sideeffect (or @sideeffect) in the
242 # will allow you to use the command class in the itcl::class meaning.
354 # \nosubgrouping command.
492 # \internal command is included. If the tag is set to NO then the documentation
631 # controlled using \showinitializer or \hideinitializer command in the
661 # popen()) the command command input-file, where command is the value of the
827 # command).
847 # \image command).
[all …]
DDoxyfile_C183 # style comments (thus requiring an explicit @brief command for a brief
192 # requiring an explicit \brief command for a brief description.)
233 # will allow you to put the command \sideeffect (or @sideeffect) in the
242 # will allow you to use the command class in the itcl::class meaning.
354 # \nosubgrouping command.
492 # \internal command is included. If the tag is set to NO then the documentation
631 # controlled using \showinitializer or \hideinitializer command in the
661 # popen()) the command command input-file, where command is the value of the
827 # command).
847 # \image command).
[all …]
/build/config/
Dpython.gni71 # and is generated _manually_ by using a command like:
DBUILD.gn32 # only relevant to a few files. This bloats command lines and causes
DBUILDCONFIG.gn216 # If a value is specified on the command line, it will overwrite the defaults
/build/ohos/ndk/cmake/
Dohos.toolchain.cmake117 # Export configurable variables for the try_compile() command.

12