Home | History | Annotate | Download | only in TableGen
      1 cc_binary_host {
      2     name: "clang-tblgen",
      3     defaults: ["llvm-defaults"],
      4     srcs: ["*.cpp"],
      5 
      6     static_libs: [
      7         "libLLVMTableGen",
      8         "libLLVMSupport",
      9     ],
     10 
     11     host_ldlibs: ["-lm"],
     12     target: {
     13         windows: {
     14             host_ldlibs: [
     15                 "-limagehlp",
     16                 "-lpsapi",
     17                 "-lversion",
     18             ],
     19         },
     20         darwin: {
     21             host_ldlibs: [
     22                 "-lpthread",
     23                 "-ldl",
     24             ],
     25         },
     26         linux: {
     27             host_ldlibs: [
     28                 "-lpthread",
     29                 "-ldl",
     30             ],
     31         },
     32     },
     33 }
     34