| OLD | NEW |
| (Empty) |
| 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 | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 { | |
| 6 'includes': [ | |
| 7 'khronos_glcts.gypi', | |
| 8 'khronos_glcts_defaults.gypi', | |
| 9 ], | |
| 10 'targets': [ | |
| 11 { | |
| 12 'target_name': 'gtf_es', | |
| 13 'type': 'static_library', | |
| 14 'conditions': [ | |
| 15 ['OS=="linux"', { | |
| 16 'cflags': [ | |
| 17 # WA: Suppress "control reaches end of non-void function" compile | |
| 18 # warning from GTFTestDriver.c. | |
| 19 # TODO(uartie) fix. | |
| 20 '-Wno-return-type', | |
| 21 | |
| 22 # WA: Suppress "incompatible pointer types passing to parameter" | |
| 23 # compile warning from GTFTestExtension.c. | |
| 24 # TODO(uartie) fix. | |
| 25 '-Wno-incompatible-pointer-types', | |
| 26 | |
| 27 # WA: Suppress "passing 'GLint [15]' to parameter of type | |
| 28 # 'GLuint *' (aka 'unsigned int') converts between pointers to | |
| 29 # integer types with different sign" compile warning from | |
| 30 # GTFGL2TestGetAttachedObjects.c | |
| 31 # TODO(uartie) fix. | |
| 32 '-Wno-pointer-sign', | |
| 33 | |
| 34 # WA: Suppress "comparison of unsigned expression >= 0 is always | |
| 35 # true" compile warning from GTFgl.c | |
| 36 # TODO(uartie) fix. | |
| 37 '-Wno-tautological-compare', | |
| 38 | |
| 39 # WA: Suppress "equality comparison with extraneous parentheses" | |
| 40 # compile warning from GTFgl.c | |
| 41 # TODO(uartie) fix. | |
| 42 '-Wno-parentheses-equality', | |
| 43 ], | |
| 44 }], | |
| 45 ], | |
| 46 'dependencies': [ | |
| 47 '<(DEPTH)/gpu/khronos_glcts_support/khronos_glcts_framework.gyp:debase', | |
| 48 '<(DEPTH)/gpu/khronos_glcts_support/khronos_glcts_cts.gyp:glcts_gtf_wrap
per', | |
| 49 '<(DEPTH)/third_party/expat/expat.gyp:expat', | |
| 50 ], | |
| 51 'include_dirs': [ | |
| 52 '<(DEPTH)/third_party/khronos_glcts/GTF_ES/glsl/GTF/Source', | |
| 53 ], | |
| 54 'direct_dependent_settings': { | |
| 55 'include_dirs': [ | |
| 56 '<(DEPTH)/third_party/khronos_glcts/GTF_ES/glsl/GTF/Source', | |
| 57 ], | |
| 58 }, | |
| 59 'sources': [ | |
| 60 '<@(gtf_core_srcs)', | |
| 61 '<@(gtf_gl_core_srcs)', | |
| 62 '<@(gtf_gles2_srcs)', | |
| 63 '<@(gtf_gles2_es_only_srcs)', | |
| 64 ], | |
| 65 }, | |
| 66 ], | |
| 67 } | |
| OLD | NEW |