1# Generated by update-angle.py
2
3include('../../moz.build.common')
4
5DEFINES['ANGLE_ENABLE_DEBUG_ANNOTATIONS'] = True
6#DEFINES['ANGLE_IS_64_BIT_CPU'] = True
7#DEFINES['CERT_CHAIN_PARA_HAS_EXTRA_FIELDS'] = True
8#DEFINES['CHROMIUM_BUILD'] = True
9#DEFINES['COMPONENT_BUILD'] = True
10DEFINES['DYNAMIC_ANNOTATIONS_ENABLED'] = '1'
11DEFINES['EGLAPI'] = ''
12DEFINES['EGL_EGLEXT_PROTOTYPES'] = True
13#DEFINES['FIELDTRIAL_TESTING_ENABLED'] = True
14#DEFINES['FULL_SAFE_BROWSING'] = True
15DEFINES['GL_GLEXT_PROTOTYPES'] = True
16DEFINES['LIBEGL_IMPLEMENTATION'] = True
17DEFINES['NOMINMAX'] = True
18#DEFINES['NO_TCMALLOC'] = True
19DEFINES['NTDDI_VERSION'] = '0x0A000000'
20#DEFINES['PSAPI_VERSION'] = '1'
21#DEFINES['SAFE_BROWSING_CSD'] = True
22#DEFINES['SAFE_BROWSING_DB_LOCAL'] = True
23DEFINES['UNICODE'] = True
24#DEFINES['USE_AURA'] = '1'
25#DEFINES['V8_DEPRECATION_WARNINGS'] = True
26#DEFINES['WIN32'] = True
27#DEFINES['WIN32_LEAN_AND_MEAN'] = True
28#DEFINES['WINVER'] = '0x0A00'
29#DEFINES['WTF_USE_DYNAMIC_ANNOTATIONS'] = '1'
30DEFINES['_ATL_NO_OPENGL'] = True
31DEFINES['_CRT_RAND_S'] = True
32DEFINES['_CRT_SECURE_NO_DEPRECATE'] = True
33#DEFINES['_DEBUG'] = True
34DEFINES['_HAS_EXCEPTIONS'] = '0'
35DEFINES['_SCL_SECURE_NO_DEPRECATE'] = True
36DEFINES['_SECURE_ATL'] = True
37DEFINES['_UNICODE'] = True
38#DEFINES['_USING_V110_SDK71_'] = True
39#DEFINES['_WIN32_WINNT'] = '0x0A00'
40#DEFINES['_WINDOWS'] = True
41#DEFINES['__STD_C'] = True
42#DEFINES['constexpr14'] = 'constexpr'
43
44LOCAL_INCLUDES += [
45    '../../checkout/',
46    '../../checkout/include/',
47    '../../checkout/out/gen/',
48    '../../checkout/out/gen/angle/',
49    '../../checkout/src/',
50    '../../checkout/src/common/third_party/base/',
51]
52
53#CXXFLAGS += [
54#    '/bigobj',
55#    '/d2FastFail',
56#    '/D__DATE__=',
57#    '/D__TIME__=',
58#    '/D__TIMESTAMP__=',
59#    '/FS',
60#    '/GF',
61#    '/GR-',
62#    '/Gy',
63#    '/MDd',
64#    '/Ob0',
65#    '/Od',
66#    '/TP',
67#    '/utf-8',
68#    '/W4',
69#    '/wd4091',
70#    '/wd4100',
71#    '/wd4117',
72#    '/wd4121',
73#    '/wd4127',
74#    '/wd4244',
75#    '/wd4251',
76#    '/wd4275',
77#    '/wd4312',
78#    '/wd4324',
79#    '/wd4351',
80#    '/wd4355',
81#    '/wd4456',
82#    '/wd4457',
83#    '/wd4458',
84#    '/wd4459',
85#    '/wd4503',
86#    '/wd4505',
87#    '/wd4510',
88#    '/wd4512',
89#    '/wd4577',
90#    '/wd4589',
91#    '/wd4610',
92#    '/wd4611',
93#    '/wd4702',
94#    '/wd4838',
95#    '/wd4995',
96#    '/wd4996',
97#    '/we4244',
98#    '/we4456',
99#    '/we4458',
100#    '/we4800',
101#    '/we4838',
102#    '/WX',
103#    '/Zc:sizedDealloc-',
104#    '/Zi',
105#]
106
107SOURCES += [
108    '../../checkout/src/libEGL/libEGL.cpp',
109]
110
111USE_LIBS += [
112    'libGLESv2',
113]
114
115DIRS += [
116    '../libGLESv2',
117]
118
119OS_LIBS += [
120    'advapi32',
121    'comdlg32',
122    'dbghelp',
123    'delayimp',
124    'dnsapi',
125    'gdi32',
126    'kernel32',
127    'msimg32',
128    'odbc32',
129    'odbccp32',
130    'ole32',
131    'oleaut32',
132    'psapi',
133    'shell32',
134    'shlwapi',
135    'user32',
136    'usp10',
137    'uuid',
138    'version',
139    'wininet',
140    'winmm',
141    'winspool',
142    'ws2_32',
143]
144
145#LDFLAGS += [
146#    '/DEBUG',
147#    '/DYNAMICBASE:NO',
148#    '/fastfail',
149#    '/FIXED:NO',
150#    '/ignore:4199',
151#    '/ignore:4221',
152#    '/INCREMENTAL',
153#    '/MACHINE:X64',
154#    '/NXCOMPAT',
155#    '/SUBSYSTEM:CONSOLE,5.02',
156#    '/WX',
157#]
158
159DEFFILE = SRCDIR + '/../../checkout/src/libEGL/libEGL.def'
160RCFILE = '../../checkout/src/libEGL/libEGL.rc'
161GeckoSharedLibrary('libEGL', linkage=None)
162