1package {
2    // See: http://go/android-license-faq
3    default_applicable_licenses: ["hardware_google_gfxstream_license"],
4}
5
6cc_library_headers {
7    name: "libgfxstream_guest_rendercontrol_headers",
8    host_supported: true,
9    vendor: true,
10    defaults: [
11        "libgfxstream_guest_cc_defaults",
12    ],
13    export_include_dirs: [
14        "include",
15    ],
16    header_libs: [
17        "libhardware_headers",
18    ],
19    export_header_lib_headers: [
20        "libhardware_headers",
21    ],
22}
23
24cc_library_shared {
25    name: "libgfxstream_guest_rendercontrol_with_host",
26    host_supported: true,
27    vendor: true,
28    defaults: [
29        "libgfxstream_guest_cc_defaults",
30    ],
31    header_libs: [
32        "libgfxstream_guest_rendercontrol_headers",
33    ],
34    export_header_lib_headers: [
35        "libgfxstream_guest_rendercontrol_headers",
36    ],
37    shared_libs: [
38        "libOpenglSystemCommonWithHost",
39        "liblog",
40    ],
41    srcs: [
42        "RenderControl.cpp",
43    ],
44    cflags: [
45        "-DEND2END_TESTS",
46    ],
47    target: {
48        host: {
49            compile_multilib: "64",
50        },
51        android: {
52            compile_multilib: "64",
53        },
54    },
55}
56