1load("@rules_cc//cc:defs.bzl", "cc_library") 2 3cc_library( 4 name = "gfxstream-magma-server", 5 srcs = [ 6 "Decoder.cpp", 7 "magma_dec/magma_dec.cpp", 8 "magma_dec/magma_server_context.cpp", 9 ] + glob(["**/*.h"]), 10 includes = ["magma_dec"], 11 visibility = ["//visibility:public"], 12 deps = [ 13 "//host:gfxstream_host_headers", 14 "//host/apigen-codec-common", 15 "//third-party/fuchsia/magma:magma-headers", 16 ], 17) 18 19cc_library( 20 name = "magma-headers", 21 hdrs = glob(["*.h"]), 22 visibility = ["//visibility:public"], 23) 24