Fix macho-merged-funcs-dwarf.yaml test on Windows
[llvm-project.git] / llvm / utils / gn / secondary / clang / tools / scan-build / BUILD.gn
bloba4c52089a87b47a6737484ef58a1e2cd23342969
1 group("scan-build") {
2   deps = [
3     ":bin",
4     ":libexec",
5     ":man",
6     ":share",
7   ]
10 copy("bin") {
11   sources = [ "bin/scan-build" ]
12   if (host_os == "mac") {
13     sources += [ "bin/set-xcode-analyzer" ]
14   } else if (host_os == "win") {
15     sources += [ "bin/scan-build.bat" ]
16   }
17   outputs = [ "$root_build_dir/bin/{{source_file_part}}" ]
20 copy("libexec") {
21   sources = [
22     "libexec/c++-analyzer",
23     "libexec/ccc-analyzer",
24   ]
25   if (host_os == "win") {
26     sources += [
27       "libexec/c++-analyzer.bat",
28       "libexec/ccc-analyzer.bat",
29     ]
30   }
31   outputs = [ "$root_build_dir/libexec/{{source_file_part}}" ]
34 copy("man") {
35   sources = [ "man/scan-build.1" ]
36   outputs = [ "$root_build_dir/share/man/man1/{{source_file_part}}" ]
39 copy("share") {
40   sources = [
41     "share/scan-build/scanview.css",
42     "share/scan-build/sorttable.js",
43   ]
44   outputs = [ "$root_build_dir/share/scan-build/{{source_file_part}}" ]