Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(65)

Side by Side Diff: gpu/khronos_glcts_support/khronos_glcts_framework.gyp

Issue 615063004: gpu/khronos_glcts_support: WA suppress compile-time warnings on linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'includes': [ 6 'includes': [
7 'khronos_glcts.gypi', 7 'khronos_glcts.gypi',
8 ], 8 ],
9 'targets': [ 9 'targets': [
10 { 10 {
(...skipping 12 matching lines...) Expand all
23 'dependencies': [ 23 'dependencies': [
24 'debase', 'depool', 'dethread', 'deutil', 'decpp', 24 'debase', 'depool', 'dethread', 'deutil', 'decpp',
25 ], 25 ],
26 'export_dependent_settings': [ 26 'export_dependent_settings': [
27 'debase', 'depool', 'dethread', 'deutil', 'decpp', 27 'debase', 'depool', 'dethread', 'deutil', 'decpp',
28 ], 28 ],
29 }, 29 },
30 { 30 {
31 'target_name': 'debase', 31 'target_name': 'debase',
32 'type': 'static_library', 32 'type': 'static_library',
33 'conditions': [
34 ['OS=="linux"', {
35 'cflags': [
36 # WA: Suppress "implicit declaration of function '__assert_fail'
37 # is invalid in C99" warning from deDefs.c for Release compiles.
38 # TODO(uartie) fix.
39 '-Wno-implicit-function-declaration',
40 ],
41 }],
42 ],
33 'direct_dependent_settings': { 43 'direct_dependent_settings': {
34 'include_dirs': [ 44 'include_dirs': [
35 '<(DEPTH)/third_party/khronos_glcts/framework/delibs/debase', 45 '<(DEPTH)/third_party/khronos_glcts/framework/delibs/debase',
36 ], 46 ],
37 }, 47 },
38 'sources': [ 48 'sources': [
39 '<@(debase_srcs)', 49 '<@(debase_srcs)',
40 ], 50 ],
41 }, 51 },
42 { 52 {
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 '<(DEPTH)/third_party/khronos_glcts/framework/qphelper', 134 '<(DEPTH)/third_party/khronos_glcts/framework/qphelper',
125 ], 135 ],
126 }, 136 },
127 'sources': [ 137 'sources': [
128 '<@(qphelper_srcs)', 138 '<@(qphelper_srcs)',
129 ], 139 ],
130 }, 140 },
131 { 141 {
132 'target_name': 'tcutil', 142 'target_name': 'tcutil',
133 'type': 'static_library', 143 'type': 'static_library',
144 'conditions': [
145 ['OS=="linux"', {
146 'cflags_cc': [
147 # WA: Suppress "cast to 'const unsigned char *' from smaller
148 # integer type 'deUint32' (aka 'unsigned int')" compile warning
149 # from tcuRandomValueIterator.hpp.
150 # TODO(uartie) fix.
151 '-Wno-int-to-pointer-cast',
152 ],
153 }],
154 ],
134 'dependencies': [ 155 'dependencies': [
135 'delibs', 'qphelper', 156 'delibs', 'qphelper',
136 '<(DEPTH)/third_party/libpng/libpng.gyp:libpng', 157 '<(DEPTH)/third_party/libpng/libpng.gyp:libpng',
137 ], 158 ],
138 'include_dirs': [ 159 'include_dirs': [
139 '<(DEPTH)/third_party/khronos_glcts/framework/delibs/libpng', #png.hpp 160 '<(DEPTH)/third_party/khronos_glcts/framework/delibs/libpng', #png.hpp
140 ], 161 ],
141 'export_dependent_settings': [ 162 'export_dependent_settings': [
142 'qphelper', 163 'qphelper',
143 ], 164 ],
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 '<(DEPTH)/third_party/khronos_glcts/framework/opengl', 202 '<(DEPTH)/third_party/khronos_glcts/framework/opengl',
182 ], 203 ],
183 }, 204 },
184 'sources': [ 205 'sources': [
185 '<@(glutil_srcs)', 206 '<@(glutil_srcs)',
186 ], 207 ],
187 }, 208 },
188 { 209 {
189 'target_name': 'tcutil_egl', 210 'target_name': 'tcutil_egl',
190 'type': 'static_library', 211 'type': 'static_library',
212 'conditions': [
213 ['OS=="linux"', {
214 'cflags_cc': [
215 # WA: Suppress "cast to 'void *' from smaller
216 # integer type 'glw::GLuint' (aka 'unsigned int')" compile
217 # warning from tcuEglPlatform.cpp.
218 # TODO(uartie) fix.
219 '-Wno-int-to-void-pointer-cast',
220 ],
221 }],
222 ],
191 'dependencies': [ 223 'dependencies': [
192 'delibs', 'tcutil', 'glwrapper', 224 'delibs', 'tcutil', 'glwrapper',
193 # TODO: We may want to phase out the old gles2_conform support in prefer ence 225 # TODO: We may want to phase out the old gles2_conform support in prefer ence
194 # of this implementation. So eventually we'll need to move the egl_nati ve 226 # of this implementation. So eventually we'll need to move the egl_nati ve
195 # stuff here or to a shareable location/path. 227 # stuff here or to a shareable location/path.
196 '<(DEPTH)/gpu/gles2_conform_support/gles2_conform_support.gyp:egl_native ', 228 '<(DEPTH)/gpu/gles2_conform_support/gles2_conform_support.gyp:egl_native ',
197 '<(DEPTH)/third_party/khronos/khronos.gyp:khronos_headers', 229 '<(DEPTH)/third_party/khronos/khronos.gyp:khronos_headers',
198 ], 230 ],
199 'include_dirs': [ 231 'include_dirs': [
200 '<(DEPTH)/third_party/khronos_glcts/framework/opengl', 232 '<(DEPTH)/third_party/khronos_glcts/framework/opengl',
201 ], 233 ],
202 'direct_dependent_settings': { 234 'direct_dependent_settings': {
203 'include_dirs': [ 235 'include_dirs': [
204 '<(DEPTH)/third_party/khronos_glcts/framework/egl', 236 '<(DEPTH)/third_party/khronos_glcts/framework/egl',
205 ], 237 ],
206 }, 238 },
207 'export_dependent_settings': [ 239 'export_dependent_settings': [
208 '<(DEPTH)/third_party/khronos/khronos.gyp:khronos_headers', 240 '<(DEPTH)/third_party/khronos/khronos.gyp:khronos_headers',
209 ], 241 ],
210 'sources': [ 242 'sources': [
211 '<@(tcutil_egl_srcs)', 243 '<@(tcutil_egl_srcs)',
212 ], 244 ],
213 }, 245 },
214 ], 246 ],
215 } 247 }
OLDNEW
« no previous file with comments | « gpu/khronos_glcts_support/khronos_glcts_cts.gyp ('k') | gpu/khronos_glcts_support/khronos_glcts_gtf.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698