blob: 1d577ae9dd0ff9a0495706c03787c27be59569cc [file] [log] [blame]
Laszlo Csomor3e023182019-08-01 05:05:09 -07001load(":winsdk_toolchain.bzl", "WINDOWS_RESOURCE_COMPILER_TOOLCHAIN_TYPE", "windows_resource_compiler_toolchain")
2
3filegroup(
4 name = "srcs",
5 srcs = glob(["**"]),
6 visibility = ["//src:__pkg__"],
7)
8
9filegroup(
10 name = "srcs_for_testing",
11 testonly = 1,
12 srcs = [
13 "BUILD",
14 "win_res.bzl",
15 "winsdk_configure.bzl",
16 "winsdk_toolchain.bzl",
17 ],
18 visibility = ["//src/test/shell/bazel:__pkg__"],
19)
20
21# The toolchain type for every resource compiler toolchain.
22#
23# toolchain() rules must reference this by absolute label with repository
24# name. See WINDOWS_RESOURCE_COMPILER_TOOLCHAIN_TYPE.
25toolchain_type(
26 name = "toolchain_type",
27 visibility = ["//visibility:public"],
28)
29
30windows_resource_compiler_toolchain(
31 name = "empty",
32)
33
34toolchain(
35 name = "empty_rc_toolchain",
36 toolchain = ":empty",
37 toolchain_type = WINDOWS_RESOURCE_COMPILER_TOOLCHAIN_TYPE,
38)