brintos

brintos / llvm-project-archived public Read only

0
0
Text · 764 B · c95c571 Raw
30 lines · plain
1# This file is licensed under the Apache License v2.0 with LLVM Exceptions.2# See https://llvm.org/LICENSE.txt for license information.3# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception4 5load("@bazel_skylib//rules:build_test.bzl", "build_test")6load("//libc:libc_build_rules.bzl", "libc_release_library")7 8package(default_visibility = ["//visibility:public"])9 10licenses(["notice"])11 12exports_files(["libc_test_rules.bzl"])13 14# Smoke test verifying libc_release_library macro functionality.15libc_release_library(16    name = "libc_release_test",17    libc_functions = [18        "//libc:acosf",19        "//libc:read",20    ],21    weak_symbols = [22        "read",23    ],24)25 26build_test(27    name = "libc_release_build_test",28    targets = [":libc_release_test"],29)30