| 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': 'glcts_common', | |
| 13 'type': 'static_library', | |
| 14 'conditions': [ | |
| 15 ['OS=="linux"', { | |
| 16 'cflags_cc': [ | |
| 17 # WA: Suppress "implicit conversion turns string literal into | |
| 18 # bool" compile warning from glcShaderIndexingTests.cpp, | |
| 19 # glcShaderLibraryCase.cpp and glcShaderLoopTests.cpp during | |
| 20 # Debug build | |
| 21 # TODO(uartie) fix. | |
| 22 '-Wno-string-conversion', | |
| 23 ], | |
| 24 }], | |
| 25 ], | |
| 26 'dependencies': [ | |
| 27 '<(DEPTH)/gpu/khronos_glcts_support/khronos_glcts_framework.gyp:delibs', | |
| 28 '<(DEPTH)/gpu/khronos_glcts_support/khronos_glcts_framework.gyp:tcutil', | |
| 29 '<(DEPTH)/gpu/khronos_glcts_support/khronos_glcts_framework.gyp:glutil', | |
| 30 '<(DEPTH)/gpu/khronos_glcts_support/khronos_glcts_framework.gyp:tcutil_e
gl', | |
| 31 ], | |
| 32 'direct_dependent_settings': { | |
| 33 'include_dirs': [ | |
| 34 '<(DEPTH)/third_party/khronos_glcts/cts/common', | |
| 35 ], | |
| 36 }, | |
| 37 'sources': [ | |
| 38 '<@(glcts_common_sources)', | |
| 39 ], | |
| 40 }, | |
| 41 { | |
| 42 'target_name': 'glcts_gtf_wrapper', | |
| 43 'type': 'static_library', | |
| 44 'dependencies': [ | |
| 45 'glcts_common', | |
| 46 '<(DEPTH)/gpu/khronos_glcts_support/khronos_glcts_framework.gyp:delibs', | |
| 47 '<(DEPTH)/gpu/khronos_glcts_support/khronos_glcts_framework.gyp:tcutil', | |
| 48 '<(DEPTH)/gpu/khronos_glcts_support/khronos_glcts_framework.gyp:glutil', | |
| 49 '<(DEPTH)/gpu/khronos_glcts_support/khronos_glcts_framework.gyp:tcutil_e
gl', | |
| 50 ], | |
| 51 'include_dirs': [ | |
| 52 '<(DEPTH)/third_party/khronos_glcts/cts/gtf', | |
| 53 '<(DEPTH)/third_party/khronos_glcts/GTF_ES/glsl/GTF/Source' | |
| 54 ], | |
| 55 'direct_dependent_settings': { | |
| 56 'include_dirs': [ | |
| 57 '<(DEPTH)/third_party/khronos_glcts/cts/gtf', | |
| 58 ], | |
| 59 }, | |
| 60 'sources': [ | |
| 61 '<@(glcts_gtf_wrapper_srcs)', | |
| 62 ], | |
| 63 }, | |
| 64 { | |
| 65 'target_name': 'glcts_gtf', | |
| 66 'type': 'static_library', | |
| 67 'dependencies': [ | |
| 68 'glcts_common', 'glcts_gtf_wrapper', | |
| 69 '<(DEPTH)/gpu/khronos_glcts_support/khronos_glcts_gtf.gyp:gtf_es', | |
| 70 '<(DEPTH)/gpu/khronos_glcts_support/khronos_glcts_framework.gyp:delibs', | |
| 71 '<(DEPTH)/gpu/khronos_glcts_support/khronos_glcts_framework.gyp:tcutil', | |
| 72 '<(DEPTH)/gpu/khronos_glcts_support/khronos_glcts_framework.gyp:glutil', | |
| 73 ], | |
| 74 'direct_dependent_settings': { | |
| 75 'include_dirs': [ | |
| 76 '<(DEPTH)/third_party/khronos_glcts/cts/gtf', | |
| 77 ], | |
| 78 }, | |
| 79 'sources': [ | |
| 80 '<@(glcts_gtf_srcs)', | |
| 81 ], | |
| 82 }, | |
| 83 { | |
| 84 'target_name': 'glcts_es2', | |
| 85 'type': 'static_library', | |
| 86 'dependencies': [ | |
| 87 'glcts_common', 'glcts_gtf', | |
| 88 '<(DEPTH)/gpu/khronos_glcts_support/khronos_glcts_framework.gyp:delibs', | |
| 89 '<(DEPTH)/gpu/khronos_glcts_support/khronos_glcts_framework.gyp:tcutil', | |
| 90 '<(DEPTH)/gpu/khronos_glcts_support/khronos_glcts_framework.gyp:glutil', | |
| 91 ], | |
| 92 'direct_dependent_settings': { | |
| 93 'include_dirs': [ | |
| 94 '<(DEPTH)/third_party/khronos_glcts/cts/gles2', | |
| 95 ], | |
| 96 }, | |
| 97 'export_dependent_settings': [ | |
| 98 'glcts_common', | |
| 99 ], | |
| 100 'sources': [ | |
| 101 '<@(glcts_es2_srcs)', | |
| 102 ], | |
| 103 }, | |
| 104 ], | |
| 105 } | |
| OLD | NEW |