OLD | NEW |
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': 'glcts_common', | 11 'target_name': 'glcts_common', |
12 'type': 'static_library', | 12 'type': 'static_library', |
| 13 'conditions': [ |
| 14 ['OS=="linux"', { |
| 15 'cflags_cc': [ |
| 16 # WA: Suppress "implicit conversion turns string literal into |
| 17 # bool" compile warning from glcShaderIndexingTests.cpp, |
| 18 # glcShaderLibraryCase.cpp and glcShaderLoopTests.cpp during |
| 19 # Debug build |
| 20 # TODO(uartie) fix. |
| 21 '-Wno-string-conversion', |
| 22 ], |
| 23 }], |
| 24 ], |
13 'dependencies': [ | 25 'dependencies': [ |
14 '<(DEPTH)/gpu/khronos_glcts_support/khronos_glcts_framework.gyp:delibs', | 26 '<(DEPTH)/gpu/khronos_glcts_support/khronos_glcts_framework.gyp:delibs', |
15 '<(DEPTH)/gpu/khronos_glcts_support/khronos_glcts_framework.gyp:tcutil', | 27 '<(DEPTH)/gpu/khronos_glcts_support/khronos_glcts_framework.gyp:tcutil', |
16 '<(DEPTH)/gpu/khronos_glcts_support/khronos_glcts_framework.gyp:glutil', | 28 '<(DEPTH)/gpu/khronos_glcts_support/khronos_glcts_framework.gyp:glutil', |
17 '<(DEPTH)/gpu/khronos_glcts_support/khronos_glcts_framework.gyp:tcutil_e
gl', | 29 '<(DEPTH)/gpu/khronos_glcts_support/khronos_glcts_framework.gyp:tcutil_e
gl', |
18 ], | 30 ], |
19 'direct_dependent_settings': { | 31 'direct_dependent_settings': { |
20 'include_dirs': [ | 32 'include_dirs': [ |
21 '<(DEPTH)/third_party/khronos_glcts/cts/common', | 33 '<(DEPTH)/third_party/khronos_glcts/cts/common', |
22 ], | 34 ], |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 }, | 95 }, |
84 'export_dependent_settings': [ | 96 'export_dependent_settings': [ |
85 'glcts_common', | 97 'glcts_common', |
86 ], | 98 ], |
87 'sources': [ | 99 'sources': [ |
88 '<@(glcts_es2_srcs)', | 100 '<@(glcts_es2_srcs)', |
89 ], | 101 ], |
90 }, | 102 }, |
91 ], | 103 ], |
92 } | 104 } |
OLD | NEW |