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 "hardware_google_gfxstream_license"
5    // to get the below license kinds:
6    //   SPDX-license-identifier-Apache-2.0
7    default_applicable_licenses: ["hardware_google_gfxstream_license"],
8}
9
10cc_library_static {
11    name: "libgfxstream_host_glestranslator_glcommon",
12    defaults: ["gfxstream_defaults"],
13    cflags: [
14        "-fvisibility=hidden",
15        "-Wno-inconsistent-missing-override",
16        "-Wno-unused-parameter",
17        "-Wno-unused-function",
18    ],
19    header_libs: [
20        "gfxstream_opengl_headers",
21    ],
22    static_libs: [
23        "gfxstream_base",
24        "libgfxstream_etc",
25    ],
26    export_static_lib_headers: [
27        "libgfxstream_etc",
28    ],
29    srcs: [
30        "rgtc.cpp",
31        "FramebufferData.cpp",
32        "GLBackgroundLoader.cpp",
33        "GLDispatch.cpp",
34        "GLESbuffer.cpp",
35        "GLEScontext.cpp",
36        "GLESpointer.cpp",
37        "GLESvalidate.cpp",
38        "GLutils.cpp",
39        "NamedObject.cpp",
40        "ObjectData.cpp",
41        "ObjectNameSpace.cpp",
42        "PaletteTexture.cpp",
43        "RangeManip.cpp",
44        "SaveableTexture.cpp",
45        "ScopedGLState.cpp",
46        "ShareGroup.cpp",
47        "TextureData.cpp",
48        "TextureUtils.cpp",
49    ],
50}
51