#![allow(non_camel_case_types)]
pub struct Data {
pub lib: &'static str,
pub sources: &'static [&'static str],
pub includes: &'static [&'static str],
pub defines: &'static [(&'static str, Option<&'static str>)],
pub os_libs: &'static [&'static str],
pub use_libs: &'static [Libs],
pub shared: bool,
}
#[derive(Copy, Clone, Debug, Eq, Hash, PartialEq)]
pub enum Libs {
ANGLE_COMMON,
ANGLE_GPU_INFO_UTIL,
ANGLE_IMAGE_UTIL,
COMPRESSION_UTILS_PORTABLE,
EGL,
GLESv2,
PREPROCESSOR,
TRANSLATOR,
}
impl Libs {
pub fn to_data(&self) -> Data {
match self {
Self::ANGLE_COMMON => ANGLE_COMMON,
Self::ANGLE_GPU_INFO_UTIL => ANGLE_GPU_INFO_UTIL,
Self::ANGLE_IMAGE_UTIL => ANGLE_IMAGE_UTIL,
Self::COMPRESSION_UTILS_PORTABLE => COMPRESSION_UTILS_PORTABLE,
Self::EGL => EGL,
Self::GLESv2 => GLESv2,
Self::PREPROCESSOR => PREPROCESSOR,
Self::TRANSLATOR => TRANSLATOR,
}
}
}
pub const ANGLE_COMMON: Data = Data {
lib: "angle_common",
sources: &[
"../../checkout/src/common/Float16ToFloat32.cpp",
"../../checkout/src/common/MemoryBuffer.cpp",
"../../checkout/src/common/PackedEGLEnums_autogen.cpp",
"../../checkout/src/common/PackedEnums.cpp",
"../../checkout/src/common/PackedGLEnums_autogen.cpp",
"../../checkout/src/common/PoolAlloc.cpp",
"../../checkout/src/common/aligned_memory.cpp",
"../../checkout/src/common/android_util.cpp",
"../../checkout/src/common/angleutils.cpp",
"../../checkout/src/common/debug.cpp",
"../../checkout/src/common/entry_points_enum_autogen.cpp",
"../../checkout/src/common/event_tracer.cpp",
"../../checkout/src/common/mathutil.cpp",
"../../checkout/src/common/matrix_utils.cpp",
"../../checkout/src/common/string_utils.cpp",
"../../checkout/src/common/system_utils.cpp",
"../../checkout/src/common/third_party/base/anglebase/sha1.cc",
"../../checkout/src/common/third_party/smhasher/src/PMurHash.cpp",
"../../checkout/src/common/third_party/xxhash/xxhash.c",
"../../checkout/src/common/tls.cpp",
"../../checkout/src/common/uniform_type_info_autogen.cpp",
"../../checkout/src/common/utilities.cpp",
],
includes: &[
"../../checkout/include/",
"../../checkout/src/",
"../../checkout/src/common/third_party/base/",
],
defines: &[
("ANGLE_DISABLE_POOL_ALLOC", None),
("ANGLE_ENABLE_KEYEDMUTEX", None),
("ANGLE_ENABLE_SHARE_CONTEXT_LOCK", Some("1")),
("ANGLE_PLATFORM_EXPORT", Some("")),
("ANGLE_SKIP_DXGI_1_2_CHECK", None),
("ANGLE_TRANSLATOR_ESSL_ONLY", None),
("ANGLE_VMA_VERSION", Some("2003000")),
("CR_CLANG_REVISION", Some("\"llvmorg-16-init-6578-g0d30e92f-2\"")),
("DYNAMIC_ANNOTATIONS_ENABLED", Some("0")),
("NOMINMAX", None),
("UNICODE", None),
("WINVER", Some("0x0A00")),
("_ATL_NO_OPENGL", None),
("_CRT_NONSTDC_NO_WARNINGS", None),
("_CRT_RAND_S", None),
("_CRT_SECURE_NO_DEPRECATE", None),
("_HAS_EXCEPTIONS", Some("0")),
("_SCL_SECURE_NO_DEPRECATE", None),
("_SECURE_ATL", None),
("_UNICODE", None),
("_WINSOCK_DEPRECATED_NO_WARNINGS", None),
("__NDK_FPABI__", Some("")),
],
os_libs: &[
],
use_libs: &[
],
shared: false,
};
pub const ANGLE_GPU_INFO_UTIL: Data = Data {
lib: "angle_gpu_info_util",
sources: &[
"../../checkout/src/common/vulkan/libvulkan_loader.cpp",
"../../checkout/src/common/vulkan/vulkan_icd.cpp",
"../../checkout/src/gpu_info_util/SystemInfo.cpp",
"../../checkout/src/gpu_info_util/SystemInfo_vulkan.cpp",
"../../checkout/src/third_party/volk/volk.c",
],
includes: &[
"../../checkout/",
"../../checkout/include/",
"../../checkout/out/gen/",
"../../checkout/src/",
"../../checkout/src/common/third_party/base/",
"../../checkout/src/third_party/volk/",
"../../checkout/third_party/vulkan-deps/vulkan-headers/src/include/",
],
defines: &[
("ANGLE_DISABLE_POOL_ALLOC", None),
("ANGLE_ENABLE_D3D11", None),
("ANGLE_ENABLE_D3D11_COMPOSITOR_NATIVE_WINDOW", None),
("ANGLE_ENABLE_D3D9", None),
("ANGLE_ENABLE_KEYEDMUTEX", None),
("ANGLE_ENABLE_SHARE_CONTEXT_LOCK", Some("1")),
("ANGLE_PLATFORM_EXPORT", Some("")),
("ANGLE_SHARED_LIBVULKAN", Some("1")),
("ANGLE_SKIP_DXGI_1_2_CHECK", None),
("ANGLE_TRANSLATOR_ESSL_ONLY", None),
("ANGLE_USE_CUSTOM_LIBVULKAN", None),
("ANGLE_VK_LAYERS_DIR", Some("\"angledata\"")),
("ANGLE_VK_MOCK_ICD_JSON", Some("\"angledata/VkICD_mock_icd.json\"")),
("ANGLE_VMA_VERSION", Some("2003000")),
("CR_CLANG_REVISION", Some("\"llvmorg-16-init-6578-g0d30e92f-2\"")),
("DYNAMIC_ANNOTATIONS_ENABLED", Some("0")),
("NOMINMAX", None),
("UNICODE", None),
("WINVER", Some("0x0A00")),
("_ATL_NO_OPENGL", None),
("_CRT_NONSTDC_NO_WARNINGS", None),
("_CRT_RAND_S", None),
("_CRT_SECURE_NO_DEPRECATE", None),
("_HAS_EXCEPTIONS", Some("0")),
("_SCL_SECURE_NO_DEPRECATE", None),
("_SECURE_ATL", None),
("_UNICODE", None),
("_WINSOCK_DEPRECATED_NO_WARNINGS", None),
("__NDK_FPABI__", Some("")),
],
os_libs: &[
"dxgi",
"setupapi",
],
use_libs: &[
Libs::ANGLE_COMMON,
],
shared: false,
};
pub const ANGLE_IMAGE_UTIL: Data = Data {
lib: "angle_image_util",
sources: &[
"../../checkout/src/image_util/copyimage.cpp",
"../../checkout/src/image_util/imageformats.cpp",
"../../checkout/src/image_util/loadimage.cpp",
"../../checkout/src/image_util/loadimage_astc.cpp",
"../../checkout/src/image_util/loadimage_etc.cpp",
"../../checkout/src/image_util/loadimage_paletted.cpp",
],
includes: &[
"../../checkout/include/",
"../../checkout/src/",
"../../checkout/src/common/third_party/base/",
],
defines: &[
("ANGLE_DISABLE_POOL_ALLOC", None),
("ANGLE_ENABLE_KEYEDMUTEX", None),
("ANGLE_ENABLE_SHARE_CONTEXT_LOCK", Some("1")),
("ANGLE_PLATFORM_EXPORT", Some("")),
("ANGLE_SKIP_DXGI_1_2_CHECK", None),
("ANGLE_TRANSLATOR_ESSL_ONLY", None),
("ANGLE_VMA_VERSION", Some("2003000")),
("CR_CLANG_REVISION", Some("\"llvmorg-16-init-6578-g0d30e92f-2\"")),
("DYNAMIC_ANNOTATIONS_ENABLED", Some("0")),
("NOMINMAX", None),
("UNICODE", None),
("WINVER", Some("0x0A00")),
("_ATL_NO_OPENGL", None),
("_CRT_NONSTDC_NO_WARNINGS", None),
("_CRT_RAND_S", None),
("_CRT_SECURE_NO_DEPRECATE", None),
("_HAS_EXCEPTIONS", Some("0")),
("_SCL_SECURE_NO_DEPRECATE", None),
("_SECURE_ATL", None),
("_UNICODE", None),
("_WINSOCK_DEPRECATED_NO_WARNINGS", None),
("__NDK_FPABI__", Some("")),
],
os_libs: &[
],
use_libs: &[
Libs::ANGLE_COMMON,
],
shared: false,
};
pub const COMPRESSION_UTILS_PORTABLE: Data = Data {
lib: "compression_utils_portable",
sources: &[
"../../checkout/third_party/zlib/google/compression_utils_portable.cc",
],
includes: &[
"../../checkout/",
"../../checkout/out/gen/",
"../../checkout/third_party/zlib/",
],
defines: &[
("ANGLE_ENABLE_KEYEDMUTEX", None),
("ANGLE_PLATFORM_EXPORT", Some("")),
("ANGLE_SKIP_DXGI_1_2_CHECK", None),
("ANGLE_TRANSLATOR_ESSL_ONLY", None),
("CR_CLANG_REVISION", Some("\"llvmorg-16-init-6578-g0d30e92f-2\"")),
("DYNAMIC_ANNOTATIONS_ENABLED", Some("0")),
("NOMINMAX", None),
("UNICODE", None),
("WINVER", Some("0x0A00")),
("_ATL_NO_OPENGL", None),
("_CRT_NONSTDC_NO_WARNINGS", None),
("_CRT_RAND_S", None),
("_CRT_SECURE_NO_DEPRECATE", None),
("_HAS_EXCEPTIONS", Some("0")),
("_SCL_SECURE_NO_DEPRECATE", None),
("_SECURE_ATL", None),
("_UNICODE", None),
("_WINSOCK_DEPRECATED_NO_WARNINGS", None),
("__NDK_FPABI__", Some("")),
],
os_libs: &[
],
use_libs: &[
],
shared: false,
};
pub const EGL: Data = Data {
lib: "libEGL",
sources: &[
"../../checkout/src/libEGL/egl_loader_autogen.cpp",
"../../checkout/src/libEGL/libEGL_autogen.cpp",
],
includes: &[
"../../checkout/include/",
"../../checkout/out/gen/angle/",
"../../checkout/src/",
"../../checkout/src/common/third_party/base/",
],
defines: &[
("ANGLE_DISABLE_POOL_ALLOC", None),
("ANGLE_ENABLE_KEYEDMUTEX", None),
("ANGLE_ENABLE_SHARE_CONTEXT_LOCK", Some("1")),
("ANGLE_GLESV2_LIBRARY_NAME", Some("\"libGLESv2\"")),
("ANGLE_PLATFORM_EXPORT", Some("")),
("ANGLE_SKIP_DXGI_1_2_CHECK", None),
("ANGLE_TRANSLATOR_ESSL_ONLY", None),
("ANGLE_VMA_VERSION", Some("2003000")),
("CR_CLANG_REVISION", Some("\"llvmorg-16-init-6578-g0d30e92f-2\"")),
("DYNAMIC_ANNOTATIONS_ENABLED", Some("0")),
("EGLAPI", Some("")),
("EGL_EGLEXT_PROTOTYPES", None),
("EGL_EGL_PROTOTYPES", Some("1")),
("GL_GLES_PROTOTYPES", Some("1")),
("GL_GLEXT_PROTOTYPES", None),
("LIBEGL_IMPLEMENTATION", None),
("NOMINMAX", None),
("UNICODE", None),
("WINVER", Some("0x0A00")),
("_ATL_NO_OPENGL", None),
("_CRT_NONSTDC_NO_WARNINGS", None),
("_CRT_RAND_S", None),
("_CRT_SECURE_NO_DEPRECATE", None),
("_HAS_EXCEPTIONS", Some("0")),
("_SCL_SECURE_NO_DEPRECATE", None),
("_SECURE_ATL", None),
("_UNICODE", None),
("_WINSOCK_DEPRECATED_NO_WARNINGS", None),
("__NDK_FPABI__", Some("")),
],
os_libs: &[
"advapi32",
"comdlg32",
"dbghelp",
"delayimp",
"dnsapi",
"gdi32",
"kernel32",
"msimg32",
"odbc32",
"odbccp32",
"ole32",
"oleaut32",
"shell32",
"shlwapi",
"user32",
"usp10",
"uuid",
"version",
"wininet",
"winmm",
"winspool",
"ws2_32",
],
use_libs: &[
Libs::ANGLE_COMMON,
Libs::GLESv2,
],
shared: true,
};
pub const GLESv2: Data = Data {
lib: "libGLESv2",
sources: &[
"../../checkout/src/common/angle_version_info.cpp",
"../../checkout/src/libANGLE/AttributeMap.cpp",
"../../checkout/src/libANGLE/BlobCache.cpp",
"../../checkout/src/libANGLE/Buffer.cpp",
"../../checkout/src/libANGLE/Caps.cpp",
"../../checkout/src/libANGLE/Compiler.cpp",
"../../checkout/src/libANGLE/Config.cpp",
"../../checkout/src/libANGLE/Context.cpp",
"../../checkout/src/libANGLE/Context_gl.cpp",
"../../checkout/src/libANGLE/Context_gles_1_0.cpp",
"../../checkout/src/libANGLE/Debug.cpp",
"../../checkout/src/libANGLE/Device.cpp",
"../../checkout/src/libANGLE/Display.cpp",
"../../checkout/src/libANGLE/EGLSync.cpp",
"../../checkout/src/libANGLE/Error.cpp",
"../../checkout/src/libANGLE/Fence.cpp",
"../../checkout/src/libANGLE/Framebuffer.cpp",
"../../checkout/src/libANGLE/FramebufferAttachment.cpp",
"../../checkout/src/libANGLE/GLES1Renderer.cpp",
"../../checkout/src/libANGLE/GLES1State.cpp",
"../../checkout/src/libANGLE/HandleAllocator.cpp",
"../../checkout/src/libANGLE/Image.cpp",
"../../checkout/src/libANGLE/ImageIndex.cpp",
"../../checkout/src/libANGLE/IndexRangeCache.cpp",
"../../checkout/src/libANGLE/LoggingAnnotator.cpp",
"../../checkout/src/libANGLE/MemoryObject.cpp",
"../../checkout/src/libANGLE/MemoryProgramCache.cpp",
"../../checkout/src/libANGLE/MemoryShaderCache.cpp",
"../../checkout/src/libANGLE/Observer.cpp",
"../../checkout/src/libANGLE/Overlay.cpp",
"../../checkout/src/libANGLE/OverlayWidgets.cpp",
"../../checkout/src/libANGLE/Overlay_autogen.cpp",
"../../checkout/src/libANGLE/Overlay_font_autogen.cpp",
"../../checkout/src/libANGLE/PixelLocalStorage.cpp",
"../../checkout/src/libANGLE/Platform.cpp",
"../../checkout/src/libANGLE/Program.cpp",
"../../checkout/src/libANGLE/ProgramExecutable.cpp",
"../../checkout/src/libANGLE/ProgramLinkedResources.cpp",
"../../checkout/src/libANGLE/ProgramPipeline.cpp",
"../../checkout/src/libANGLE/Query.cpp",
"../../checkout/src/libANGLE/Renderbuffer.cpp",
"../../checkout/src/libANGLE/ResourceManager.cpp",
"../../checkout/src/libANGLE/Sampler.cpp",
"../../checkout/src/libANGLE/Semaphore.cpp",
"../../checkout/src/libANGLE/Shader.cpp",
"../../checkout/src/libANGLE/State.cpp",
"../../checkout/src/libANGLE/Stream.cpp",
"../../checkout/src/libANGLE/Surface.cpp",
"../../checkout/src/libANGLE/Texture.cpp",
"../../checkout/src/libANGLE/Thread.cpp",
"../../checkout/src/libANGLE/TransformFeedback.cpp",
"../../checkout/src/libANGLE/Uniform.cpp",
"../../checkout/src/libANGLE/VaryingPacking.cpp",
"../../checkout/src/libANGLE/VertexArray.cpp",
"../../checkout/src/libANGLE/VertexAttribute.cpp",
"../../checkout/src/libANGLE/WorkerThread.cpp",
"../../checkout/src/libANGLE/angletypes.cpp",
"../../checkout/src/libANGLE/capture/FrameCapture_mock.cpp",
"../../checkout/src/libANGLE/capture/frame_capture_utils_mock.cpp",
"../../checkout/src/libANGLE/es3_copy_conversion_table_autogen.cpp",
"../../checkout/src/libANGLE/format_map_autogen.cpp",
"../../checkout/src/libANGLE/format_map_desktop.cpp",
"../../checkout/src/libANGLE/formatutils.cpp",
"../../checkout/src/libANGLE/gles_extensions_autogen.cpp",
"../../checkout/src/libANGLE/queryconversions.cpp",
"../../checkout/src/libANGLE/queryutils.cpp",
"../../checkout/src/libANGLE/renderer/BufferImpl.cpp",
"../../checkout/src/libANGLE/renderer/ContextImpl.cpp",
"../../checkout/src/libANGLE/renderer/DeviceImpl.cpp",
"../../checkout/src/libANGLE/renderer/DisplayImpl.cpp",
"../../checkout/src/libANGLE/renderer/EGLReusableSync.cpp",
"../../checkout/src/libANGLE/renderer/EGLSyncImpl.cpp",
"../../checkout/src/libANGLE/renderer/Format_table_autogen.cpp",
"../../checkout/src/libANGLE/renderer/FramebufferImpl.cpp",
"../../checkout/src/libANGLE/renderer/ImageImpl.cpp",
"../../checkout/src/libANGLE/renderer/ProgramImpl.cpp",
"../../checkout/src/libANGLE/renderer/ProgramPipelineImpl.cpp",
"../../checkout/src/libANGLE/renderer/QueryImpl.cpp",
"../../checkout/src/libANGLE/renderer/RenderbufferImpl.cpp",
"../../checkout/src/libANGLE/renderer/ShaderImpl.cpp",
"../../checkout/src/libANGLE/renderer/SurfaceImpl.cpp",
"../../checkout/src/libANGLE/renderer/TextureImpl.cpp",
"../../checkout/src/libANGLE/renderer/TransformFeedbackImpl.cpp",
"../../checkout/src/libANGLE/renderer/VertexArrayImpl.cpp",
"../../checkout/src/libANGLE/renderer/d3d/BufferD3D.cpp",
"../../checkout/src/libANGLE/renderer/d3d/CompilerD3D.cpp",
"../../checkout/src/libANGLE/renderer/d3d/DeviceD3D.cpp",
"../../checkout/src/libANGLE/renderer/d3d/DisplayD3D.cpp",
"../../checkout/src/libANGLE/renderer/d3d/DynamicHLSL.cpp",
"../../checkout/src/libANGLE/renderer/d3d/DynamicImage2DHLSL.cpp",
"../../checkout/src/libANGLE/renderer/d3d/EGLImageD3D.cpp",
"../../checkout/src/libANGLE/renderer/d3d/FramebufferD3D.cpp",
"../../checkout/src/libANGLE/renderer/d3d/HLSLCompiler.cpp",
"../../checkout/src/libANGLE/renderer/d3d/ImageD3D.cpp",
"../../checkout/src/libANGLE/renderer/d3d/IndexBuffer.cpp",
"../../checkout/src/libANGLE/renderer/d3d/IndexDataManager.cpp",
"../../checkout/src/libANGLE/renderer/d3d/NativeWindowD3D.cpp",
"../../checkout/src/libANGLE/renderer/d3d/ProgramD3D.cpp",
"../../checkout/src/libANGLE/renderer/d3d/RenderTargetD3D.cpp",
"../../checkout/src/libANGLE/renderer/d3d/RenderbufferD3D.cpp",
"../../checkout/src/libANGLE/renderer/d3d/RendererD3D.cpp",
"../../checkout/src/libANGLE/renderer/d3d/ShaderD3D.cpp",
"../../checkout/src/libANGLE/renderer/d3d/ShaderExecutableD3D.cpp",
"../../checkout/src/libANGLE/renderer/d3d/SurfaceD3D.cpp",
"../../checkout/src/libANGLE/renderer/d3d/SwapChainD3D.cpp",
"../../checkout/src/libANGLE/renderer/d3d/TextureD3D.cpp",
"../../checkout/src/libANGLE/renderer/d3d/VertexBuffer.cpp",
"../../checkout/src/libANGLE/renderer/d3d/VertexDataManager.cpp",
"../../checkout/src/libANGLE/renderer/d3d/d3d11/Blit11.cpp",
"../../checkout/src/libANGLE/renderer/d3d/d3d11/Buffer11.cpp",
"../../checkout/src/libANGLE/renderer/d3d/d3d11/Clear11.cpp",
"../../checkout/src/libANGLE/renderer/d3d/d3d11/Context11.cpp",
"../../checkout/src/libANGLE/renderer/d3d/d3d11/DebugAnnotator11.cpp",
"../../checkout/src/libANGLE/renderer/d3d/d3d11/ExternalImageSiblingImpl11.cpp",
"../../checkout/src/libANGLE/renderer/d3d/d3d11/Fence11.cpp",
"../../checkout/src/libANGLE/renderer/d3d/d3d11/Framebuffer11.cpp",
"../../checkout/src/libANGLE/renderer/d3d/d3d11/Image11.cpp",
"../../checkout/src/libANGLE/renderer/d3d/d3d11/IndexBuffer11.cpp",
"../../checkout/src/libANGLE/renderer/d3d/d3d11/InputLayoutCache.cpp",
"../../checkout/src/libANGLE/renderer/d3d/d3d11/MappedSubresourceVerifier11.cpp",
"../../checkout/src/libANGLE/renderer/d3d/d3d11/PixelTransfer11.cpp",
"../../checkout/src/libANGLE/renderer/d3d/d3d11/Program11.cpp",
"../../checkout/src/libANGLE/renderer/d3d/d3d11/ProgramPipeline11.cpp",
"../../checkout/src/libANGLE/renderer/d3d/d3d11/Query11.cpp",
"../../checkout/src/libANGLE/renderer/d3d/d3d11/RenderStateCache.cpp",
"../../checkout/src/libANGLE/renderer/d3d/d3d11/RenderTarget11.cpp",
"../../checkout/src/libANGLE/renderer/d3d/d3d11/Renderer11.cpp",
"../../checkout/src/libANGLE/renderer/d3d/d3d11/ResourceManager11.cpp",
"../../checkout/src/libANGLE/renderer/d3d/d3d11/ShaderExecutable11.cpp",
"../../checkout/src/libANGLE/renderer/d3d/d3d11/StateManager11.cpp",
"../../checkout/src/libANGLE/renderer/d3d/d3d11/StreamProducerD3DTexture.cpp",
"../../checkout/src/libANGLE/renderer/d3d/d3d11/SwapChain11.cpp",
"../../checkout/src/libANGLE/renderer/d3d/d3d11/TextureStorage11.cpp",
"../../checkout/src/libANGLE/renderer/d3d/d3d11/TransformFeedback11.cpp",
"../../checkout/src/libANGLE/renderer/d3d/d3d11/Trim11.cpp",
"../../checkout/src/libANGLE/renderer/d3d/d3d11/VertexArray11.cpp",
"../../checkout/src/libANGLE/renderer/d3d/d3d11/VertexBuffer11.cpp",
"../../checkout/src/libANGLE/renderer/d3d/d3d11/converged/CompositorNativeWindow11.cpp",
"../../checkout/src/libANGLE/renderer/d3d/d3d11/formatutils11.cpp",
"../../checkout/src/libANGLE/renderer/d3d/d3d11/renderer11_utils.cpp",
"../../checkout/src/libANGLE/renderer/d3d/d3d11/texture_format_table.cpp",
"../../checkout/src/libANGLE/renderer/d3d/d3d11/texture_format_table_autogen.cpp",
"../../checkout/src/libANGLE/renderer/d3d/d3d11/win32/NativeWindow11Win32.cpp",
"../../checkout/src/libANGLE/renderer/d3d/d3d9/Blit9.cpp",
"../../checkout/src/libANGLE/renderer/d3d/d3d9/Buffer9.cpp",
"../../checkout/src/libANGLE/renderer/d3d/d3d9/Context9.cpp",
"../../checkout/src/libANGLE/renderer/d3d/d3d9/DebugAnnotator9.cpp",
"../../checkout/src/libANGLE/renderer/d3d/d3d9/Fence9.cpp",
"../../checkout/src/libANGLE/renderer/d3d/d3d9/Framebuffer9.cpp",
"../../checkout/src/libANGLE/renderer/d3d/d3d9/Image9.cpp",
"../../checkout/src/libANGLE/renderer/d3d/d3d9/IndexBuffer9.cpp",
"../../checkout/src/libANGLE/renderer/d3d/d3d9/NativeWindow9.cpp",
"../../checkout/src/libANGLE/renderer/d3d/d3d9/Query9.cpp",
"../../checkout/src/libANGLE/renderer/d3d/d3d9/RenderTarget9.cpp",
"../../checkout/src/libANGLE/renderer/d3d/d3d9/Renderer9.cpp",
"../../checkout/src/libANGLE/renderer/d3d/d3d9/ShaderExecutable9.cpp",
"../../checkout/src/libANGLE/renderer/d3d/d3d9/StateManager9.cpp",
"../../checkout/src/libANGLE/renderer/d3d/d3d9/SwapChain9.cpp",
"../../checkout/src/libANGLE/renderer/d3d/d3d9/TextureStorage9.cpp",
"../../checkout/src/libANGLE/renderer/d3d/d3d9/VertexBuffer9.cpp",
"../../checkout/src/libANGLE/renderer/d3d/d3d9/VertexDeclarationCache.cpp",
"../../checkout/src/libANGLE/renderer/d3d/d3d9/formatutils9.cpp",
"../../checkout/src/libANGLE/renderer/d3d/d3d9/renderer9_utils.cpp",
"../../checkout/src/libANGLE/renderer/d3d/driver_utils_d3d.cpp",
"../../checkout/src/libANGLE/renderer/d3d_format.cpp",
"../../checkout/src/libANGLE/renderer/driver_utils.cpp",
"../../checkout/src/libANGLE/renderer/dxgi_format_map_autogen.cpp",
"../../checkout/src/libANGLE/renderer/dxgi_support_table_autogen.cpp",
"../../checkout/src/libANGLE/renderer/load_functions_table_autogen.cpp",
"../../checkout/src/libANGLE/renderer/renderer_utils.cpp",
"../../checkout/src/libANGLE/validationEGL.cpp",
"../../checkout/src/libANGLE/validationES.cpp",
"../../checkout/src/libANGLE/validationES1.cpp",
"../../checkout/src/libANGLE/validationES2.cpp",
"../../checkout/src/libANGLE/validationES3.cpp",
"../../checkout/src/libANGLE/validationES31.cpp",
"../../checkout/src/libANGLE/validationES32.cpp",
"../../checkout/src/libANGLE/validationESEXT.cpp",
"../../checkout/src/libANGLE/validationGL1.cpp",
"../../checkout/src/libANGLE/validationGL2.cpp",
"../../checkout/src/libANGLE/validationGL3.cpp",
"../../checkout/src/libANGLE/validationGL4.cpp",
"../../checkout/src/libGLESv2/egl_ext_stubs.cpp",
"../../checkout/src/libGLESv2/egl_stubs.cpp",
"../../checkout/src/libGLESv2/entry_points_egl_autogen.cpp",
"../../checkout/src/libGLESv2/entry_points_egl_ext_autogen.cpp",
"../../checkout/src/libGLESv2/entry_points_gles_1_0_autogen.cpp",
"../../checkout/src/libGLESv2/entry_points_gles_2_0_autogen.cpp",
"../../checkout/src/libGLESv2/entry_points_gles_3_0_autogen.cpp",
"../../checkout/src/libGLESv2/entry_points_gles_3_1_autogen.cpp",
"../../checkout/src/libGLESv2/entry_points_gles_3_2_autogen.cpp",
"../../checkout/src/libGLESv2/entry_points_gles_ext_autogen.cpp",
"../../checkout/src/libGLESv2/global_state.cpp",
"../../checkout/src/libGLESv2/libGLESv2_autogen.cpp",
"../../checkout/src/libGLESv2/proc_table_egl_autogen.cpp",
"../../checkout/src/third_party/systeminfo/SystemInfo.cpp",
],
includes: &[
"../../checkout/include/",
"../../checkout/out/gen/angle/",
"../../checkout/src/",
"../../checkout/src/common/third_party/base/",
"../../checkout/third_party/zlib/",
"../../checkout/third_party/zlib/google/",
],
defines: &[
("ANGLE_CAPTURE_ENABLED", Some("0")),
("ANGLE_DISABLE_POOL_ALLOC", None),
("ANGLE_ENABLE_D3D11", None),
("ANGLE_ENABLE_D3D11_COMPOSITOR_NATIVE_WINDOW", None),
("ANGLE_ENABLE_D3D9", None),
("ANGLE_ENABLE_KEYEDMUTEX", None),
("ANGLE_ENABLE_SHARE_CONTEXT_LOCK", Some("1")),
("ANGLE_PLATFORM_EXPORT", Some("")),
("ANGLE_SKIP_DXGI_1_2_CHECK", None),
("ANGLE_TRANSLATOR_ESSL_ONLY", None),
("ANGLE_VMA_VERSION", Some("2003000")),
("CR_CLANG_REVISION", Some("\"llvmorg-16-init-6578-g0d30e92f-2\"")),
("DYNAMIC_ANNOTATIONS_ENABLED", Some("0")),
("EGL_EGLEXT_PROTOTYPES", None),
("EGL_EGL_PROTOTYPES", Some("1")),
("GL_API", Some("")),
("GL_APICALL", Some("")),
("GL_GLES_PROTOTYPES", Some("1")),
("GL_GLEXT_PROTOTYPES", None),
("LIBANGLE_IMPLEMENTATION", None),
("LIBGLESV2_IMPLEMENTATION", None),
("NOMINMAX", None),
("UNICODE", None),
("WINVER", Some("0x0A00")),
("_ATL_NO_OPENGL", None),
("_CRT_NONSTDC_NO_WARNINGS", None),
("_CRT_RAND_S", None),
("_CRT_SECURE_NO_DEPRECATE", None),
("_HAS_EXCEPTIONS", Some("0")),
("_SCL_SECURE_NO_DEPRECATE", None),
("_SECURE_ATL", None),
("_UNICODE", None),
("_WINSOCK_DEPRECATED_NO_WARNINGS", None),
("__NDK_FPABI__", Some("")),
],
os_libs: &[
"advapi32",
"comdlg32",
"d3d9",
"dbghelp",
"delayimp",
"dnsapi",
"dxgi",
"dxguid",
"gdi32",
"kernel32",
"msimg32",
"odbc32",
"odbccp32",
"ole32",
"oleaut32",
"setupapi",
"shell32",
"shlwapi",
"user32",
"usp10",
"uuid",
"version",
"wininet",
"winmm",
"winspool",
"ws2_32",
],
use_libs: &[
Libs::ANGLE_COMMON,
Libs::ANGLE_GPU_INFO_UTIL,
Libs::ANGLE_IMAGE_UTIL,
Libs::COMPRESSION_UTILS_PORTABLE,
Libs::TRANSLATOR,
],
shared: true,
};
pub const PREPROCESSOR: Data = Data {
lib: "preprocessor",
sources: &[
"../../checkout/src/compiler/preprocessor/DiagnosticsBase.cpp",
"../../checkout/src/compiler/preprocessor/DirectiveHandlerBase.cpp",
"../../checkout/src/compiler/preprocessor/DirectiveParser.cpp",
"../../checkout/src/compiler/preprocessor/Input.cpp",
"../../checkout/src/compiler/preprocessor/Lexer.cpp",
"../../checkout/src/compiler/preprocessor/Macro.cpp",
"../../checkout/src/compiler/preprocessor/MacroExpander.cpp",
"../../checkout/src/compiler/preprocessor/Preprocessor.cpp",
"../../checkout/src/compiler/preprocessor/Token.cpp",
"../../checkout/src/compiler/preprocessor/preprocessor_lex_autogen.cpp",
"../../checkout/src/compiler/preprocessor/preprocessor_tab_autogen.cpp",
],
includes: &[
"../../checkout/include/",
"../../checkout/src/",
"../../checkout/src/common/third_party/base/",
],
defines: &[
("ANGLE_DISABLE_POOL_ALLOC", None),
("ANGLE_ENABLE_KEYEDMUTEX", None),
("ANGLE_ENABLE_SHARE_CONTEXT_LOCK", Some("1")),
("ANGLE_PLATFORM_EXPORT", Some("")),
("ANGLE_SKIP_DXGI_1_2_CHECK", None),
("ANGLE_TRANSLATOR_ESSL_ONLY", None),
("ANGLE_VMA_VERSION", Some("2003000")),
("CR_CLANG_REVISION", Some("\"llvmorg-16-init-6578-g0d30e92f-2\"")),
("DYNAMIC_ANNOTATIONS_ENABLED", Some("0")),
("NOMINMAX", None),
("UNICODE", None),
("WINVER", Some("0x0A00")),
("_ATL_NO_OPENGL", None),
("_CRT_NONSTDC_NO_WARNINGS", None),
("_CRT_RAND_S", None),
("_CRT_SECURE_NO_DEPRECATE", None),
("_HAS_EXCEPTIONS", Some("0")),
("_SCL_SECURE_NO_DEPRECATE", None),
("_SECURE_ATL", None),
("_UNICODE", None),
("_WINSOCK_DEPRECATED_NO_WARNINGS", None),
("__NDK_FPABI__", Some("")),
],
os_libs: &[
],
use_libs: &[
Libs::ANGLE_COMMON,
],
shared: false,
};
pub const TRANSLATOR: Data = Data {
lib: "translator",
sources: &[
"../../checkout/src/compiler/translator/ASTMetadataHLSL.cpp",
"../../checkout/src/compiler/translator/AtomicCounterFunctionHLSL.cpp",
"../../checkout/src/compiler/translator/BaseTypes.cpp",
"../../checkout/src/compiler/translator/BuiltInFunctionEmulator.cpp",
"../../checkout/src/compiler/translator/BuiltInFunctionEmulatorGLSL.cpp",
"../../checkout/src/compiler/translator/BuiltInFunctionEmulatorHLSL.cpp",
"../../checkout/src/compiler/translator/BuiltinsWorkaroundGLSL.cpp",
"../../checkout/src/compiler/translator/CallDAG.cpp",
"../../checkout/src/compiler/translator/CodeGen.cpp",
"../../checkout/src/compiler/translator/CollectVariables.cpp",
"../../checkout/src/compiler/translator/Compiler.cpp",
"../../checkout/src/compiler/translator/ConstantUnion.cpp",
"../../checkout/src/compiler/translator/Declarator.cpp",
"../../checkout/src/compiler/translator/Diagnostics.cpp",
"../../checkout/src/compiler/translator/DirectiveHandler.cpp",
"../../checkout/src/compiler/translator/ExtensionBehavior.cpp",
"../../checkout/src/compiler/translator/ExtensionGLSL.cpp",
"../../checkout/src/compiler/translator/FlagStd140Structs.cpp",
"../../checkout/src/compiler/translator/FunctionLookup.cpp",
"../../checkout/src/compiler/translator/HashNames.cpp",
"../../checkout/src/compiler/translator/ImageFunctionHLSL.cpp",
"../../checkout/src/compiler/translator/ImmutableStringBuilder.cpp",
"../../checkout/src/compiler/translator/ImmutableString_ESSL_autogen.cpp",
"../../checkout/src/compiler/translator/InfoSink.cpp",
"../../checkout/src/compiler/translator/Initialize.cpp",
"../../checkout/src/compiler/translator/InitializeDll.cpp",
"../../checkout/src/compiler/translator/IntermNode.cpp",
"../../checkout/src/compiler/translator/IsASTDepthBelowLimit.cpp",
"../../checkout/src/compiler/translator/Operator.cpp",
"../../checkout/src/compiler/translator/OutputESSL.cpp",
"../../checkout/src/compiler/translator/OutputGLSL.cpp",
"../../checkout/src/compiler/translator/OutputGLSLBase.cpp",
"../../checkout/src/compiler/translator/OutputHLSL.cpp",
"../../checkout/src/compiler/translator/OutputTree.cpp",
"../../checkout/src/compiler/translator/ParseContext.cpp",
"../../checkout/src/compiler/translator/PoolAlloc.cpp",
"../../checkout/src/compiler/translator/QualifierTypes.cpp",
"../../checkout/src/compiler/translator/ResourcesHLSL.cpp",
"../../checkout/src/compiler/translator/ShaderLang.cpp",
"../../checkout/src/compiler/translator/ShaderStorageBlockFunctionHLSL.cpp",
"../../checkout/src/compiler/translator/ShaderStorageBlockOutputHLSL.cpp",
"../../checkout/src/compiler/translator/ShaderVars.cpp",
"../../checkout/src/compiler/translator/StructureHLSL.cpp",
"../../checkout/src/compiler/translator/Symbol.cpp",
"../../checkout/src/compiler/translator/SymbolTable.cpp",
"../../checkout/src/compiler/translator/SymbolTable_ESSL_autogen.cpp",
"../../checkout/src/compiler/translator/SymbolUniqueId.cpp",
"../../checkout/src/compiler/translator/TextureFunctionHLSL.cpp",
"../../checkout/src/compiler/translator/TranslatorESSL.cpp",
"../../checkout/src/compiler/translator/TranslatorGLSL.cpp",
"../../checkout/src/compiler/translator/TranslatorHLSL.cpp",
"../../checkout/src/compiler/translator/Types.cpp",
"../../checkout/src/compiler/translator/UtilsHLSL.cpp",
"../../checkout/src/compiler/translator/ValidateAST.cpp",
"../../checkout/src/compiler/translator/ValidateBarrierFunctionCall.cpp",
"../../checkout/src/compiler/translator/ValidateClipCullDistance.cpp",
"../../checkout/src/compiler/translator/ValidateGlobalInitializer.cpp",
"../../checkout/src/compiler/translator/ValidateLimitations.cpp",
"../../checkout/src/compiler/translator/ValidateMaxParameters.cpp",
"../../checkout/src/compiler/translator/ValidateOutputs.cpp",
"../../checkout/src/compiler/translator/ValidateSwitch.cpp",
"../../checkout/src/compiler/translator/ValidateTypeSizeLimitations.cpp",
"../../checkout/src/compiler/translator/ValidateVaryingLocations.cpp",
"../../checkout/src/compiler/translator/VariablePacker.cpp",
"../../checkout/src/compiler/translator/VersionGLSL.cpp",
"../../checkout/src/compiler/translator/blocklayout.cpp",
"../../checkout/src/compiler/translator/blocklayoutHLSL.cpp",
"../../checkout/src/compiler/translator/emulated_builtin_functions_hlsl_autogen.cpp",
"../../checkout/src/compiler/translator/glslang_lex_autogen.cpp",
"../../checkout/src/compiler/translator/glslang_tab_autogen.cpp",
"../../checkout/src/compiler/translator/tree_ops/ClampIndirectIndices.cpp",
"../../checkout/src/compiler/translator/tree_ops/ClampPointSize.cpp",
"../../checkout/src/compiler/translator/tree_ops/ConvertUnsupportedConstructorsToFunctionCalls.cpp",
"../../checkout/src/compiler/translator/tree_ops/DeclareAndInitBuiltinsForInstancedMultiview.cpp",
"../../checkout/src/compiler/translator/tree_ops/DeferGlobalInitializers.cpp",
"../../checkout/src/compiler/translator/tree_ops/EmulateGLFragColorBroadcast.cpp",
"../../checkout/src/compiler/translator/tree_ops/EmulateMultiDrawShaderBuiltins.cpp",
"../../checkout/src/compiler/translator/tree_ops/FoldExpressions.cpp",
"../../checkout/src/compiler/translator/tree_ops/ForcePrecisionQualifier.cpp",
"../../checkout/src/compiler/translator/tree_ops/InitializeVariables.cpp",
"../../checkout/src/compiler/translator/tree_ops/MonomorphizeUnsupportedFunctions.cpp",
"../../checkout/src/compiler/translator/tree_ops/NameNamelessUniformBuffers.cpp",
"../../checkout/src/compiler/translator/tree_ops/PruneEmptyCases.cpp",
"../../checkout/src/compiler/translator/tree_ops/PruneNoOps.cpp",
"../../checkout/src/compiler/translator/tree_ops/RecordConstantPrecision.cpp",
"../../checkout/src/compiler/translator/tree_ops/RemoveArrayLengthMethod.cpp",
"../../checkout/src/compiler/translator/tree_ops/RemoveAtomicCounterBuiltins.cpp",
"../../checkout/src/compiler/translator/tree_ops/RemoveDynamicIndexing.cpp",
"../../checkout/src/compiler/translator/tree_ops/RemoveInactiveInterfaceVariables.cpp",
"../../checkout/src/compiler/translator/tree_ops/RemoveInvariantDeclaration.cpp",
"../../checkout/src/compiler/translator/tree_ops/RemoveUnreferencedVariables.cpp",
"../../checkout/src/compiler/translator/tree_ops/RewriteArrayOfArrayOfOpaqueUniforms.cpp",
"../../checkout/src/compiler/translator/tree_ops/RewriteAtomicCounters.cpp",
"../../checkout/src/compiler/translator/tree_ops/RewriteCubeMapSamplersAs2DArray.cpp",
"../../checkout/src/compiler/translator/tree_ops/RewriteDfdy.cpp",
"../../checkout/src/compiler/translator/tree_ops/RewritePixelLocalStorage.cpp",
"../../checkout/src/compiler/translator/tree_ops/RewriteStructSamplers.cpp",
"../../checkout/src/compiler/translator/tree_ops/RewriteTexelFetchOffset.cpp",
"../../checkout/src/compiler/translator/tree_ops/ScalarizeVecAndMatConstructorArgs.cpp",
"../../checkout/src/compiler/translator/tree_ops/SeparateDeclarations.cpp",
"../../checkout/src/compiler/translator/tree_ops/SeparateStructFromUniformDeclarations.cpp",
"../../checkout/src/compiler/translator/tree_ops/SimplifyLoopConditions.cpp",
"../../checkout/src/compiler/translator/tree_ops/SplitSequenceOperator.cpp",
"../../checkout/src/compiler/translator/tree_ops/apple/AddAndTrueToLoopCondition.cpp",
"../../checkout/src/compiler/translator/tree_ops/apple/RewriteDoWhile.cpp",
"../../checkout/src/compiler/translator/tree_ops/apple/RewriteRowMajorMatrices.cpp",
"../../checkout/src/compiler/translator/tree_ops/apple/RewriteUnaryMinusOperatorFloat.cpp",
"../../checkout/src/compiler/translator/tree_ops/apple/UnfoldShortCircuitAST.cpp",
"../../checkout/src/compiler/translator/tree_ops/d3d/AddDefaultReturnStatements.cpp",
"../../checkout/src/compiler/translator/tree_ops/d3d/AggregateAssignArraysInSSBOs.cpp",
"../../checkout/src/compiler/translator/tree_ops/d3d/AggregateAssignStructsInSSBOs.cpp",
"../../checkout/src/compiler/translator/tree_ops/d3d/ArrayReturnValueToOutParameter.cpp",
"../../checkout/src/compiler/translator/tree_ops/d3d/BreakVariableAliasingInInnerLoops.cpp",
"../../checkout/src/compiler/translator/tree_ops/d3d/ExpandIntegerPowExpressions.cpp",
"../../checkout/src/compiler/translator/tree_ops/d3d/RecordUniformBlocksWithLargeArrayMember.cpp",
"../../checkout/src/compiler/translator/tree_ops/d3d/RemoveSwitchFallThrough.cpp",
"../../checkout/src/compiler/translator/tree_ops/d3d/RewriteAtomicFunctionExpressions.cpp",
"../../checkout/src/compiler/translator/tree_ops/d3d/RewriteElseBlocks.cpp",
"../../checkout/src/compiler/translator/tree_ops/d3d/RewriteExpressionsWithShaderStorageBlock.cpp",
"../../checkout/src/compiler/translator/tree_ops/d3d/RewriteUnaryMinusOperatorInt.cpp",
"../../checkout/src/compiler/translator/tree_ops/d3d/SeparateArrayConstructorStatements.cpp",
"../../checkout/src/compiler/translator/tree_ops/d3d/SeparateArrayInitialization.cpp",
"../../checkout/src/compiler/translator/tree_ops/d3d/SeparateExpressionsReturningArrays.cpp",
"../../checkout/src/compiler/translator/tree_ops/d3d/UnfoldShortCircuitToIf.cpp",
"../../checkout/src/compiler/translator/tree_ops/d3d/WrapSwitchStatementsInBlocks.cpp",
"../../checkout/src/compiler/translator/tree_ops/gl/ClampFragDepth.cpp",
"../../checkout/src/compiler/translator/tree_ops/gl/RegenerateStructNames.cpp",
"../../checkout/src/compiler/translator/tree_ops/gl/RewriteRepeatedAssignToSwizzled.cpp",
"../../checkout/src/compiler/translator/tree_ops/gl/UseInterfaceBlockFields.cpp",
"../../checkout/src/compiler/translator/tree_util/DriverUniform.cpp",
"../../checkout/src/compiler/translator/tree_util/FindFunction.cpp",
"../../checkout/src/compiler/translator/tree_util/FindMain.cpp",
"../../checkout/src/compiler/translator/tree_util/FindPreciseNodes.cpp",
"../../checkout/src/compiler/translator/tree_util/FindSymbolNode.cpp",
"../../checkout/src/compiler/translator/tree_util/IntermNodePatternMatcher.cpp",
"../../checkout/src/compiler/translator/tree_util/IntermNode_util.cpp",
"../../checkout/src/compiler/translator/tree_util/IntermRebuild.cpp",
"../../checkout/src/compiler/translator/tree_util/IntermTraverse.cpp",
"../../checkout/src/compiler/translator/tree_util/ReplaceArrayOfMatrixVarying.cpp",
"../../checkout/src/compiler/translator/tree_util/ReplaceClipCullDistanceVariable.cpp",
"../../checkout/src/compiler/translator/tree_util/ReplaceShadowingVariables.cpp",
"../../checkout/src/compiler/translator/tree_util/ReplaceVariable.cpp",
"../../checkout/src/compiler/translator/tree_util/RewriteSampleMaskVariable.cpp",
"../../checkout/src/compiler/translator/tree_util/RunAtTheBeginningOfShader.cpp",
"../../checkout/src/compiler/translator/tree_util/RunAtTheEndOfShader.cpp",
"../../checkout/src/compiler/translator/tree_util/SpecializationConstant.cpp",
"../../checkout/src/compiler/translator/util.cpp",
],
includes: &[
"../../checkout/include/",
"../../checkout/src/",
"../../checkout/src/common/third_party/base/",
],
defines: &[
("ANGLE_DISABLE_POOL_ALLOC", None),
("ANGLE_ENABLE_APPLE_WORKAROUNDS", None),
("ANGLE_ENABLE_ESSL", None),
("ANGLE_ENABLE_GLSL", None),
("ANGLE_ENABLE_HLSL", None),
("ANGLE_ENABLE_KEYEDMUTEX", None),
("ANGLE_ENABLE_SHARE_CONTEXT_LOCK", Some("1")),
("ANGLE_PLATFORM_EXPORT", Some("")),
("ANGLE_SKIP_DXGI_1_2_CHECK", None),
("ANGLE_TRANSLATOR_ESSL_ONLY", None),
("ANGLE_VMA_VERSION", Some("2003000")),
("CR_CLANG_REVISION", Some("\"llvmorg-16-init-6578-g0d30e92f-2\"")),
("DYNAMIC_ANNOTATIONS_ENABLED", Some("0")),
("NOMINMAX", None),
("UNICODE", None),
("WINVER", Some("0x0A00")),
("_ATL_NO_OPENGL", None),
("_CRT_NONSTDC_NO_WARNINGS", None),
("_CRT_RAND_S", None),
("_CRT_SECURE_NO_DEPRECATE", None),
("_HAS_EXCEPTIONS", Some("0")),
("_SCL_SECURE_NO_DEPRECATE", None),
("_SECURE_ATL", None),
("_UNICODE", None),
("_WINSOCK_DEPRECATED_NO_WARNINGS", None),
("__NDK_FPABI__", Some("")),
],
os_libs: &[
],
use_libs: &[
Libs::ANGLE_COMMON,
Libs::PREPROCESSOR,
],
shared: false,
};