1# File: BUILD
2
3# Interface Library
4cc_library(
5    name = "gfxstream_utils_headers",
6    hdrs = glob(["include/**/*.h"]),
7    includes = ["include"],
8    visibility = ["//visibility:public"],
9    deps = [
10        "//hardware/google/aemu/base:aemu-base-headers",
11        "//hardware/google/aemu/host-common:aemu-host-common-headers",
12        "//hardware/google/gfxstream/common/vulkan:gfxstream_vulkan_headers",
13        "//hardware/google/gfxstream/third-party/renderdoc",
14    ],
15)
16
17cc_library(
18    name = "gfxstream_utils",
19    srcs = ["GfxApiLogger.cpp"],
20    visibility = ["//visibility:public"],
21    deps = [":gfxstream_utils_headers"],
22)
23
24# Conditional Executable (Test target)
25cc_test(
26    name = "gfxstream_utils_unittests",
27    srcs = [
28        "GfxApiLogger_unittest.cpp",
29        "RenderDoc_unittest.cpp",
30    ],
31    deps = [
32        ":gfxstream_utils",
33        "@com_google_googletest//:gtest_main",
34    ],
35)
36