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

Unified 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, 3 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/khronos_glcts_support/khronos_glcts_framework.gyp
diff --git a/gpu/khronos_glcts_support/khronos_glcts_framework.gyp b/gpu/khronos_glcts_support/khronos_glcts_framework.gyp
index 27a39626295ae0887e4b349b571507334150f5e5..578794f1616652a9fa04aa43a166fda39a5f9ce2 100644
--- a/gpu/khronos_glcts_support/khronos_glcts_framework.gyp
+++ b/gpu/khronos_glcts_support/khronos_glcts_framework.gyp
@@ -30,6 +30,16 @@
{
'target_name': 'debase',
'type': 'static_library',
+ 'conditions': [
+ ['OS=="linux"', {
+ 'cflags': [
+ # WA: Suppress "implicit declaration of function '__assert_fail'
+ # is invalid in C99" warning from deDefs.c for Release compiles.
+ # TODO(uartie) fix.
+ '-Wno-implicit-function-declaration',
+ ],
+ }],
+ ],
'direct_dependent_settings': {
'include_dirs': [
'<(DEPTH)/third_party/khronos_glcts/framework/delibs/debase',
@@ -131,6 +141,17 @@
{
'target_name': 'tcutil',
'type': 'static_library',
+ 'conditions': [
+ ['OS=="linux"', {
+ 'cflags_cc': [
+ # WA: Suppress "cast to 'const unsigned char *' from smaller
+ # integer type 'deUint32' (aka 'unsigned int')" compile warning
+ # from tcuRandomValueIterator.hpp.
+ # TODO(uartie) fix.
+ '-Wno-int-to-pointer-cast',
+ ],
+ }],
+ ],
'dependencies': [
'delibs', 'qphelper',
'<(DEPTH)/third_party/libpng/libpng.gyp:libpng',
@@ -188,6 +209,17 @@
{
'target_name': 'tcutil_egl',
'type': 'static_library',
+ 'conditions': [
+ ['OS=="linux"', {
+ 'cflags_cc': [
+ # WA: Suppress "cast to 'void *' from smaller
+ # integer type 'glw::GLuint' (aka 'unsigned int')" compile
+ # warning from tcuEglPlatform.cpp.
+ # TODO(uartie) fix.
+ '-Wno-int-to-void-pointer-cast',
+ ],
+ }],
+ ],
'dependencies': [
'delibs', 'tcutil', 'glwrapper',
# TODO: We may want to phase out the old gles2_conform support in preference
« 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