blob: f8ee7188dde24278546582f4a5c787a99cee9caf [file] [log] [blame]
package {
// See: http://go/android-license-faq
default_applicable_licenses: ["hardware_google_gfxstream_license"],
}
// Run with `atest --host GfxstreamEnd2EndTests`
cc_test_host {
name: "GfxstreamEnd2EndTests",
defaults: ["gfxstream_cc_defaults"],
srcs: [
"GfxstreamEnd2EndTests.cpp",
"GfxstreamEnd2EndTestUtils.cpp",
"GfxstreamEnd2EndCompositionTests.cpp",
"GfxstreamEnd2EndGlTests.cpp",
"GfxstreamEnd2EndVkTests.cpp",
"GfxstreamEnd2EndVkSnapshotBasicTests.cpp",
"GfxstreamEnd2EndVkSnapshotBufferTests.cpp",
"GfxstreamEnd2EndVkSnapshotImageTests.cpp",
"GfxstreamEnd2EndVkSnapshotPipelineTests.cpp",
],
header_libs: [
"gfxstream_headers",
"libgfxstream_guest_rendercontrol_headers",
],
data: [
"testdata/256x256_android.png",
"testdata/256x256_android_with_transparency.png",
"testdata/256x256_golden_basic_composition.png",
],
data_libs: [
"libEGL_emulation_with_host",
"libgfxstream_guest_rendercontrol_with_host",
"libgfxstream_guest_vulkan_with_host",
"libgfxstream_platform_rutabaga_server",
"libGLESv1_CM_emulation_with_host",
"libGLESv2_emulation_with_host",
],
shared_libs: [
"libandroidemu",
"libOpenglSystemCommonWithHost",
"libbase",
"liblog",
"libgfxstream_platform_rutabaga_server",
],
static_libs: [
"libc++fs",
"libgfxstream_common_image",
"libgfxstream_common_utils",
"libgfxstream_guest_android_with_host",
"libgfxstream_platform_rutabaga",
"libgfxstream_thirdparty_stb",
"libgmock",
],
cflags: [
// TODO: remove
"-DVK_USE_PLATFORM_ANDROID_KHR",
"-Wno-macro-redefined",
"-Wno-unused-parameter",
"-Wno-extern-c-compat",
],
test_options: {
// Disabled by default as requires host OpenGL and Vulkan.
unit_test: false,
},
test_suites: [
"general-tests",
],
compile_multilib: "64",
}