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

Side by Side Diff: gpu/khronos_glcts_support/khronos_glcts_gtf.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
« no previous file with comments | « gpu/khronos_glcts_support/khronos_glcts_framework.gyp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 {
11 'target_name': 'gtf_es', 11 'target_name': 'gtf_es',
12 'type': 'static_library', 12 'type': 'static_library',
13 'conditions': [
14 ['OS=="linux"', {
15 'cflags': [
16 # WA: Suppress "control reaches end of non-void function" compile
17 # warning from GTFTestDriver.c.
18 # TODO(uartie) fix.
19 '-Wno-return-type',
20
21 # WA: Suppress "incompatible pointer types passing to parameter"
22 # compile warning from GTFTestExtension.c.
23 # TODO(uartie) fix.
24 '-Wno-incompatible-pointer-types',
25
26 # WA: Suppress "passing 'GLint [15]' to parameter of type
27 # 'GLuint *' (aka 'unsigned int') converts between pointers to
28 # integer types with different sign" compile warning from
29 # GTFGL2TestGetAttachedObjects.c
30 # TODO(uartie) fix.
31 '-Wno-pointer-sign',
32
33 # WA: Suppress "comparison of unsigned expression >= 0 is always
34 # true" compile warning from GTFgl.c
35 # TODO(uartie) fix.
36 '-Wno-tautological-compare',
37
38 # WA: Suppress "equality comparison with extraneous parentheses"
39 # compile warning from GTFgl.c
40 # TODO(uartie) fix.
41 '-Wno-parentheses-equality',
42 ],
43 }],
44 ],
13 'dependencies': [ 45 'dependencies': [
14 '<(DEPTH)/gpu/khronos_glcts_support/khronos_glcts_framework.gyp:debase', 46 '<(DEPTH)/gpu/khronos_glcts_support/khronos_glcts_framework.gyp:debase',
15 '<(DEPTH)/gpu/khronos_glcts_support/khronos_glcts_cts.gyp:glcts_gtf_wrap per', 47 '<(DEPTH)/gpu/khronos_glcts_support/khronos_glcts_cts.gyp:glcts_gtf_wrap per',
16 '<(DEPTH)/third_party/expat/expat.gyp:expat', 48 '<(DEPTH)/third_party/expat/expat.gyp:expat',
17 ], 49 ],
18 'include_dirs': [ 50 'include_dirs': [
19 '<(DEPTH)/third_party/khronos_glcts/GTF_ES/glsl/GTF/Source', 51 '<(DEPTH)/third_party/khronos_glcts/GTF_ES/glsl/GTF/Source',
20 ], 52 ],
21 'direct_dependent_settings': { 53 'direct_dependent_settings': {
22 'include_dirs': [ 54 'include_dirs': [
23 '<(DEPTH)/third_party/khronos_glcts/GTF_ES/glsl/GTF/Source', 55 '<(DEPTH)/third_party/khronos_glcts/GTF_ES/glsl/GTF/Source',
24 ], 56 ],
25 }, 57 },
26 'sources': [ 58 'sources': [
27 '<@(gtf_core_srcs)', 59 '<@(gtf_core_srcs)',
28 '<@(gtf_gl_core_srcs)', 60 '<@(gtf_gl_core_srcs)',
29 '<@(gtf_gles2_srcs)', 61 '<@(gtf_gles2_srcs)',
30 '<@(gtf_gles2_es_only_srcs)', 62 '<@(gtf_gles2_es_only_srcs)',
31 ], 63 ],
32 }, 64 },
33 ], 65 ],
34 } 66 }
OLDNEW
« no previous file with comments | « gpu/khronos_glcts_support/khronos_glcts_framework.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698