| Lorenz Brun | 296bde2 | 2021-09-28 15:04:40 +0200 | [diff] [blame] | 1 | load("@rules_cc//cc:defs.bzl", "cc_library") |
| 2 | |||||
| 3 | cc_library( | ||||
| 4 | name = "gnuefi", | ||||
| 5 | srcs = glob(["lib/*.c", "lib/runtime/*.c", "lib/x86_64/*.c"]), | ||||
| 6 | hdrs = glob(["inc/**/*.h"]), | ||||
| 7 | # Consumers expect this to be a system library, so add it to the transitive include paths | ||||
| 8 | includes = ["inc", "inc/x86_64"], | ||||
| 9 | visibility = ["//visibility:public"], | ||||
| 10 | ) | ||||