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_glesv1_entries", textual_hdrs = [ "gl_entry.cpp", ], visibility = [ "//guest/GLESv1:__pkg__", ], ) cc_library( name = "gfxstream_guest_glesv1encoder", srcs = [ "GLEncoder.cpp", "GLEncoderUtils.cpp", "gl_client_context.cpp", "gl_enc.cpp", "gl_entry.cpp", ], hdrs = glob([ "**/*.h", ]), includes = [ ".", ], linkopts = [ # Search the current directory for this library's shared libs. # Used for the end2end tests which package all of the guest # libraries into a single `testdata` directory for testing. "-Wl,-rpath,'$$ORIGIN'", ], deps = [ "//common/logging:gfxstream_common_logging", "//guest/OpenglCodecCommon:gfxstream_guest_openglcodeccommon", "//guest/android-emu:gfxstream_guest_base", "@mesa//:mesa_gfxstream_guest_iostream", ], ) cc_shared_library( name = "gfxstream_guest_glesv1encoder_shared", dynamic_deps = [ "//guest/OpenglCodecCommon:gfxstream_guest_openglcodeccommon_shared", ], shared_lib_name = "libGLESv1_enc.so", deps = [ ":gfxstream_guest_glesv1encoder", ], )