2023-03-02 23:42:35 +02:00
|
|
|
# Copyright 2023 Uber Technologies, Inc.
|
2023-04-20 03:23:25 +03:00
|
|
|
# Licensed under the MIT License
|
2023-03-02 23:42:35 +02:00
|
|
|
|
2023-04-21 17:00:03 +03:00
|
|
|
load("@hermetic_cc_toolchain//rules:platform.bzl", "platform_binary", "platform_test")
|
2022-06-02 08:46:16 +03:00
|
|
|
|
|
|
|
cc_binary(
|
|
|
|
name = "winver",
|
|
|
|
srcs = ["main.c"],
|
|
|
|
tags = ["manual"],
|
|
|
|
)
|
|
|
|
|
2023-03-06 17:32:48 +02:00
|
|
|
platform_binary(
|
2022-06-02 08:46:16 +03:00
|
|
|
name = "winver_windows_amd64",
|
|
|
|
src = "winver",
|
|
|
|
platform = "//platform:windows_amd64",
|
|
|
|
)
|
|
|
|
|
|
|
|
platform_binary(
|
|
|
|
name = "winver_windows_arm64",
|
|
|
|
src = "winver",
|
|
|
|
platform = "//platform:windows_arm64",
|
|
|
|
)
|