1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
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",
"GfxstreamEnd2EndGlTests.cpp",
"GfxstreamEnd2EndVkTests.cpp",
"GfxstreamEnd2EndVkSnapshotBasicTests.cpp",
],
header_libs: [
"gfxstream_headers",
],
data_libs: [
"libGoldfishProfiler",
"libGLESv1_CM_emulation_with_host",
"libGLESv2_emulation_with_host",
"libEGL_emulation_with_host",
"libgfxstream_guest_vulkan_encoder_with_host",
"libgfxstream_guest_vulkan_with_host",
],
shared_libs: [
"libbase",
"libdrm",
"liblog",
"libgfxstream_backend",
"libOpenglSystemCommonWithHost",
],
static_libs: [
"gfxstream_base",
"gfxstream_host_common",
"gfxstream_snapshot",
"gfxstream_vulkan_cereal_host",
"libc++fs",
"libgmock",
"liblz4",
"libplatform_rutabaga",
],
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",
}
|