load("@rules_cc//cc:defs.bzl", "cc_library", "cc_shared_library") package( default_applicable_licenses = ["//:gfxstream_license"], default_visibility = ["//:gfxstream"], ) cc_library( name = "gfxstream_guest_openglcodeccommon", srcs = [ "ChecksumCalculator.cpp", "EncoderDebug.cpp", "GLClientState.cpp", "GLESTextureUtils.cpp", "GLSharedGroup.cpp", "IndexRangeCache.cpp", "glUtils.cpp", ], hdrs = glob([ "*.h", "include/**/*.h", ]), includes = [ ".", "include", ], deps = [ "//common/etc:gfxstream_etc", "//common/logging:gfxstream_common_logging", "//guest/android-emu:gfxstream_guest_base", "//third_party/opengl:gfxstream_gles2_headers", "//third_party/opengl:gfxstream_gles3_headers", "//third_party/opengl:gfxstream_gles_headers", "@mesa//:mesa_gfxstream_guest_iostream", ], ) cc_shared_library( name = "gfxstream_guest_openglcodeccommon_shared", shared_lib_name = "libOpenglCodecCommon.so", deps = [ ":gfxstream_guest_openglcodeccommon", ], )