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_glestranslator_egl", 12 defaults: ["gfxstream_defaults"], 13 header_libs: [ 14 "gfxstream_gl_host_common_headers", 15 "gfxstream_opengl_headers", 16 ], 17 static_libs: [ 18 "gfxstream_base", 19 "libgfxstream_host_apigen_codec_common", 20 "libgfxstream_host_glestranslator_glcommon", 21 "libgfxstream_glestranslator_glescm", 22 "libgfxstream_glestranslator_glesv2", 23 ], 24 cflags: [ 25 "-fvisibility=hidden", 26 "-Wno-inconsistent-missing-override", 27 ], 28 srcs: [ 29 "ClientAPIExts.cpp", 30 "EglConfig.cpp", 31 "EglContext.cpp", 32 "EglDisplay.cpp", 33 "EglGlobalInfo.cpp", 34 "EglImp.cpp", 35 "EglPbufferSurface.cpp", 36 "EglSurface.cpp", 37 "EglThreadInfo.cpp", 38 "EglValidate.cpp", 39 "EglWindowSurface.cpp", 40 "ShaderCache.cpp", 41 "ThreadInfo.cpp", 42 "CoreProfileConfigs_linux.cpp", 43 "EglOsApi_egl.cpp", 44 ], 45 target: { 46 host: { 47 srcs: [ 48 "EglOsApi_glx.cpp", 49 "X11ErrorHandler.cpp", 50 ], 51 }, 52 }, 53} 54