diff options
Diffstat (limited to 'tools/cpp/BUILD.static')
-rw-r--r-- | tools/cpp/BUILD.static | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/tools/cpp/BUILD.static b/tools/cpp/BUILD.static index 8181a61755..6f5f585ece 100644 --- a/tools/cpp/BUILD.static +++ b/tools/cpp/BUILD.static @@ -31,6 +31,7 @@ filegroup( ":cc-compiler-armeabi-v7a", ":cc-compiler-freebsd", ":cc-compiler-x64_windows", + ":cc-compiler-x64_windows_msvc", ":empty", ], ) @@ -76,3 +77,31 @@ cc_toolchain( strip_files = ":empty", supports_param_files = 1, ) + +cc_toolchain( + name = "cc-compiler-x64_windows_msvc", + all_files = ":every-file-x64_windows", + compiler_files = ":compile-x64_windows", + cpu = "x64_windows", + dwp_files = ":empty", + dynamic_runtime_libs = [":empty"], + linker_files = ":empty", + objcopy_files = ":empty", + static_runtime_libs = [":empty"], + strip_files = ":empty", +) + +filegroup( + name = "every-file-x64_windows", + srcs = [ + ":compile-x64_windows", + ], +) + +filegroup( + name = "compile-x64_windows", + srcs = glob([ + "wrapper/bin/msvc_*", + "wrapper/bin/pydir/msvc*", + ]), +)
\ No newline at end of file |