1 # Copyright (c) 2012 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 'angle_build_conformance_tests%': '0',
9 'angle_build_deqp_tests%': '0',
14 'target_name': 'gtest',
15 'type': 'static_library',
16 'includes': [ '../build/common_defines.gypi', ],
19 'third_party/googletest',
20 'third_party/googletest/include',
24 'third_party/googletest/src/gtest-all.cc',
30 'direct_dependent_settings':
40 'target_name': 'gmock',
41 'type': 'static_library',
42 'includes': [ '../build/common_defines.gypi', ],
45 'third_party/googlemock',
46 'third_party/googlemock/include',
47 'third_party/googletest/include',
51 'third_party/googlemock/src/gmock-all.cc',
57 'direct_dependent_settings':
67 'target_name': 'preprocessor_tests',
71 '../src/angle.gyp:preprocessor',
77 '../src/compiler/preprocessor',
78 'third_party/googletest/include',
79 'third_party/googlemock/include',
83 '../build/common_defines.gypi',
84 'preprocessor_tests/preprocessor_tests.gypi',
88 'preprocessor_tests/preprocessor_test_main.cpp',
93 'target_name': 'compiler_tests',
97 '../src/angle.gyp:translator_static',
104 'third_party/googletest/include',
108 '../build/common_defines.gypi',
109 'compiler_tests/compiler_tests.gypi',
113 'compiler_tests/compiler_test_main.cpp',
118 'target_name': 'angle_implementation_unit_tests',
119 'type': 'executable',
122 '../src/angle.gyp:libGLESv2_static',
130 'third_party/googletest/include',
131 'third_party/googlemock/include',
135 '../build/common_defines.gypi',
136 'angle_implementation_unit_tests/angle_implementation_unit_tests.gypi',
140 'angle_implementation_unit_tests/angle_implementation_unit_tests_main.cpp',
152 'target_name': 'angle_tests',
153 'type': 'executable',
154 'includes': [ '../build/common_defines.gypi', ],
157 '../src/angle.gyp:libGLESv2',
158 '../src/angle.gyp:libEGL',
160 '../util/util.gyp:angle_util',
166 'third_party/googletest/include',
170 '<!@(python <(angle_path)/enumerate_files.py angle_tests -types *.cpp *.h *.inl)'
174 'target_name': 'standalone_tests',
175 'type': 'executable',
176 'includes': [ '../build/common_defines.gypi', ],
186 'third_party/googletest/include',
187 'third_party/googlemock/include',
191 '<!@(python <(angle_path)/enumerate_files.py standalone_tests -types *.cpp *.h)'
195 'target_name': 'angle_perf_tests',
196 'type': 'executable',
197 'includes': [ '../build/common_defines.gypi', ],
200 '../src/angle.gyp:libGLESv2',
201 '../src/angle.gyp:libEGL',
203 '../util/util.gyp:angle_util',
208 'third_party/googletest/include',
212 'perf_tests/BufferSubData.cpp',
213 'perf_tests/BufferSubData.h',
214 'perf_tests/SimpleBenchmark.cpp',
215 'perf_tests/SimpleBenchmark.h',
216 'perf_tests/SimpleBenchmarks.cpp',
217 'perf_tests/TexSubImage.cpp',
218 'perf_tests/TexSubImage.h',
224 ['angle_build_conformance_tests',
228 'gles_conformance_tests_output_dir': '<(SHARED_INTERMEDIATE_DIR)/conformance_tests',
229 'gles_conformance_tests_input_dir': 'third_party/gles_conformance_tests/conform/GTF_ES/glsl/GTF',
230 'gles_conformance_tests_generator_script': 'gles_conformance_tests/generate_gles_conformance_tests.py',
235 'target_name': 'gles2_conformance_tests',
236 'type': 'executable',
237 'includes': [ '../build/common_defines.gypi', ],
240 '../src/angle.gyp:libGLESv2',
241 '../src/angle.gyp:libEGL',
243 'third_party/gles_conformance_tests/conform/GTF_ES/glsl/GTF/es_cts.gyp:es_cts_test_data',
244 'third_party/gles_conformance_tests/conform/GTF_ES/glsl/GTF/es_cts.gyp:es2_cts',
248 'gles2_conformance_tests_input_file': '<(gles_conformance_tests_input_dir)/mustpass_es20.run',
249 'gles2_conformance_tests_generated_file': '<(gles_conformance_tests_output_dir)/generated_gles2_conformance_tests.cpp',
253 '<!@(python <(angle_path)/enumerate_files.py gles_conformance_tests -types *.cpp *.h *.inl)',
254 '<(gles2_conformance_tests_generated_file)',
259 'gles_conformance_tests',
260 'third_party/googletest/include',
264 'CONFORMANCE_TESTS_TYPE=CONFORMANCE_TESTS_ES2',
269 'action_name': 'generate_gles2_conformance_tests',
270 'message': 'Generating ES2 conformance tests...',
271 'msvs_cygwin_shell': 0,
274 '<(gles_conformance_tests_generator_script)',
275 '<(gles2_conformance_tests_input_file)',
279 '<(gles2_conformance_tests_generated_file)',
284 '<(gles_conformance_tests_generator_script)',
285 '<(gles2_conformance_tests_input_file)',
286 '<(gles_conformance_tests_input_dir)',
287 '<(gles2_conformance_tests_generated_file)',
293 'target_name': 'gles3_conformance_tests',
294 'type': 'executable',
295 'includes': [ '../build/common_defines.gypi', ],
298 '../src/angle.gyp:libGLESv2',
299 '../src/angle.gyp:libEGL',
301 'third_party/gles_conformance_tests/conform/GTF_ES/glsl/GTF/es_cts.gyp:es_cts_test_data',
302 'third_party/gles_conformance_tests/conform/GTF_ES/glsl/GTF/es_cts.gyp:es3_cts',
306 'gles3_conformance_tests_input_file': '<(gles_conformance_tests_input_dir)/mustpass_es30.run',
307 'gles3_conformance_tests_generated_file': '<(gles_conformance_tests_output_dir)/generated_gles3_conformance_tests.cpp',
311 '<!@(python <(angle_path)/enumerate_files.py gles_conformance_tests -types *.cpp *.h *.inl)',
312 '<(gles3_conformance_tests_generated_file)',
317 'gles_conformance_tests',
318 'third_party/googletest/include',
322 'CONFORMANCE_TESTS_TYPE=CONFORMANCE_TESTS_ES3',
328 # MSVS has trouble compiling this due to the obj files becoming too large.
329 'AdditionalOptions': [ '/bigobj' ],
335 'action_name': 'generate_gles3_conformance_tests',
336 'message': 'Generating ES3 conformance tests...',
337 'msvs_cygwin_shell': 0,
340 '<(gles_conformance_tests_generator_script)',
341 '<(gles3_conformance_tests_input_file)',
345 '<(gles3_conformance_tests_generated_file)',
350 '<(gles_conformance_tests_generator_script)',
351 '<(gles3_conformance_tests_input_file)',
352 '<(gles_conformance_tests_input_dir)',
353 '<(gles3_conformance_tests_generated_file)',
360 ['angle_build_deqp_tests',
365 'target_name': 'deqp_tests',
366 'type': 'executable',
367 'includes': [ '../build/common_defines.gypi', ],
370 '../src/angle.gyp:libGLESv2',
371 '../src/angle.gyp:libEGL',
373 'third_party/deqp/src/deqp/modules/gles3/gles3.gyp:deqp-gles3',
374 'third_party/deqp/src/deqp/framework/platform/platform.gyp:tcutil-platform',
379 'third_party/googletest/include',
384 'deqp_tests_output_dir': '<(SHARED_INTERMEDIATE_DIR)/deqp_tests',
385 'deqp_tests_input_file': 'deqp_tests/deqp_tests.txt',
386 'deqp_tests_generated_file': '<(deqp_tests_output_dir)/generated_deqp_tests.cpp',
390 '<!@(python <(angle_path)/enumerate_files.py deqp_tests -types *.cpp *.h *.inl)',
391 '<(deqp_tests_generated_file)',
396 'action_name': 'generate_deqp_tests',
397 'message': 'Generating dEQP tests...',
398 'msvs_cygwin_shell': 0,
401 'deqp_tests_generator_script': 'deqp_tests/generate_deqp_tests.py',
405 '<(deqp_tests_generator_script)',
406 '<(deqp_tests_input_file)',
410 '<(deqp_tests_generated_file)',
415 '<(deqp_tests_generator_script)',
416 '<(deqp_tests_input_file)',
417 '<(deqp_tests_generated_file)',