1# File: project_root/src/apigen-codec-common/BUILD 2 3cc_library( 4 name = "apigen-codec-common", 5 srcs = [ 6 "ChecksumCalculator.cpp", 7 "ChecksumCalculator.h", 8 "ChecksumCalculatorThreadInfo.cpp", 9 "ChecksumCalculatorThreadInfo.h", 10 "glUtils.cpp", 11 "glUtils.h", 12 ] + select({ 13 "@platforms//os:linux": [ 14 "X11Support.cpp", 15 "X11Support.h", 16 ], 17 "//conditions:default": [], 18 }), 19 hdrs = glob([ 20 "GL/**/*.h", 21 "X11/**/*.h", 22 ]) + [ 23 "GLDecoderContextData.h", 24 "ProtocolUtils.h", 25 "gl_base_types.h", 26 ], 27 copts = ["-fno-exceptions"], 28 defines = [ 29 "EMUGL_BUILD", 30 "BUILDING_EMUGL_COMMON_SHARED", 31 ], 32 includes = ["."], 33 visibility = ["//visibility:public"], 34 deps = [ 35 "//hardware/google/aemu/base:aemu-base-headers", 36 "//hardware/google/aemu/host-common:aemu-host-common", 37 "//hardware/google/gfxstream:gfxstream-gl-host-common-headers", 38 ], 39) 40