xref: /aosp_15_r20/external/bazelbuild-rules_cc/tests/system_library/BUILD (revision eed53cd41c5909d05eedc7ad9720bb158fd93452)
1*eed53cd4SHONG Yifan# Copyright 2023 The Bazel Authors. All rights reserved.
2*eed53cd4SHONG Yifan#
3*eed53cd4SHONG Yifan# Licensed under the Apache License, Version 2.0 (the "License");
4*eed53cd4SHONG Yifan# you may not use this file except in compliance with the License.
5*eed53cd4SHONG Yifan# You may obtain a copy of the License at
6*eed53cd4SHONG Yifan#
7*eed53cd4SHONG Yifan#    http://www.apache.org/licenses/LICENSE-2.0
8*eed53cd4SHONG Yifan#
9*eed53cd4SHONG Yifan# Unless required by applicable law or agreed to in writing, software
10*eed53cd4SHONG Yifan# distributed under the License is distributed on an "AS IS" BASIS,
11*eed53cd4SHONG Yifan# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12*eed53cd4SHONG Yifan# See the License for the specific language governing permissions and
13*eed53cd4SHONG Yifan# limitations under the License.
14*eed53cd4SHONG Yifan
15*eed53cd4SHONG Yifansh_test(
16*eed53cd4SHONG Yifan    name = "system_library_test",
17*eed53cd4SHONG Yifan    size = "small",
18*eed53cd4SHONG Yifan    srcs = ["system_library_test.sh"],
19*eed53cd4SHONG Yifan    data = [
20*eed53cd4SHONG Yifan        ":unittest.bash",
21*eed53cd4SHONG Yifan        "//cc:system_library.bzl",
22*eed53cd4SHONG Yifan        "@bazel_tools//tools/bash/runfiles",
23*eed53cd4SHONG Yifan    ],
24*eed53cd4SHONG Yifan    target_compatible_with = [
25*eed53cd4SHONG Yifan        "@platforms//os:linux",
26*eed53cd4SHONG Yifan    ],
27*eed53cd4SHONG Yifan)
28