blob: f04252493965880231f0fa8869e9364a6c1fea3b [file] [log] [blame]
Erwin Jansenb45c0142024-03-15 14:36:45 -07001# 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"],
Erwin Jansen6c062a52024-08-09 08:00:41 -070020 copts = ["-fno-exceptions"],
Erwin Jansenb45c0142024-03-15 14:36:45 -070021 visibility = ["//visibility:public"],
22 deps = [":gfxstream_utils_headers"],
23)
24
25# Conditional Executable (Test target)
26cc_test(
27 name = "gfxstream_utils_unittests",
28 srcs = [
29 "GfxApiLogger_unittest.cpp",
30 "RenderDoc_unittest.cpp",
31 ],
32 deps = [
33 ":gfxstream_utils",
Erwin Jansen45e36042024-03-25 11:43:25 -070034 "@com_google_googletest//:gtest_main",
Erwin Jansenb45c0142024-03-15 14:36:45 -070035 ],
36)