Upstreaming browser/ui/uikit_ui_util from iOS.
[chromium-blink-merge.git] / gpu / khronos_glcts_support / khronos_glcts_gtf.gyp
blob246ab073042d21e48e087c6d2a5f590cdd599a86
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.
6   'includes': [
7     'khronos_glcts.gypi',
8   ],
9   'targets': [
10     {
11       'target_name': 'gtf_es',
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',
21             # WA: Suppress "incompatible pointer types passing to parameter"
22             # compile warning from GTFTestExtension.c.
23             # TODO(uartie) fix.
24             '-Wno-incompatible-pointer-types',
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',
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',
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       ],
45       'dependencies': [
46         '<(DEPTH)/gpu/khronos_glcts_support/khronos_glcts_framework.gyp:debase',
47         '<(DEPTH)/gpu/khronos_glcts_support/khronos_glcts_cts.gyp:glcts_gtf_wrapper',
48         '<(DEPTH)/third_party/expat/expat.gyp:expat',
49       ],
50       'include_dirs': [
51         '<(DEPTH)/third_party/khronos_glcts/GTF_ES/glsl/GTF/Source',
52       ],
53       'direct_dependent_settings': {
54         'include_dirs': [
55           '<(DEPTH)/third_party/khronos_glcts/GTF_ES/glsl/GTF/Source',
56         ],
57       },
58       'sources': [
59         '<@(gtf_core_srcs)',
60         '<@(gtf_gl_core_srcs)',
61         '<@(gtf_gles2_srcs)',
62         '<@(gtf_gles2_es_only_srcs)',
63       ],
64     },
65   ],