1 # Copyright (c) 2013 The Chromium 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.
11 'msvs_disabled_warnings': [4005, 4013, 4018, 4101, 4716],
13 '<(SHARED_INTERMEDIATE_DIR)/gles2_conform_test_embedded_data',
14 '../../third_party/gles2_conform/GTF_ES/glsl/GTF/Source',
19 'target_name': 'gles2_conform_test',
22 '<(DEPTH)/base/base.gyp:base',
23 '<(DEPTH)/gpu/gpu.gyp:gpu',
24 '<(DEPTH)/testing/gtest.gyp:gtest',
27 'gles2_conform_test.cc',
30 ['internal_gles2_conform_tests', {
32 'gles2_conform_test_windowless',
35 'gles2_conform_test_output_dir': '<(SHARED_INTERMEDIATE_DIR)/gpu/gles2_conform_test',
38 '<(gles2_conform_test_output_dir)/gles2_conform_test_autogen.cc',
42 'action_name': 'generate_gles2_conform_tests',
44 'generate_gles2_conform_tests.py',
45 'gles2_conform_test.h',
46 '<(DEPTH)/third_party/gles2_conform/GTF_ES/glsl/GTF/mustpass_es20.run',
49 '<(gles2_conform_test_output_dir)/gles2_conform_test_autogen.cc',
53 'generate_gles2_conform_tests.py',
54 '<(gles2_conform_test_output_dir)',
58 }], # internal_gles2_conform_tests
61 # TODO(alokp): Add gles2_conform_test_pepper target
64 ['internal_gles2_conform_tests', {
67 'target_name': 'gles2_conform_test_embedded_data',
72 'action_name': 'generate_gles2_conform_embedded_files',
74 'generator_path': 'generate_gles2_embedded_data.py',
78 '<!@(python <(generator_path) ../../third_party/gles2_conform/GTF_ES/glsl/GTF)',
81 #'../../third_party/gles2_conform/GTF_ES/glsl/GTF/Source/FilesDATA.c',
82 #'../../third_party/gles2_conform/GTF_ES/glsl/GTF/Source/FilesDATA.h',
83 #'../../third_party/gles2_conform/GTF_ES/glsl/GTF/Source/FilesTOC.c',
84 '<(SHARED_INTERMEDIATE_DIR)/gles2_conform_test_embedded_data/FilesDATA.c',
85 '<(SHARED_INTERMEDIATE_DIR)/gles2_conform_test_embedded_data/FilesDATA.h',
86 '<(SHARED_INTERMEDIATE_DIR)/gles2_conform_test_embedded_data/FilesTOC.c',
91 '../../third_party/gles2_conform/GTF_ES/glsl/GTF',
92 '<(SHARED_INTERMEDIATE_DIR)/gles2_conform_test_embedded_data',
98 'target_name': 'gles2_conform_test_windowless',
101 'gles2_conform_test_embedded_data',
102 '<(DEPTH)/gpu/gles2_conform_support/gles2_conform_support.gyp:egl_native',
103 '<(DEPTH)/gpu/gles2_conform_support/gles2_conform_support.gyp:egl_main_windowless',
104 '<(DEPTH)/gpu/gpu.gyp:gles2_c_lib_nocheck',
105 '<(DEPTH)/third_party/expat/expat.gyp:expat',
111 'dependencies': ['../../build/linux/system.gyp:gtk']
116 '-Wno-implicit-function-declaration',
117 '-Wno-incompatible-pointer-types',
118 '-Wno-parentheses-equality',
121 '-Wno-sizeof-pointer-memaccess',
122 '-Wno-tautological-compare'
129 '<(angle_path)/src/angle.gyp:libGLESv2',
130 '<(angle_path)/src/angle.gyp:libEGL',
136 'msvs_disabled_warnings': [
137 4018, # signed/unsigned mismatch
138 4101, # unreferenced local variable
139 4715, # not all control paths return a value
140 4267, # size_t/unsigned int conversion
142 'defines!': [ 'NOMINMAX' ],
154 '-Wno-sizeof-pointer-memaccess',
155 '-Wno-implicit-function-declaration',
156 '-Wno-logical-op-parentheses',
157 '-Wno-tautological-compare',
158 '-Wno-parentheses-equality',
166 '-Wno-sizeof-pointer-memaccess',
167 '-Wno-implicit-function-declaration',
168 '-Wno-logical-op-parentheses',
169 '-Wno-tautological-compare',
170 '-Wno-parentheses-equality',
179 'GTF_API=GTF_GLES20',
180 'HKEMBEDDEDFILESYSTEM',
183 '<@(gtf_es_sources)',
184 # Include a dummy c++ file to force linking of libstdc++.
185 '<(DEPTH)/gpu/gles2_conform_support/dummy.cc',
193 '-run=<(DEPTH)/third_party/gles2_conform/GTF_ES/glsl/GTF/mustpass.run',
200 }], # internal_gles2_conform_tests
201 ['OS=="win" and internal_gles2_conform_tests', {
204 'target_name': 'gles2_conform_test_angle',
205 'type': 'executable',
207 'gles2_conform_test_embedded_data',
208 '<(DEPTH)/base/base.gyp:base',
209 '<(DEPTH)/third_party/expat/expat.gyp:expat',
210 '<(angle_path)/src/angle.gyp:libGLESv2',
211 '<(angle_path)/src/angle.gyp:libEGL',
212 '<(DEPTH)/gpu/gles2_conform_support/gles2_conform_support.gyp:egl_main_native',
215 'GTF_API=GTF_GLES20',
218 '<(DEPTH)/third_party/angle_dx11/include',
221 '<@(gtf_es_sources)',
227 ['chromeos==1 and internal_gles2_conform_tests', {
230 'target_name': 'gles2_conform_test_chromeos',
231 'type': 'executable',
233 'gles2_conform_test_embedded_data',
234 '<(DEPTH)/base/base.gyp:*',
235 '<(DEPTH)/third_party/expat/expat.gyp:expat',
236 '<(DEPTH)/gpu/gles2_conform_support/gles2_conform_support.gyp:egl_main_native',
243 'GTF_API=GTF_GLES20',
244 'CHROMEOS_GLES2_CONFORMANCE',
247 '<@(gtf_es_sources)',
258 # indent-tabs-mode:nil
260 # vim: set expandtab tabstop=2 shiftwidth=2: