summaryrefslogtreecommitdiff
path: root/BUILD.bazel
blob: eb173f67324f9b3d2aea424c1186924841029762 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
load("@bazel_tools//tools/python:toolchain.bzl", "py_runtime_pair")

package(default_visibility = ["//visibility:public"])

sh_binary(
    name = "yasm",
    srcs = select({
        "//build/bazel/platforms/os:darwin": ["darwin-x86/yasm/yasm"],
        "//build/bazel/platforms/os:linux": ["linux-x86/yasm/yasm"],
    }),
    target_compatible_with = select({
        "//build/bazel/platforms/os:darwin": [],
        "//build/bazel/platforms/os:linux": [],
        "//conditions:default": ["@platforms//:incompatible"],
    }),
)