1load("@rules_cc//cc:defs.bzl", "cc_library") 2 3package(default_visibility = ["//visibility:public"]) 4 5filegroup( 6 name = "boot_param_hdrs", 7 srcs = [ 8 "boot_param.h", 9 "boot_param_platform.h", 10 "boot_param_types.h", 11 ], 12) 13 14filegroup( 15 name = "boot_param_srcs", 16 srcs = [ 17 "boot_param.c", 18 "cbor_basic.h", 19 "cbor_boot_param.h", 20 "cdi.h", 21 ], 22) 23 24cc_library( 25 name = "boot_param", 26 srcs = [ 27 ":boot_param_srcs" 28 ], 29 hdrs = [ 30 ":boot_param_hdrs" 31 ], 32 linkstatic = True, 33) 34