1 import("//compiler-rt/target.gni")
3 template("gen_version_script") {
4 if (current_os != "mac" && current_os != "win") {
6 script = "//compiler-rt/lib/sanitizer_common/scripts/gen_dynamic_list.py"
7 sources = [ invoker.extra ]
9 outputs = [ invoker.output ]
13 rebase_path(invoker.extra, root_build_dir),
15 foreach(lib_name, invoker.lib_names) {
16 args += [ rebase_path(
17 "$crt_current_out_dir/libclang_rt.$lib_name$crt_current_target_suffix.a",
24 rebase_path(invoker.output, root_build_dir),
28 source_set(target_name) {