1load("@rules_cc//cc:defs.bzl", "cc_library") 2 3cc_library( 4 name = "GLES_V2_translator_static", 5 srcs = [ 6 "ANGLEShaderParser.cpp", 7 "GLESv2Context.cpp", 8 "GLESv2Imp.cpp", 9 "GLESv2Validate.cpp", 10 "ProgramData.cpp", 11 "SamplerData.cpp", 12 "ShaderParser.cpp", 13 "ShaderValidator.cpp", 14 "TransformFeedbackData.cpp", 15 ] + glob(["*.h"]), 16 hdrs = [ 17 "GLESv2Imp.cpp", 18 "GLESv30Imp.cpp", 19 "GLESv31Imp.cpp", 20 "GLESv32Imp.cpp", 21 ], 22 copts = [ 23 "-Wno-extern-c-compat", 24 "-Wno-inconsistent-missing-override", 25 ], 26 defines = [ 27 "BUILDING_EMUGL_COMMON_SHARED", 28 ], 29 includes = ["."], 30 visibility = ["//visibility:public"], 31 deps = [ 32 "//:gfxstream-gl-host-common-headers", 33 "//host/apigen-codec-common", 34 "//host/gl:gl_common", 35 ], 36 alwayslink = True, 37) 38