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 "device_generic_vulkan-cereal_license" 5 // to get the below license kinds: 6 // SPDX-license-identifier-Apache-2.0 7 default_applicable_licenses: ["device_generic_vulkan-cereal_license"], 8} 9 10cc_library_static { 11 name: "gfxstream_translator_egl", 12 defaults: [ "gfxstream_defaults" ], 13 static_libs: [ 14 "gfxstream_base", 15 "gfxstream_astc_codec", 16 "gfxstream_apigen_codec_common", 17 "gfxstream_translator_glcommon", 18 "gfxstream_translator_glescm", 19 "gfxstream_translator_glesv2", 20 ], 21 cflags: [ 22 "-fvisibility=hidden", 23 "-Wno-inconsistent-missing-override", 24 ], 25 srcs: 26 [ 27 "ClientAPIExts.cpp", 28 "EglConfig.cpp", 29 "EglContext.cpp", 30 "EglDisplay.cpp", 31 "EglGlobalInfo.cpp", 32 "EglImp.cpp", 33 "EglPbufferSurface.cpp", 34 "EglSurface.cpp", 35 "EglThreadInfo.cpp", 36 "EglValidate.cpp", 37 "EglWindowSurface.cpp", 38 "ShaderCache.cpp", 39 "ThreadInfo.cpp", 40 "CoreProfileConfigs_linux.cpp", 41 "EglOsApi_egl.cpp", 42 ], 43 target: { 44 host: { 45 srcs: [ "EglOsApi_glx.cpp", ], 46 } 47 } 48} 49