blob: 3e7d6fa6282e98830dfbb595d19baaf060e681ea [file] [log] [blame]
# File: project_root/src/apigen-codec-common/BUILD
cc_library(
name = "apigen-codec-common",
srcs = [
"ChecksumCalculator.cpp",
"ChecksumCalculator.h",
"ChecksumCalculatorThreadInfo.cpp",
"ChecksumCalculatorThreadInfo.h",
"glUtils.cpp",
"glUtils.h",
] + select({
"@platforms//os:linux": [
"X11Support.cpp",
"X11Support.h",
],
"//conditions:default": [],
}),
hdrs = glob([
"GL/**/*.h",
"X11/**/*.h",
]) + [
"GLDecoderContextData.h",
"ProtocolUtils.h",
"gl_base_types.h",
],
defines = [
"EMUGL_BUILD",
"BUILDING_EMUGL_COMMON_SHARED",
],
includes = ["."],
visibility = ["//visibility:public"],
deps = [
"//hardware/google/aemu/base:aemu-base-headers",
"//hardware/google/aemu/host-common:aemu-host-common",
"//hardware/google/gfxstream:gfxstream-gl-host-common-headers",
],
)