Home
last modified time | relevance | path

Searched refs:string_replace (Results 1 – 25 of 71) sorted by relevance

123

/aosp_15_r20/external/cronet/build/rust/
H A Drust_target.gni46 _dir = string_replace(_dir, "//", "")
49 # The `string_replace` calls below replicate the escaping algorithm
53 # but the ordering of `string_replace` calls *does* matter - the escape
57 _crate_name = string_replace(_crate_name, "_", "_u")
58 _crate_name = string_replace(_crate_name, "/", "_s")
59 _crate_name = string_replace(_crate_name, ":", "_c")
60 _crate_name = string_replace(_crate_name, "-", "_d")
92 rs_modname = string_replace(rs, ".rs", "")
95 rs_modname = string_replace(rs_modname, "/", "_")
99 rs_modname = string_replace(rs_modname, "..", "dotdot")
H A Drust_static_library.gni184 _dir = string_replace(_dir, "//", "")
187 # The `string_replace` calls below replicate the escaping algorithm
191 # but the ordering of `string_replace` calls *does* matter - the escape
195 _crate_name = string_replace(_crate_name, "_", "_u")
196 _crate_name = string_replace(_crate_name, "/", "_s")
197 _crate_name = string_replace(_crate_name, ":", "_c")
198 _crate_name = string_replace(_crate_name, "-", "_d")
/aosp_15_r20/external/angle/build/rust/
H A Drust_target.gni52 _dir = string_replace(_dir, "//", "")
55 # The `string_replace` calls below replicate the escaping algorithm
59 # but the ordering of `string_replace` calls *does* matter - the escape
63 _crate_name = string_replace(_crate_name, "_", "_u")
64 _crate_name = string_replace(_crate_name, "/", "_s")
65 _crate_name = string_replace(_crate_name, ":", "_c")
66 _crate_name = string_replace(_crate_name, "-", "_d")
98 rs_modname = string_replace(rs, ".rs", "")
101 rs_modname = string_replace(rs_modname, "/", "_")
105 rs_modname = string_replace(rs_modname, "..", "dotdot")
H A Drust_static_library.gni184 _dir = string_replace(_dir, "//", "")
187 # The `string_replace` calls below replicate the escaping algorithm
191 # but the ordering of `string_replace` calls *does* matter - the escape
195 _crate_name = string_replace(_crate_name, "_", "_u")
196 _crate_name = string_replace(_crate_name, "/", "_s")
197 _crate_name = string_replace(_crate_name, ":", "_c")
198 _crate_name = string_replace(_crate_name, "-", "_d")
/aosp_15_r20/external/perfetto/gn/
H A Dproto_library.gni291 string_replace(target_name, expansion_token, "source_set")
308 mapped_dep = string_replace(dep, expansion_token, "source_set")
317 mapped_dep = string_replace(dep, expansion_token, "source_set")
338 target_name_ = string_replace(target_name, expansion_token, "descriptor")
358 target_name_ = string_replace(target_name, expansion_token, gen_type)
364 all_deps_ += [ string_replace(dep, expansion_token, gen_type) ]
372 all_deps_ += [ string_replace(dep, expansion_token, gen_type) ]
410 cpp_target_name_ = string_replace(target_name, expansion_token, "cpp")
H A Dperfetto_component.gni51 _name = string_replace(_name, "//", "")
52 _name = string_replace(_name, "/", "_")
53 _name = string_replace(_name, ":", "_")
/aosp_15_r20/external/cronet/build/config/
H A DBUILDCONFIG.gn548 if (string_replace(f + ".END", ".cc.END", "") != f + ".END" ||
549 string_replace(f + ".END", ".c.END", "") != f + ".END" ||
550 string_replace(f + ".END", ".mm.END", "") != f + ".END" ||
551 string_replace(f + ".END", ".m.END", "") != f + ".END") {
595 if (string_replace(f + ".END", ".cc.END", "") != f + ".END" ||
596 string_replace(f + ".END", ".c.END", "") != f + ".END" ||
597 string_replace(f + ".END", ".mm.END", "") != f + ".END" ||
598 string_replace(f + ".END", ".m.END", "") != f + ".END") {
633 _output_name = string_replace("${_magic_prefix}${_output_name}",
637 _output_name = string_replace(_output_name, _magic_prefix, "", 1)
[all …]
/aosp_15_r20/external/angle/build/config/
H A DBUILDCONFIG.gn556 if (string_replace(f + ".END", ".cc.END", "") != f + ".END" ||
557 string_replace(f + ".END", ".c.END", "") != f + ".END" ||
558 string_replace(f + ".END", ".mm.END", "") != f + ".END" ||
559 string_replace(f + ".END", ".m.END", "") != f + ".END") {
603 if (string_replace(f + ".END", ".cc.END", "") != f + ".END" ||
604 string_replace(f + ".END", ".c.END", "") != f + ".END" ||
605 string_replace(f + ".END", ".mm.END", "") != f + ".END" ||
606 string_replace(f + ".END", ".m.END", "") != f + ".END") {
641 _output_name = string_replace("${_magic_prefix}${_output_name}",
645 _output_name = string_replace(_output_name, _magic_prefix, "", 1)
[all …]
/aosp_15_r20/external/angle/build/config/apple/
H A Dswift_source_set.gni33 _target_label = string_replace(_target_label, "//", "", 1)
35 string_replace(string_replace(_target_label, "/", "_"), ":", "_")
/aosp_15_r20/external/cronet/build/config/ios/
H A Dswift_source_set.gni33 _target_label = string_replace(_target_label, "//", "", 1)
35 string_replace(string_replace(_target_label, "/", "_"), ":", "_")
/aosp_15_r20/external/pigweed/pw_build/
H A Dzip.gni109 input = string_replace(input, " $_delimiter", _delimiter)
110 input = string_replace(input, "$_delimiter ", _delimiter)
126 dir = string_replace(dir, " $_delimiter", _delimiter)
127 dir = string_replace(dir, "$_delimiter ", _delimiter)
H A Dpython.gni134 deps += [ string_replace(dep, "(", ".lint.mypy(") ]
176 public_deps += [ string_replace(dep, "(", ".lint.pylint(") ]
217 public_deps += [ string_replace(dep, "(", ".lint.ruff(") ]
621 deps += [ string_replace(dep, "(", ".wheel(") ]
642 public_deps += [ string_replace(dep, "(", ".install(") ]
654 public_deps += [ string_replace(dep, "(", ".wheel(") ]
671 _test_install_deps += [ string_replace(dep, "(", ".install(") ]
751 _test_target = "$target_name.tests." + string_replace(_name, "/", "_")
798 deps += [ string_replace(dep, "(", ".tests(") ]
H A Dupdate_bundle.gni69 tuf_target = string_replace(tuf_target, " $_delimiter", _delimiter)
70 tuf_target = string_replace(tuf_target, "$_delimiter ", _delimiter)
/aosp_15_r20/external/angle/build/toolchain/cros/
H A DBUILD.gn38 string_replace(cc, " ", "") == cc) {
42 string_replace(cxx, " ", "") == cxx) {
46 string_replace(ar, " ", "") == ar) {
50 string_replace(ld, " ", "") == ld) {
/aosp_15_r20/external/cronet/build/toolchain/nacl/
H A DBUILD.gn74 toolprefix = string_replace(toolprefix, "/", "\\")
135 toolprefix = string_replace(toolprefix, "/", "\\")
196 toolprefix = string_replace(toolprefix, "/", "\\")
229 toolprefix = string_replace(toolprefix, "/", "\\")
294 toolprefix = string_replace(toolprefix, "/", "\\")
/aosp_15_r20/external/angle/build/toolchain/nacl/
H A DBUILD.gn74 toolprefix = string_replace(toolprefix, "/", "\\")
135 toolprefix = string_replace(toolprefix, "/", "\\")
193 toolprefix = string_replace(toolprefix, "/", "\\")
226 toolprefix = string_replace(toolprefix, "/", "\\")
291 toolprefix = string_replace(toolprefix, "/", "\\")
/aosp_15_r20/external/cronet/build/toolchain/cros/
H A DBUILD.gn41 string_replace(cc, " ", "") == cc) {
45 string_replace(cxx, " ", "") == cxx) {
49 string_replace(ar, " ", "") == ar) {
53 string_replace(ld, " ", "") == ld) {
/aosp_15_r20/external/angle/build/config/android/
H A Dextract_unwind_tables.gni23 string_replace(string_replace(" $_library_name", " $shlib_prefix", ""),
H A Dcreate_unwind_table.gni24 string_replace(string_replace(" $_library_name", " $shlib_prefix", ""),
/aosp_15_r20/external/cronet/build/config/android/
H A Dextract_unwind_tables.gni22 string_replace(string_replace(" $_library_name", " $shlib_prefix", ""),
H A Dcreate_unwind_table.gni23 string_replace(string_replace(" $_library_name", " $shlib_prefix", ""),
/aosp_15_r20/external/pigweed/pw_unit_test/
H A Dfacade_test.gni68 _subtoolchain_suffix = string_replace(_subtoolchain_suffix, "//", "")
69 _subtoolchain_suffix = string_replace(_subtoolchain_suffix, "/", "-")
70 _subtoolchain_suffix = string_replace(_subtoolchain_suffix, ":", "--")
/aosp_15_r20/packages/modules/Bluetooth/system/bta/
Dbundler.gni55 name = string_replace(get_path_info(s, "file"), ".fbs", ".bfbs")
61 header_name = string_replace(s, ".fbs", "_generated.h")
/aosp_15_r20/external/pigweed/pw_toolchain/
H A Dclang_tools.gni87 _toolchain_prefix = string_replace(_toolchain_prefix, "/", "\\")
99 _rust_prefix = string_replace(_rust_prefix, "/", "\\")
/aosp_15_r20/external/pigweed/pw_toolchain/host_clang/
H A DBUILD.gn30 file = string_replace(file, "/", "\/")
31 file = string_replace(file, ".", "\.")

123