1 # Copyright (c) 2013 The ANGLE Project Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
8 # This file list is shared with the GN build.
9 'angle_libegl_sources':
11 '../include/EGL/egl.h',
12 '../include/EGL/eglext.h',
13 '../include/EGL/eglplatform.h',
14 '../include/GLES2/gl2.h',
15 '../include/GLES2/gl2ext.h',
16 '../include/GLES2/gl2platform.h',
17 '../include/GLES3/gl3.h',
18 '../include/GLES3/gl3ext.h',
19 '../include/GLES3/gl3platform.h',
20 '../include/GLSLANG/ShaderLang.h',
21 '../include/GLSLANG/ShaderVars.h',
22 '../include/KHR/khrplatform.h',
23 '../include/angle_gl.h',
24 'common/RefCountObject.cpp',
25 'common/RefCountObject.h',
26 'common/angleutils.cpp',
27 'common/angleutils.h',
30 'common/event_tracer.cpp',
31 'common/event_tracer.h',
32 'common/mathutil.cpp',
35 'common/NativeWindow.h',
38 'common/utilities.cpp',
54 'angle_libegl_win32_sources':
56 'common/win32/NativeWindow.cpp',
58 'angle_libegl_winrt_sources':
60 'common/winrt/CoreWindowNativeWindow.cpp',
61 'common/winrt/CoreWindowNativeWindow.h',
62 'common/winrt/IInspectableNativeWindow.cpp',
63 'common/winrt/IInspectableNativeWindow.h',
66 # Everything below this is duplicated in the GN build. If you change
67 # anything also change angle/BUILD.gn
75 'target_name': 'libEGL',
76 'type': 'shared_library',
77 'dependencies': [ 'libGLESv2', 'commit_id' ],
86 '<@(angle_libegl_sources)',
91 'GL_GLEXT_PROTOTYPES=',
96 ['angle_enable_d3d9==1',
103 ['angle_enable_d3d11==1',
107 'ANGLE_ENABLE_D3D11',
110 ['angle_build_winrt==0',
114 '<@(angle_libegl_win32_sources)',
118 ['angle_build_winrt==1',
122 'NTDDI_VERSION=NTDDI_WINBLUE',
126 '<@(angle_libegl_winrt_sources)',
128 'msvs_enable_winrt' : '1',
129 'msvs_requires_importlibrary' : '1',
134 'EnableCOMDATFolding': '1',
135 'OptimizeReferences': '1',
139 ['angle_build_winphone==1',
141 'msvs_enable_winphone' : '1',
144 'includes': [ '../build/common_defines.gypi', ],
151 ['angle_build_winrt==0',
153 'AdditionalDependencies':
158 ['angle_build_winrt==1',
160 'AdditionalDependencies':
174 'ANGLE_ENABLE_DEBUG_ANNOTATIONS',