Files
Jason Macnak 9ff6a7307e Cleanup third party
* Rename third-party to third_party

 * Move drm, opengl, vulkan, x11 headers to third_party

 * Remove virgl_hw.h since we only use a couple enums

... as part of the releasing checklist.

Bug: b/403363880

Test: cd hardware/google/gfxstream
      mma

Test: cd hardware/google/gfxstream
      mkdir build && cd build
      cmake .. -G Ninja
      ninja

Test: meson setup \
        -Ddefault_library=static \
        -Dgfxstream-build=host \
        build

      meson compile -C build

Test: cd <emu main dev repo>
      cd external/qemu
      python android/build/python/cmake.py --gfxstream

Test: cd <emu main next repo>
      prebuilts/bazel/linux-x86_64/bazel test \
      --platforms=@//build/bazel/platforms:linux_x64 \
     @gfxstream//...
Change-Id: I078c9ae21e427ea67d5f51eabf63cd9d4689024c
2025-05-08 12:17:50 -07:00

61 lines
1.4 KiB
Plaintext

package {
default_applicable_licenses: ["hardware_google_gfxstream_license"],
}
cc_library_host_static {
name: "libgfxstream_graphics_detector_proto",
proto: {
export_proto_headers: true,
type: "full",
},
strip: {
keep_symbols: true,
},
srcs: ["GraphicsDetector.proto"],
}
cc_library_host_static {
name: "libgfxstream_graphics_detector",
srcs: [
"Egl.cpp",
"Gles.cpp",
"Image.cpp",
"Lib.cpp",
"GraphicsDetector.cpp",
"GraphicsDetectorGl.cpp",
"GraphicsDetectorVk.cpp",
"GraphicsDetectorVkExternalMemoryHost.cpp",
"GraphicsDetectorVkPrecisionQualifiersOnYuvSamplers.cpp",
"Subprocess.cpp",
"Vulkan.cpp",
],
header_libs: [
"libgfxstream_thirdparty_vulkan_headers",
],
static_libs: [
"libgfxstream_graphics_detector_proto",
"libprotobuf-cpp-full",
],
export_static_lib_headers: [
"libgfxstream_graphics_detector_proto",
],
local_include_dirs: [
".",
],
cflags: ["-O0"],
}
cc_binary_host {
name: "gfxstream_graphics_detector",
srcs: [
"DetectGraphics.cpp",
],
static_libs: [
"libgfxstream_graphics_detector_proto",
"libgfxstream_graphics_detector",
"libprotobuf-cpp-full",
],
cflags: ["-O0"],
stl: "libc++_static",
}