xref: /aosp_15_r20/frameworks/native/opengl/tests/EGLTest/Android.bp (revision 38e8c45f13ce32b0dcecb25141ffecaf386fa17f)
1package {
2    // See: http://go/android-license-faq
3    // A large-scale-change added 'default_applicable_licenses' to import
4    // all of the 'license_kinds' from "frameworks_native_license"
5    // to get the below license kinds:
6    //   SPDX-license-identifier-Apache-2.0
7    default_applicable_licenses: ["frameworks_native_license"],
8}
9
10cc_test {
11
12    name: "EGL_test",
13    test_suites: ["general-tests"],
14
15    srcs: [
16        "egl_cache_test.cpp",
17        "EGL_test.cpp",
18    ],
19
20    cflags: [
21        "-Wall",
22        "-Werror",
23    ],
24
25    shared_libs: [
26        "[email protected]",
27        "android.hardware.configstore-utils",
28        "libEGL",
29        "libegl_flags",
30        "libbase",
31        "libcutils",
32        "libbinder",
33        "libgui",
34        "libhidlbase",
35        "liblog",
36        "libutils",
37        "libnativewindow",
38        "libSurfaceFlingerProp",
39    ],
40
41    static_libs: [
42        "libgmock",
43        "libgtest",
44    ],
45
46    include_dirs: [
47        "frameworks/native/opengl/libs",
48        "frameworks/native/opengl/libs/EGL",
49    ],
50
51    header_libs: [
52        "bionic_libc_platform_headers",
53        "libsurfaceflinger_headers",
54    ],
55}
56