| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 import("//testing/test.gni") | 5 import("//testing/test.gni") |
| 6 | 6 |
| 7 declare_args() { | 7 declare_args() { |
| 8 internal_khronos_glcts_tests = false | 8 internal_khronos_glcts_tests = false |
| 9 } | 9 } |
| 10 | 10 |
| 11 if (internal_khronos_glcts_tests) { | 11 if (internal_khronos_glcts_tests) { |
| 12 khronos_glcts_gypi = | 12 glcts_gtf_runfiles = |
| 13 exec_script("//build/gypi_to_gn.py", | 13 [ "//third_party/khronos_glcts/GTF_ES/glsl/GTF/mustpass_es20.run" ] |
| 14 [ | |
| 15 rebase_path("khronos_glcts.gypi"), | |
| 16 "--replace=<(DEPTH)=../..", | |
| 17 "--replace=<(SHARED_INTERMEDIATE_DIR)=$target_gen_dir", | |
| 18 ], | |
| 19 "scope", | |
| 20 [ "khronos_glcts.gypi" ]) | |
| 21 | 14 |
| 22 # GYP version: gpu/khronos_glcts_support/khronos_glcts_test.gyp:khronos_glcts_
test_windowless | |
| 23 copy("glcts_resources") { | 15 copy("glcts_resources") { |
| 24 sources = khronos_glcts_gypi.glcts_data_dirs | 16 sources = [ |
| 17 "//third_party/khronos_glcts/cts/data", |
| 18 ] |
| 25 outputs = [ | 19 outputs = [ |
| 26 "$root_out_dir/khronos_glcts_data/gl_cts/{{source_file_part}}", | 20 "$root_out_dir/khronos_glcts_data/gl_cts/{{source_file_part}}", |
| 27 ] | 21 ] |
| 28 } | 22 } |
| 29 | 23 |
| 30 # GYP version: gpu/khronos_glcts_support/khronos_glcts_test.gyp:khronos_glcts_
test_windowless | |
| 31 copy("glcts_gtf_resources") { | 24 copy("glcts_gtf_resources") { |
| 32 sources = khronos_glcts_gypi.glcts_gtf_data_dirs + | 25 sources = [ |
| 33 khronos_glcts_gypi.glcts_gtf_runfiles | 26 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/GL", |
| 27 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/GL2ExtensionTests", |
| 28 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/GL2FixedTests", |
| 29 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/GL2Tests", |
| 30 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/GLCoverage", |
| 31 ] + glcts_gtf_runfiles |
| 34 outputs = [ | 32 outputs = [ |
| 35 "$root_out_dir/khronos_glcts_data/gl_cts/GTF/{{source_file_part}}", | 33 "$root_out_dir/khronos_glcts_data/gl_cts/GTF/{{source_file_part}}", |
| 36 ] | 34 ] |
| 37 } | 35 } |
| 38 | 36 |
| 39 # GYP version: gpu/khronos_glcts_support/khronos_glcts_test.gyp:khronos_glcts_
test | |
| 40 action("generate_khronos_glcts_tests") { | 37 action("generate_khronos_glcts_tests") { |
| 41 script = "generate_khronos_glcts_tests.py" | 38 script = "generate_khronos_glcts_tests.py" |
| 42 sources = [ "khronos_glcts_test.h" ] + khronos_glcts_gypi.glcts_gtf_runfiles | 39 sources = [ "khronos_glcts_test.h" ] + glcts_gtf_runfiles |
| 43 outputs = [ | 40 outputs = [ |
| 44 "$target_gen_dir/khronos_glcts_test_autogen.cc", | 41 "$target_gen_dir/khronos_glcts_test_autogen.cc", |
| 45 ] | 42 ] |
| 46 args = [ "--outdir=" + rebase_path("$target_gen_dir") ] + | 43 args = [ "--outdir=" + rebase_path("$target_gen_dir") ] + glcts_gtf_runfiles |
| 47 khronos_glcts_gypi.glcts_gtf_runfiles | |
| 48 } | 44 } |
| 49 | 45 |
| 50 # GYP version: gpu/khronos_glcts_support/khronos_glcts_defaults.gypi:target_de
faults | |
| 51 config("defaults_config") { | 46 config("defaults_config") { |
| 52 defines = [ | 47 defines = [ |
| 53 "DEQP_TARGET_NAME=\"chrome-gpu-command-buffer\"", | 48 "DEQP_TARGET_NAME=\"chrome-gpu-command-buffer\"", |
| 54 "DEQP_SUPPORT_GLES2=1", | 49 "DEQP_SUPPORT_GLES2=1", |
| 55 "DEQP_SUPPORT_EGL=1", | 50 "DEQP_SUPPORT_EGL=1", |
| 56 "GTF_API=GTF_GLES20", | 51 "GTF_API=GTF_GLES20", |
| 57 ] | 52 ] |
| 58 | 53 |
| 59 if (is_linux) { | 54 if (is_linux) { |
| 60 defines += [ "_XOPEN_SOURCE=500" ] | 55 defines += [ "_XOPEN_SOURCE=500" ] |
| 61 } | 56 } |
| 62 } | 57 } |
| 63 | 58 |
| 64 # GYP version: gpu/khronos_glcts_support/khronos_glcts_framework.gyp:debase | |
| 65 config("debase_config") { | 59 config("debase_config") { |
| 66 include_dirs = [ "//third_party/khronos_glcts/framework/delibs/debase" ] | 60 include_dirs = [ "//third_party/khronos_glcts/framework/delibs/debase" ] |
| 67 } | 61 } |
| 68 source_set("debase") { | 62 source_set("debase") { |
| 69 sources = khronos_glcts_gypi.debase_srcs | 63 sources = [ |
| 64 "//third_party/khronos_glcts/framework/delibs/debase/deDefs.c", |
| 65 "//third_party/khronos_glcts/framework/delibs/debase/deDefs.h", |
| 66 "//third_party/khronos_glcts/framework/delibs/debase/deFloat16.c", |
| 67 "//third_party/khronos_glcts/framework/delibs/debase/deFloat16.h", |
| 68 "//third_party/khronos_glcts/framework/delibs/debase/deInt32.c", |
| 69 "//third_party/khronos_glcts/framework/delibs/debase/deInt32.h", |
| 70 "//third_party/khronos_glcts/framework/delibs/debase/deInt32Test.c", |
| 71 "//third_party/khronos_glcts/framework/delibs/debase/deMath.c", |
| 72 "//third_party/khronos_glcts/framework/delibs/debase/deMath.h", |
| 73 "//third_party/khronos_glcts/framework/delibs/debase/deMemory.c", |
| 74 "//third_party/khronos_glcts/framework/delibs/debase/deMemory.h", |
| 75 "//third_party/khronos_glcts/framework/delibs/debase/deRandom.c", |
| 76 "//third_party/khronos_glcts/framework/delibs/debase/deRandom.h", |
| 77 "//third_party/khronos_glcts/framework/delibs/debase/deString.c", |
| 78 "//third_party/khronos_glcts/framework/delibs/debase/deString.h", |
| 79 ] |
| 70 | 80 |
| 71 configs += [ ":defaults_config" ] | 81 configs += [ ":defaults_config" ] |
| 72 configs -= [ "//build/config/compiler:chromium_code" ] | 82 configs -= [ "//build/config/compiler:chromium_code" ] |
| 73 configs += [ "//build/config/compiler:no_chromium_code" ] | 83 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 74 configs -= [ "//build/config/compiler:no_rtti" ] | 84 configs -= [ "//build/config/compiler:no_rtti" ] |
| 75 configs += [ "//build/config/compiler:rtti" ] | 85 configs += [ "//build/config/compiler:rtti" ] |
| 76 | 86 |
| 77 public_configs = [ ":debase_config" ] | 87 public_configs = [ ":debase_config" ] |
| 78 | 88 |
| 79 if (is_linux) { | 89 if (is_linux) { |
| 80 cflags_c = [ "-Wno-implicit-function-declaration" ] | 90 cflags_c = [ "-Wno-implicit-function-declaration" ] |
| 81 } | 91 } |
| 82 } | 92 } |
| 83 | 93 |
| 84 # GYP version: gpu/khronos_glcts_support/khronos_glcts_framework.gyp:depool | |
| 85 config("depool_config") { | 94 config("depool_config") { |
| 86 include_dirs = [ "//third_party/khronos_glcts/framework/delibs/depool" ] | 95 include_dirs = [ "//third_party/khronos_glcts/framework/delibs/depool" ] |
| 87 } | 96 } |
| 88 source_set("depool") { | 97 source_set("depool") { |
| 89 sources = khronos_glcts_gypi.depool_srcs | 98 sources = [ |
| 99 "//third_party/khronos_glcts/framework/delibs/depool/deMemPool.c", |
| 100 "//third_party/khronos_glcts/framework/delibs/depool/deMemPool.h", |
| 101 "//third_party/khronos_glcts/framework/delibs/depool/dePoolArray.c", |
| 102 "//third_party/khronos_glcts/framework/delibs/depool/dePoolArray.h", |
| 103 "//third_party/khronos_glcts/framework/delibs/depool/dePoolHash.c", |
| 104 "//third_party/khronos_glcts/framework/delibs/depool/dePoolHash.h", |
| 105 "//third_party/khronos_glcts/framework/delibs/depool/dePoolHashArray.c", |
| 106 "//third_party/khronos_glcts/framework/delibs/depool/dePoolHashArray.h", |
| 107 "//third_party/khronos_glcts/framework/delibs/depool/dePoolHashSet.c", |
| 108 "//third_party/khronos_glcts/framework/delibs/depool/dePoolHashSet.h", |
| 109 "//third_party/khronos_glcts/framework/delibs/depool/dePoolHeap.c", |
| 110 "//third_party/khronos_glcts/framework/delibs/depool/dePoolHeap.h", |
| 111 "//third_party/khronos_glcts/framework/delibs/depool/dePoolMultiSet.c", |
| 112 "//third_party/khronos_glcts/framework/delibs/depool/dePoolMultiSet.h", |
| 113 "//third_party/khronos_glcts/framework/delibs/depool/dePoolSet.c", |
| 114 "//third_party/khronos_glcts/framework/delibs/depool/dePoolSet.h", |
| 115 "//third_party/khronos_glcts/framework/delibs/depool/dePoolStringBuilder.c
", |
| 116 "//third_party/khronos_glcts/framework/delibs/depool/dePoolStringBuilder.h
", |
| 117 "//third_party/khronos_glcts/framework/delibs/depool/dePoolTest.c", |
| 118 "//third_party/khronos_glcts/framework/delibs/depool/dePoolTest.h", |
| 119 ] |
| 90 | 120 |
| 91 deps = [ | 121 deps = [ |
| 92 ":debase", | 122 ":debase", |
| 93 ] | 123 ] |
| 94 | 124 |
| 95 configs += [ ":defaults_config" ] | 125 configs += [ ":defaults_config" ] |
| 96 configs -= [ "//build/config/compiler:chromium_code" ] | 126 configs -= [ "//build/config/compiler:chromium_code" ] |
| 97 configs += [ "//build/config/compiler:no_chromium_code" ] | 127 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 98 configs -= [ "//build/config/compiler:no_rtti" ] | 128 configs -= [ "//build/config/compiler:no_rtti" ] |
| 99 configs += [ "//build/config/compiler:rtti" ] | 129 configs += [ "//build/config/compiler:rtti" ] |
| 100 | 130 |
| 101 public_configs = [ ":depool_config" ] | 131 public_configs = [ ":depool_config" ] |
| 102 } | 132 } |
| 103 | 133 |
| 104 # GYP version: gpu/khronos_glcts_support/khronos_glcts_framework.gyp:dethread | |
| 105 config("dethread_config") { | 134 config("dethread_config") { |
| 106 include_dirs = [ "//third_party/khronos_glcts/framework/delibs/dethread" ] | 135 include_dirs = [ "//third_party/khronos_glcts/framework/delibs/dethread" ] |
| 107 } | 136 } |
| 108 source_set("dethread") { | 137 source_set("dethread") { |
| 109 sources = khronos_glcts_gypi.dethread_srcs | 138 sources = [ |
| 139 "//third_party/khronos_glcts/framework/delibs/dethread/deAtomic.c", |
| 140 "//third_party/khronos_glcts/framework/delibs/dethread/deAtomic.h", |
| 141 "//third_party/khronos_glcts/framework/delibs/dethread/deMutex.h", |
| 142 "//third_party/khronos_glcts/framework/delibs/dethread/deSemaphore.h", |
| 143 "//third_party/khronos_glcts/framework/delibs/dethread/deThread.h", |
| 144 "//third_party/khronos_glcts/framework/delibs/dethread/deThreadLocal.h", |
| 145 "//third_party/khronos_glcts/framework/delibs/dethread/deThreadTest.c", |
| 146 "//third_party/khronos_glcts/framework/delibs/dethread/deThreadTest.h", |
| 147 ] |
| 110 | 148 |
| 111 deps = [ | 149 deps = [ |
| 112 ":debase", | 150 ":debase", |
| 113 ] | 151 ] |
| 114 | 152 |
| 115 configs += [ ":defaults_config" ] | 153 configs += [ ":defaults_config" ] |
| 116 configs -= [ "//build/config/compiler:chromium_code" ] | 154 configs -= [ "//build/config/compiler:chromium_code" ] |
| 117 configs += [ "//build/config/compiler:no_chromium_code" ] | 155 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 118 configs -= [ "//build/config/compiler:no_rtti" ] | 156 configs -= [ "//build/config/compiler:no_rtti" ] |
| 119 configs += [ "//build/config/compiler:rtti" ] | 157 configs += [ "//build/config/compiler:rtti" ] |
| 120 | 158 |
| 121 public_configs = [ ":dethread_config" ] | 159 public_configs = [ ":dethread_config" ] |
| 122 | 160 |
| 123 if (is_linux) { | 161 if (is_linux) { |
| 124 sources += khronos_glcts_gypi.dethread_unix_srcs | 162 sources += [ |
| 163 "//third_party/khronos_glcts/framework/delibs/dethread/unix/deMutexUnix.
c", |
| 164 "//third_party/khronos_glcts/framework/delibs/dethread/unix/deSemaphoreU
nix.c", |
| 165 "//third_party/khronos_glcts/framework/delibs/dethread/unix/deThreadLoca
lUnix.c", |
| 166 "//third_party/khronos_glcts/framework/delibs/dethread/unix/deThreadUnix
.c", |
| 167 ] |
| 125 } | 168 } |
| 126 } | 169 } |
| 127 | 170 |
| 128 # GYP version: gpu/khronos_glcts_support/khronos_glcts_framework.gyp:deutil | |
| 129 config("deutil_config") { | 171 config("deutil_config") { |
| 130 include_dirs = [ "//third_party/khronos_glcts/framework/delibs/deutil" ] | 172 include_dirs = [ "//third_party/khronos_glcts/framework/delibs/deutil" ] |
| 131 } | 173 } |
| 132 source_set("deutil") { | 174 source_set("deutil") { |
| 133 sources = khronos_glcts_gypi.deutil_srcs | 175 sources = [ |
| 176 "//third_party/khronos_glcts/framework/delibs/deutil/deClock.c", |
| 177 "//third_party/khronos_glcts/framework/delibs/deutil/deClock.h", |
| 178 "//third_party/khronos_glcts/framework/delibs/deutil/deCommandLine.c", |
| 179 "//third_party/khronos_glcts/framework/delibs/deutil/deCommandLine.h", |
| 180 "//third_party/khronos_glcts/framework/delibs/deutil/deDynamicLibrary.c", |
| 181 "//third_party/khronos_glcts/framework/delibs/deutil/deDynamicLibrary.h", |
| 182 "//third_party/khronos_glcts/framework/delibs/deutil/deFile.c", |
| 183 "//third_party/khronos_glcts/framework/delibs/deutil/deFile.h", |
| 184 "//third_party/khronos_glcts/framework/delibs/deutil/deProcess.c", |
| 185 "//third_party/khronos_glcts/framework/delibs/deutil/deProcess.h", |
| 186 "//third_party/khronos_glcts/framework/delibs/deutil/deSocket.c", |
| 187 "//third_party/khronos_glcts/framework/delibs/deutil/deSocket.h", |
| 188 "//third_party/khronos_glcts/framework/delibs/deutil/deTimer.c", |
| 189 "//third_party/khronos_glcts/framework/delibs/deutil/deTimer.h", |
| 190 "//third_party/khronos_glcts/framework/delibs/deutil/deTimerTest.c", |
| 191 "//third_party/khronos_glcts/framework/delibs/deutil/deTimerTest.h", |
| 192 ] |
| 134 | 193 |
| 135 deps = [ | 194 deps = [ |
| 136 ":debase", | 195 ":debase", |
| 137 ":depool", | 196 ":depool", |
| 138 ":dethread", | 197 ":dethread", |
| 139 ] | 198 ] |
| 140 | 199 |
| 141 configs += [ ":defaults_config" ] | 200 configs += [ ":defaults_config" ] |
| 142 configs -= [ "//build/config/compiler:chromium_code" ] | 201 configs -= [ "//build/config/compiler:chromium_code" ] |
| 143 configs += [ "//build/config/compiler:no_chromium_code" ] | 202 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 144 configs -= [ "//build/config/compiler:no_rtti" ] | 203 configs -= [ "//build/config/compiler:no_rtti" ] |
| 145 configs += [ "//build/config/compiler:rtti" ] | 204 configs += [ "//build/config/compiler:rtti" ] |
| 146 | 205 |
| 147 public_configs = [ ":deutil_config" ] | 206 public_configs = [ ":deutil_config" ] |
| 148 | 207 |
| 149 if (is_linux) { | 208 if (is_linux) { |
| 150 cflags_c = [ "-Wno-string-conversion" ] | 209 cflags_c = [ "-Wno-string-conversion" ] |
| 151 } | 210 } |
| 152 } | 211 } |
| 153 | 212 |
| 154 # GYP version: gpu/khronos_glcts_support/khronos_glcts_framework.gyp:decpp | |
| 155 config("decpp_config") { | 213 config("decpp_config") { |
| 156 include_dirs = [ "//third_party/khronos_glcts/framework/delibs/decpp" ] | 214 include_dirs = [ "//third_party/khronos_glcts/framework/delibs/decpp" ] |
| 157 } | 215 } |
| 158 source_set("decpp") { | 216 source_set("decpp") { |
| 159 sources = khronos_glcts_gypi.decpp_srcs | 217 sources = [ |
| 218 "//third_party/khronos_glcts/framework/delibs/decpp/deBlockBuffer.cpp", |
| 219 "//third_party/khronos_glcts/framework/delibs/decpp/deBlockBuffer.hpp", |
| 220 "//third_party/khronos_glcts/framework/delibs/decpp/deDefs.cpp", |
| 221 "//third_party/khronos_glcts/framework/delibs/decpp/deDefs.hpp", |
| 222 "//third_party/khronos_glcts/framework/delibs/decpp/deDirectoryIterator.cp
p", |
| 223 "//third_party/khronos_glcts/framework/delibs/decpp/deDirectoryIterator.hp
p", |
| 224 "//third_party/khronos_glcts/framework/delibs/decpp/deDynamicLibrary.cpp", |
| 225 "//third_party/khronos_glcts/framework/delibs/decpp/deDynamicLibrary.hpp", |
| 226 "//third_party/khronos_glcts/framework/delibs/decpp/deFilePath.cpp", |
| 227 "//third_party/khronos_glcts/framework/delibs/decpp/deFilePath.hpp", |
| 228 "//third_party/khronos_glcts/framework/delibs/decpp/deMemPool.cpp", |
| 229 "//third_party/khronos_glcts/framework/delibs/decpp/deMemPool.hpp", |
| 230 "//third_party/khronos_glcts/framework/delibs/decpp/deMutex.cpp", |
| 231 "//third_party/khronos_glcts/framework/delibs/decpp/deMutex.hpp", |
| 232 "//third_party/khronos_glcts/framework/delibs/decpp/dePoolArray.cpp", |
| 233 "//third_party/khronos_glcts/framework/delibs/decpp/dePoolArray.hpp", |
| 234 "//third_party/khronos_glcts/framework/delibs/decpp/dePoolString.cpp", |
| 235 "//third_party/khronos_glcts/framework/delibs/decpp/dePoolString.hpp", |
| 236 "//third_party/khronos_glcts/framework/delibs/decpp/deRandom.cpp", |
| 237 "//third_party/khronos_glcts/framework/delibs/decpp/deRandom.hpp", |
| 238 "//third_party/khronos_glcts/framework/delibs/decpp/deRingBuffer.cpp", |
| 239 "//third_party/khronos_glcts/framework/delibs/decpp/deRingBuffer.hpp", |
| 240 "//third_party/khronos_glcts/framework/delibs/decpp/deSemaphore.cpp", |
| 241 "//third_party/khronos_glcts/framework/delibs/decpp/deSemaphore.hpp", |
| 242 "//third_party/khronos_glcts/framework/delibs/decpp/deSharedPtr.cpp", |
| 243 "//third_party/khronos_glcts/framework/delibs/decpp/deSharedPtr.hpp", |
| 244 "//third_party/khronos_glcts/framework/delibs/decpp/deSocket.cpp", |
| 245 "//third_party/khronos_glcts/framework/delibs/decpp/deSocket.hpp", |
| 246 "//third_party/khronos_glcts/framework/delibs/decpp/deStringUtil.cpp", |
| 247 "//third_party/khronos_glcts/framework/delibs/decpp/deStringUtil.hpp", |
| 248 "//third_party/khronos_glcts/framework/delibs/decpp/deThread.cpp", |
| 249 "//third_party/khronos_glcts/framework/delibs/decpp/deThread.hpp", |
| 250 "//third_party/khronos_glcts/framework/delibs/decpp/deThreadSafeRingBuffer
.cpp", |
| 251 "//third_party/khronos_glcts/framework/delibs/decpp/deThreadSafeRingBuffer
.hpp", |
| 252 "//third_party/khronos_glcts/framework/delibs/decpp/deUniquePtr.cpp", |
| 253 "//third_party/khronos_glcts/framework/delibs/decpp/deUniquePtr.hpp", |
| 254 ] |
| 160 | 255 |
| 161 deps = [ | 256 deps = [ |
| 162 ":debase", | 257 ":debase", |
| 163 ":depool", | 258 ":depool", |
| 164 ":dethread", | 259 ":dethread", |
| 165 ":deutil", | 260 ":deutil", |
| 166 ] | 261 ] |
| 167 | 262 |
| 168 configs += [ ":defaults_config" ] | 263 configs += [ ":defaults_config" ] |
| 169 configs -= [ "//build/config/compiler:chromium_code" ] | 264 configs -= [ "//build/config/compiler:chromium_code" ] |
| 170 configs += [ "//build/config/compiler:no_chromium_code" ] | 265 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 171 configs -= [ "//build/config/compiler:no_rtti" ] | 266 configs -= [ "//build/config/compiler:no_rtti" ] |
| 172 configs += [ "//build/config/compiler:rtti" ] | 267 configs += [ "//build/config/compiler:rtti" ] |
| 173 | 268 |
| 174 public_configs = [ ":decpp_config" ] | 269 public_configs = [ ":decpp_config" ] |
| 175 | 270 |
| 176 if (is_linux) { | 271 if (is_linux) { |
| 177 configs -= [ "//build/config/gcc:no_exceptions" ] | 272 configs -= [ "//build/config/gcc:no_exceptions" ] |
| 178 } | 273 } |
| 179 } | 274 } |
| 180 | 275 |
| 181 # GYP version: gpu/khronos_glcts_support/khronos_glcts_framework.gyp:delibs | |
| 182 group("delibs") { | 276 group("delibs") { |
| 183 public_deps = [ | 277 public_deps = [ |
| 184 ":debase", | 278 ":debase", |
| 185 ":decpp", | 279 ":decpp", |
| 186 ":depool", | 280 ":depool", |
| 187 ":dethread", | 281 ":dethread", |
| 188 ":deutil", | 282 ":deutil", |
| 189 ] | 283 ] |
| 190 } | 284 } |
| 191 | 285 |
| 192 # GYP version: gpu/khronos_glcts_support/khronos_glcts_framework.gyp:qphelper | |
| 193 config("qphelper_config") { | 286 config("qphelper_config") { |
| 194 include_dirs = [ "//third_party/khronos_glcts/framework/qphelper" ] | 287 include_dirs = [ "//third_party/khronos_glcts/framework/qphelper" ] |
| 195 } | 288 } |
| 196 source_set("qphelper") { | 289 source_set("qphelper") { |
| 197 sources = khronos_glcts_gypi.qphelper_srcs | 290 sources = [ |
| 291 "//third_party/khronos_glcts/framework/qphelper/qpCommandLine.c", |
| 292 "//third_party/khronos_glcts/framework/qphelper/qpCommandLine.h", |
| 293 "//third_party/khronos_glcts/framework/qphelper/qpCrashHandler.c", |
| 294 "//third_party/khronos_glcts/framework/qphelper/qpCrashHandler.h", |
| 295 "//third_party/khronos_glcts/framework/qphelper/qpDebugOut.c", |
| 296 "//third_party/khronos_glcts/framework/qphelper/qpDebugOut.h", |
| 297 "//third_party/khronos_glcts/framework/qphelper/qpInfo.c", |
| 298 "//third_party/khronos_glcts/framework/qphelper/qpInfo.h", |
| 299 "//third_party/khronos_glcts/framework/qphelper/qpTestLog.c", |
| 300 "//third_party/khronos_glcts/framework/qphelper/qpTestLog.h", |
| 301 "//third_party/khronos_glcts/framework/qphelper/qpWatchDog.c", |
| 302 "//third_party/khronos_glcts/framework/qphelper/qpWatchDog.h", |
| 303 "//third_party/khronos_glcts/framework/qphelper/qpXmlWriter.c", |
| 304 "//third_party/khronos_glcts/framework/qphelper/qpXmlWriter.h", |
| 305 ] |
| 198 | 306 |
| 199 defines = [ "QP_SUPPORT_PNG" ] | 307 defines = [ "QP_SUPPORT_PNG" ] |
| 200 | 308 |
| 201 deps = [ | 309 deps = [ |
| 202 ":delibs", | 310 ":delibs", |
| 203 "//third_party/libpng:libpng", | 311 "//third_party/libpng:libpng", |
| 204 ] | 312 ] |
| 205 | 313 |
| 206 configs += [ ":defaults_config" ] | 314 configs += [ ":defaults_config" ] |
| 207 configs -= [ "//build/config/compiler:chromium_code" ] | 315 configs -= [ "//build/config/compiler:chromium_code" ] |
| 208 configs += [ "//build/config/compiler:no_chromium_code" ] | 316 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 209 configs -= [ "//build/config/compiler:no_rtti" ] | 317 configs -= [ "//build/config/compiler:no_rtti" ] |
| 210 configs += [ "//build/config/compiler:rtti" ] | 318 configs += [ "//build/config/compiler:rtti" ] |
| 211 | 319 |
| 212 public_configs = [ ":qphelper_config" ] | 320 public_configs = [ ":qphelper_config" ] |
| 213 | 321 |
| 214 if (is_linux) { | 322 if (is_linux) { |
| 215 cflags_c = [ "-Wno-string-conversion" ] | 323 cflags_c = [ "-Wno-string-conversion" ] |
| 216 } | 324 } |
| 217 } | 325 } |
| 218 | 326 |
| 219 # GYP version: gpu/khronos_glcts_support/khronos_glcts_framework.gyp:tcutil | |
| 220 config("tcutil_config") { | 327 config("tcutil_config") { |
| 221 include_dirs = [ "//third_party/khronos_glcts/framework/common" ] | 328 include_dirs = [ "//third_party/khronos_glcts/framework/common" ] |
| 222 } | 329 } |
| 223 source_set("tcutil") { | 330 source_set("tcutil") { |
| 224 sources = khronos_glcts_gypi.tcutil_srcs | 331 sources = [ |
| 332 "//third_party/khronos_glcts/framework/common/tcuApp.cpp", |
| 333 "//third_party/khronos_glcts/framework/common/tcuApp.hpp", |
| 334 "//third_party/khronos_glcts/framework/common/tcuCommandLine.cpp", |
| 335 "//third_party/khronos_glcts/framework/common/tcuCommandLine.hpp", |
| 336 "//third_party/khronos_glcts/framework/common/tcuCompressedTexture.cpp", |
| 337 "//third_party/khronos_glcts/framework/common/tcuCompressedTexture.hpp", |
| 338 "//third_party/khronos_glcts/framework/common/tcuDefs.cpp", |
| 339 "//third_party/khronos_glcts/framework/common/tcuDefs.hpp", |
| 340 "//third_party/khronos_glcts/framework/common/tcuFloat.hpp", |
| 341 "//third_party/khronos_glcts/framework/common/tcuFormatUtil.hpp", |
| 342 "//third_party/khronos_glcts/framework/common/tcuFuzzyImageCompare.cpp", |
| 343 "//third_party/khronos_glcts/framework/common/tcuFuzzyImageCompare.hpp", |
| 344 "//third_party/khronos_glcts/framework/common/tcuImageCompare.cpp", |
| 345 "//third_party/khronos_glcts/framework/common/tcuImageCompare.hpp", |
| 346 "//third_party/khronos_glcts/framework/common/tcuImageIO.cpp", |
| 347 "//third_party/khronos_glcts/framework/common/tcuImageIO.hpp", |
| 348 "//third_party/khronos_glcts/framework/common/tcuMatrix.hpp", |
| 349 "//third_party/khronos_glcts/framework/common/tcuMatrixUtil.hpp", |
| 350 "//third_party/khronos_glcts/framework/common/tcuPixelFormat.hpp", |
| 351 "//third_party/khronos_glcts/framework/common/tcuPlatform.cpp", |
| 352 "//third_party/khronos_glcts/framework/common/tcuPlatform.hpp", |
| 353 "//third_party/khronos_glcts/framework/common/tcuRGBA.cpp", |
| 354 "//third_party/khronos_glcts/framework/common/tcuRGBA.hpp", |
| 355 "//third_party/khronos_glcts/framework/common/tcuRandomValueIterator.cpp", |
| 356 "//third_party/khronos_glcts/framework/common/tcuRandomValueIterator.hpp", |
| 357 "//third_party/khronos_glcts/framework/common/tcuRenderTarget.cpp", |
| 358 "//third_party/khronos_glcts/framework/common/tcuRenderTarget.hpp", |
| 359 "//third_party/khronos_glcts/framework/common/tcuResource.cpp", |
| 360 "//third_party/khronos_glcts/framework/common/tcuResource.hpp", |
| 361 "//third_party/khronos_glcts/framework/common/tcuStringTemplate.cpp", |
| 362 "//third_party/khronos_glcts/framework/common/tcuStringTemplate.hpp", |
| 363 "//third_party/khronos_glcts/framework/common/tcuSurface.cpp", |
| 364 "//third_party/khronos_glcts/framework/common/tcuSurface.hpp", |
| 365 "//third_party/khronos_glcts/framework/common/tcuTestCase.cpp", |
| 366 "//third_party/khronos_glcts/framework/common/tcuTestCase.hpp", |
| 367 "//third_party/khronos_glcts/framework/common/tcuTestCaseWrapper.cpp", |
| 368 "//third_party/khronos_glcts/framework/common/tcuTestCaseWrapper.hpp", |
| 369 "//third_party/khronos_glcts/framework/common/tcuTestContext.cpp", |
| 370 "//third_party/khronos_glcts/framework/common/tcuTestContext.hpp", |
| 371 "//third_party/khronos_glcts/framework/common/tcuTestExecutor.cpp", |
| 372 "//third_party/khronos_glcts/framework/common/tcuTestExecutor.hpp", |
| 373 "//third_party/khronos_glcts/framework/common/tcuTestLog.cpp", |
| 374 "//third_party/khronos_glcts/framework/common/tcuTestLog.hpp", |
| 375 "//third_party/khronos_glcts/framework/common/tcuTestPackage.cpp", |
| 376 "//third_party/khronos_glcts/framework/common/tcuTestPackage.hpp", |
| 377 "//third_party/khronos_glcts/framework/common/tcuTexture.cpp", |
| 378 "//third_party/khronos_glcts/framework/common/tcuTexture.hpp", |
| 379 "//third_party/khronos_glcts/framework/common/tcuTextureUtil.cpp", |
| 380 "//third_party/khronos_glcts/framework/common/tcuTextureUtil.hpp", |
| 381 "//third_party/khronos_glcts/framework/common/tcuVector.hpp", |
| 382 "//third_party/khronos_glcts/framework/common/tcuVectorType.hpp", |
| 383 "//third_party/khronos_glcts/framework/common/tcuVectorUtil.hpp", |
| 384 |
| 385 # Not used by anything... |
| 386 #"//third_party/khronos_glcts/framework/common/tcuZipResource.cpp", |
| 387 #"//third_party/khronos_glcts/framework/common/tcuZipResource.hpp", |
| 388 ] |
| 225 | 389 |
| 226 deps = [ | 390 deps = [ |
| 227 ":delibs", | 391 ":delibs", |
| 228 "//third_party/libpng:libpng", | 392 "//third_party/libpng:libpng", |
| 229 ] | 393 ] |
| 230 | 394 |
| 231 public_deps = [ | 395 public_deps = [ |
| 232 ":qphelper", | 396 ":qphelper", |
| 233 ] | 397 ] |
| 234 | 398 |
| 235 include_dirs = [ "//third_party/khronos_glcts/framework/delibs/libpng" ] #p
ng.hpp | 399 include_dirs = [ "//third_party/khronos_glcts/framework/delibs/libpng" ] #p
ng.hpp |
| 236 | 400 |
| 237 configs += [ ":defaults_config" ] | 401 configs += [ ":defaults_config" ] |
| 238 configs -= [ "//build/config/compiler:chromium_code" ] | 402 configs -= [ "//build/config/compiler:chromium_code" ] |
| 239 configs += [ "//build/config/compiler:no_chromium_code" ] | 403 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 240 configs -= [ "//build/config/compiler:no_rtti" ] | 404 configs -= [ "//build/config/compiler:no_rtti" ] |
| 241 configs += [ "//build/config/compiler:rtti" ] | 405 configs += [ "//build/config/compiler:rtti" ] |
| 242 | 406 |
| 243 public_configs = [ ":tcutil_config" ] | 407 public_configs = [ ":tcutil_config" ] |
| 244 | 408 |
| 245 if (is_linux) { | 409 if (is_linux) { |
| 246 configs -= [ "//build/config/gcc:no_exceptions" ] | 410 configs -= [ "//build/config/gcc:no_exceptions" ] |
| 247 cflags_cc = [ "-Wno-int-to-pointer-cast" ] | 411 cflags_cc = [ "-Wno-int-to-pointer-cast" ] |
| 248 } | 412 } |
| 249 } | 413 } |
| 250 | 414 |
| 251 # GYP version: gpu/khronos_glcts_support/khronos_glcts_framework.gyp:glwrapper | |
| 252 config("glwrapper_config") { | 415 config("glwrapper_config") { |
| 253 include_dirs = [ "//third_party/khronos_glcts/framework/opengl/wrapper" ] | 416 include_dirs = [ "//third_party/khronos_glcts/framework/opengl/wrapper" ] |
| 254 } | 417 } |
| 255 source_set("glwrapper") { | 418 source_set("glwrapper") { |
| 256 sources = khronos_glcts_gypi.glwrapper_srcs | 419 sources = [ |
| 420 "//third_party/khronos_glcts/framework/opengl/wrapper/glw.h", |
| 421 "//third_party/khronos_glcts/framework/opengl/wrapper/glwDefs.cpp", |
| 422 "//third_party/khronos_glcts/framework/opengl/wrapper/glwDefs.hpp", |
| 423 "//third_party/khronos_glcts/framework/opengl/wrapper/glwEnums.hpp", |
| 424 "//third_party/khronos_glcts/framework/opengl/wrapper/glwFunctionLoader.hp
p", |
| 425 "//third_party/khronos_glcts/framework/opengl/wrapper/glwFunctions.cpp", |
| 426 "//third_party/khronos_glcts/framework/opengl/wrapper/glwFunctions.hpp", |
| 427 "//third_party/khronos_glcts/framework/opengl/wrapper/glwInitES20Direct.cp
p", |
| 428 "//third_party/khronos_glcts/framework/opengl/wrapper/glwInitES20Direct.hp
p", |
| 429 "//third_party/khronos_glcts/framework/opengl/wrapper/glwInitFunctions.cpp
", |
| 430 "//third_party/khronos_glcts/framework/opengl/wrapper/glwInitFunctions.hpp
", |
| 431 "//third_party/khronos_glcts/framework/opengl/wrapper/glwWrapper.cpp", |
| 432 "//third_party/khronos_glcts/framework/opengl/wrapper/glwWrapper.hpp", |
| 433 ] |
| 257 | 434 |
| 258 deps = [ | 435 deps = [ |
| 259 ":delibs", | 436 ":delibs", |
| 260 "//gpu/command_buffer/client:gles2_c_lib_nocheck", | 437 "//gpu/command_buffer/client:gles2_c_lib_nocheck", |
| 261 ] | 438 ] |
| 262 | 439 |
| 263 configs += [ ":defaults_config" ] | 440 configs += [ ":defaults_config" ] |
| 264 configs -= [ "//build/config/compiler:chromium_code" ] | 441 configs -= [ "//build/config/compiler:chromium_code" ] |
| 265 configs += [ "//build/config/compiler:no_chromium_code" ] | 442 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 266 configs -= [ "//build/config/compiler:no_rtti" ] | 443 configs -= [ "//build/config/compiler:no_rtti" ] |
| 267 configs += [ "//build/config/compiler:rtti" ] | 444 configs += [ "//build/config/compiler:rtti" ] |
| 268 | 445 |
| 269 public_configs = [ ":glwrapper_config" ] | 446 public_configs = [ ":glwrapper_config" ] |
| 270 | 447 |
| 271 if (is_linux) { | 448 if (is_linux) { |
| 272 configs -= [ "//build/config/gcc:no_exceptions" ] | 449 configs -= [ "//build/config/gcc:no_exceptions" ] |
| 273 } | 450 } |
| 274 } | 451 } |
| 275 | 452 |
| 276 # GYP version: gpu/khronos_glcts_support/khronos_glcts_framework.gyp:glutil | |
| 277 config("glutil_config") { | 453 config("glutil_config") { |
| 278 include_dirs = [ "//third_party/khronos_glcts/framework/opengl" ] | 454 include_dirs = [ "//third_party/khronos_glcts/framework/opengl" ] |
| 279 } | 455 } |
| 280 source_set("glutil") { | 456 source_set("glutil") { |
| 281 sources = khronos_glcts_gypi.glutil_srcs | 457 sources = [ |
| 458 "//third_party/khronos_glcts/framework/opengl/gluCallLogWrapper.cpp", |
| 459 "//third_party/khronos_glcts/framework/opengl/gluCallLogWrapper.hpp", |
| 460 "//third_party/khronos_glcts/framework/opengl/gluContextInfo.cpp", |
| 461 "//third_party/khronos_glcts/framework/opengl/gluContextInfo.hpp", |
| 462 "//third_party/khronos_glcts/framework/opengl/gluDefs.cpp", |
| 463 "//third_party/khronos_glcts/framework/opengl/gluDefs.hpp", |
| 464 "//third_party/khronos_glcts/framework/opengl/gluDrawUtil.cpp", |
| 465 "//third_party/khronos_glcts/framework/opengl/gluDrawUtil.hpp", |
| 466 "//third_party/khronos_glcts/framework/opengl/gluFboRenderContext.cpp", |
| 467 "//third_party/khronos_glcts/framework/opengl/gluFboRenderContext.hpp", |
| 468 "//third_party/khronos_glcts/framework/opengl/gluPixelTransfer.cpp", |
| 469 "//third_party/khronos_glcts/framework/opengl/gluPixelTransfer.hpp", |
| 470 "//third_party/khronos_glcts/framework/opengl/gluPlatform.hpp", |
| 471 "//third_party/khronos_glcts/framework/opengl/gluProgram.cpp", |
| 472 "//third_party/khronos_glcts/framework/opengl/gluProgram.hpp", |
| 473 "//third_party/khronos_glcts/framework/opengl/gluRenderContext.cpp", |
| 474 "//third_party/khronos_glcts/framework/opengl/gluRenderContext.hpp", |
| 475 "//third_party/khronos_glcts/framework/opengl/gluShaderUtil.cpp", |
| 476 "//third_party/khronos_glcts/framework/opengl/gluShaderUtil.hpp", |
| 477 "//third_party/khronos_glcts/framework/opengl/gluStateReset.cpp", |
| 478 "//third_party/khronos_glcts/framework/opengl/gluStateReset.hpp", |
| 479 "//third_party/khronos_glcts/framework/opengl/gluStrUtil.cpp", |
| 480 "//third_party/khronos_glcts/framework/opengl/gluStrUtil.hpp", |
| 481 "//third_party/khronos_glcts/framework/opengl/gluTexture.cpp", |
| 482 "//third_party/khronos_glcts/framework/opengl/gluTexture.hpp", |
| 483 "//third_party/khronos_glcts/framework/opengl/gluTextureUtil.cpp", |
| 484 "//third_party/khronos_glcts/framework/opengl/gluTextureUtil.hpp", |
| 485 "//third_party/khronos_glcts/framework/opengl/gluVarType.cpp", |
| 486 "//third_party/khronos_glcts/framework/opengl/gluVarType.hpp", |
| 487 "//third_party/khronos_glcts/framework/opengl/gluVarTypeUtil.cpp", |
| 488 "//third_party/khronos_glcts/framework/opengl/gluVarTypeUtil.hpp", |
| 489 ] |
| 282 | 490 |
| 283 public_deps = [ | 491 public_deps = [ |
| 284 ":glwrapper", | 492 ":glwrapper", |
| 285 ] | 493 ] |
| 286 | 494 |
| 287 deps = [ | 495 deps = [ |
| 288 ":delibs", | 496 ":delibs", |
| 289 ":tcutil", | 497 ":tcutil", |
| 290 ] | 498 ] |
| 291 | 499 |
| 292 configs += [ ":defaults_config" ] | 500 configs += [ ":defaults_config" ] |
| 293 configs -= [ "//build/config/compiler:chromium_code" ] | 501 configs -= [ "//build/config/compiler:chromium_code" ] |
| 294 configs += [ "//build/config/compiler:no_chromium_code" ] | 502 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 295 configs -= [ "//build/config/compiler:no_rtti" ] | 503 configs -= [ "//build/config/compiler:no_rtti" ] |
| 296 configs += [ "//build/config/compiler:rtti" ] | 504 configs += [ "//build/config/compiler:rtti" ] |
| 297 | 505 |
| 298 public_configs = [ ":glutil_config" ] | 506 public_configs = [ ":glutil_config" ] |
| 299 | 507 |
| 300 if (is_linux) { | 508 if (is_linux) { |
| 301 configs -= [ "//build/config/gcc:no_exceptions" ] | 509 configs -= [ "//build/config/gcc:no_exceptions" ] |
| 302 } | 510 } |
| 303 } | 511 } |
| 304 | 512 |
| 305 # GYP version: gpu/khronos_glcts_support/khronos_glcts_framework.gyp:tcutil_eg
l | |
| 306 config("tcutil_egl_config") { | 513 config("tcutil_egl_config") { |
| 307 include_dirs = [ "//third_party/khronos_glcts/framework/egl" ] | 514 include_dirs = [ "//third_party/khronos_glcts/framework/egl" ] |
| 308 } | 515 } |
| 309 source_set("tcutil_egl") { | 516 source_set("tcutil_egl") { |
| 310 sources = khronos_glcts_gypi.tcutil_egl_srcs | 517 sources = [ |
| 518 "//third_party/khronos_glcts/framework/egl/tcuEgl.cpp", |
| 519 "//third_party/khronos_glcts/framework/egl/tcuEgl.hpp", |
| 520 "//third_party/khronos_glcts/framework/egl/tcuEglCallLogWrapper.cpp", |
| 521 "//third_party/khronos_glcts/framework/egl/tcuEglCallLogWrapper.hpp", |
| 522 "//third_party/khronos_glcts/framework/egl/tcuEglConfigFilter.cpp", |
| 523 "//third_party/khronos_glcts/framework/egl/tcuEglConfigFilter.hpp", |
| 524 "//third_party/khronos_glcts/framework/egl/tcuEglConfigInfo.cpp", |
| 525 "//third_party/khronos_glcts/framework/egl/tcuEglConfigInfo.hpp", |
| 526 "//third_party/khronos_glcts/framework/egl/tcuEglPlatform.cpp", |
| 527 "//third_party/khronos_glcts/framework/egl/tcuEglPlatform.hpp", |
| 528 "//third_party/khronos_glcts/framework/egl/tcuEglStrUtil.cpp", |
| 529 "//third_party/khronos_glcts/framework/egl/tcuEglStrUtil.hpp", |
| 530 ] |
| 311 | 531 |
| 312 deps = [ | 532 deps = [ |
| 313 ":delibs", | 533 ":delibs", |
| 314 ":glwrapper", | 534 ":glwrapper", |
| 315 ":tcutil", | 535 ":tcutil", |
| 316 "//gpu/gles2_conform_support/egl", | 536 "//gpu/gles2_conform_support/egl", |
| 317 ] | 537 ] |
| 318 | 538 |
| 319 include_dirs = [ "//third_party/khronos_glcts/framework/opengl" ] | 539 include_dirs = [ "//third_party/khronos_glcts/framework/opengl" ] |
| 320 | 540 |
| 321 configs += [ ":defaults_config" ] | 541 configs += [ ":defaults_config" ] |
| 322 configs -= [ "//build/config/compiler:chromium_code" ] | 542 configs -= [ "//build/config/compiler:chromium_code" ] |
| 323 configs += [ "//build/config/compiler:no_chromium_code" ] | 543 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 324 configs -= [ "//build/config/compiler:no_rtti" ] | 544 configs -= [ "//build/config/compiler:no_rtti" ] |
| 325 configs += [ "//build/config/compiler:rtti" ] | 545 configs += [ "//build/config/compiler:rtti" ] |
| 326 | 546 |
| 327 public_configs = [ | 547 public_configs = [ |
| 328 ":tcutil_egl_config", | 548 ":tcutil_egl_config", |
| 329 "//third_party/khronos:khronos_headers", | 549 "//third_party/khronos:khronos_headers", |
| 330 ] | 550 ] |
| 331 | 551 |
| 332 if (is_linux) { | 552 if (is_linux) { |
| 333 configs -= [ "//build/config/gcc:no_exceptions" ] | 553 configs -= [ "//build/config/gcc:no_exceptions" ] |
| 334 cflags_cc = [ "-Wno-int-to-void-pointer-cast" ] | 554 cflags_cc = [ "-Wno-int-to-void-pointer-cast" ] |
| 335 } | 555 } |
| 336 } | 556 } |
| 337 | 557 |
| 338 # GYP version: gpu/khronos_glcts_support/khronos_glcts_framework.gyp:khronos_g
lcts_framework | |
| 339 group("khronos_glcts_framework") { | 558 group("khronos_glcts_framework") { |
| 340 public_deps = [ | 559 public_deps = [ |
| 341 ":delibs", | 560 ":delibs", |
| 342 ":glutil", | 561 ":glutil", |
| 343 ":qphelper", | 562 ":qphelper", |
| 344 ":tcutil", | 563 ":tcutil", |
| 345 ":tcutil_egl", | 564 ":tcutil_egl", |
| 346 ] | 565 ] |
| 347 } | 566 } |
| 348 | 567 |
| 349 # GYP version: gpu/khronos_glcts_support/khronos_glcts_cts.gyp:glcts_common | |
| 350 config("glcts_common_config") { | 568 config("glcts_common_config") { |
| 351 include_dirs = [ "//third_party/khronos_glcts/cts/common" ] | 569 include_dirs = [ "//third_party/khronos_glcts/cts/common" ] |
| 352 } | 570 } |
| 353 source_set("glcts_common") { | 571 source_set("glcts_common") { |
| 354 sources = khronos_glcts_gypi.glcts_common_sources | 572 sources = [ |
| 573 "//third_party/khronos_glcts/cts/common/glcConfigList.cpp", |
| 574 "//third_party/khronos_glcts/cts/common/glcConfigList.hpp", |
| 575 "//third_party/khronos_glcts/cts/common/glcConfigListCase.cpp", |
| 576 "//third_party/khronos_glcts/cts/common/glcConfigListCase.hpp", |
| 577 "//third_party/khronos_glcts/cts/common/glcConfigPackage.cpp", |
| 578 "//third_party/khronos_glcts/cts/common/glcConfigPackage.hpp", |
| 579 "//third_party/khronos_glcts/cts/common/glcContext.cpp", |
| 580 "//third_party/khronos_glcts/cts/common/glcContext.hpp", |
| 581 "//third_party/khronos_glcts/cts/common/glcFragDepthTests.cpp", |
| 582 "//third_party/khronos_glcts/cts/common/glcFragDepthTests.hpp", |
| 583 "//third_party/khronos_glcts/cts/common/glcInfoTests.cpp", |
| 584 "//third_party/khronos_glcts/cts/common/glcInfoTests.hpp", |
| 585 "//third_party/khronos_glcts/cts/common/glcShaderIndexingTests.cpp", |
| 586 "//third_party/khronos_glcts/cts/common/glcShaderIndexingTests.hpp", |
| 587 "//third_party/khronos_glcts/cts/common/glcShaderIntegerMixTests.cpp", |
| 588 "//third_party/khronos_glcts/cts/common/glcShaderIntegerMixTests.hpp", |
| 589 "//third_party/khronos_glcts/cts/common/glcShaderLibrary.cpp", |
| 590 "//third_party/khronos_glcts/cts/common/glcShaderLibrary.hpp", |
| 591 "//third_party/khronos_glcts/cts/common/glcShaderLibraryCase.cpp", |
| 592 "//third_party/khronos_glcts/cts/common/glcShaderLibraryCase.hpp", |
| 593 "//third_party/khronos_glcts/cts/common/glcShaderLoopTests.cpp", |
| 594 "//third_party/khronos_glcts/cts/common/glcShaderLoopTests.hpp", |
| 595 "//third_party/khronos_glcts/cts/common/glcShaderRenderCase.cpp", |
| 596 "//third_party/khronos_glcts/cts/common/glcShaderRenderCase.hpp", |
| 597 "//third_party/khronos_glcts/cts/common/glcShaderStructTests.cpp", |
| 598 "//third_party/khronos_glcts/cts/common/glcShaderStructTests.hpp", |
| 599 "//third_party/khronos_glcts/cts/common/glcShaderSwitchTests.cpp", |
| 600 "//third_party/khronos_glcts/cts/common/glcShaderSwitchTests.hpp", |
| 601 "//third_party/khronos_glcts/cts/common/glcTestCase.cpp", |
| 602 "//third_party/khronos_glcts/cts/common/glcTestCase.hpp", |
| 603 "//third_party/khronos_glcts/cts/common/glcTestCaseWrapper.cpp", |
| 604 "//third_party/khronos_glcts/cts/common/glcTestCaseWrapper.hpp", |
| 605 "//third_party/khronos_glcts/cts/common/glcTestPackage.cpp", |
| 606 "//third_party/khronos_glcts/cts/common/glcTestPackage.hpp", |
| 607 "//third_party/khronos_glcts/cts/common/glcTestSubcase.cpp", |
| 608 "//third_party/khronos_glcts/cts/common/glcTestSubcase.hpp", |
| 609 "//third_party/khronos_glcts/cts/common/glcUniformBlockCase.cpp", |
| 610 "//third_party/khronos_glcts/cts/common/glcUniformBlockCase.hpp", |
| 611 "//third_party/khronos_glcts/cts/common/glcUniformBlockTests.cpp", |
| 612 "//third_party/khronos_glcts/cts/common/glcUniformBlockTests.hpp", |
| 613 ] |
| 355 | 614 |
| 356 deps = [ | 615 deps = [ |
| 357 ":delibs", | 616 ":delibs", |
| 358 ":glutil", | 617 ":glutil", |
| 359 ":tcutil", | 618 ":tcutil", |
| 360 ":tcutil_egl", | 619 ":tcutil_egl", |
| 361 ] | 620 ] |
| 362 | 621 |
| 363 configs += [ ":defaults_config" ] | 622 configs += [ ":defaults_config" ] |
| 364 configs -= [ "//build/config/compiler:chromium_code" ] | 623 configs -= [ "//build/config/compiler:chromium_code" ] |
| 365 configs += [ "//build/config/compiler:no_chromium_code" ] | 624 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 366 configs -= [ "//build/config/compiler:no_rtti" ] | 625 configs -= [ "//build/config/compiler:no_rtti" ] |
| 367 configs += [ "//build/config/compiler:rtti" ] | 626 configs += [ "//build/config/compiler:rtti" ] |
| 368 | 627 |
| 369 public_configs = [ ":glcts_common_config" ] | 628 public_configs = [ ":glcts_common_config" ] |
| 370 | 629 |
| 371 if (is_linux) { | 630 if (is_linux) { |
| 372 configs -= [ "//build/config/gcc:no_exceptions" ] | 631 configs -= [ "//build/config/gcc:no_exceptions" ] |
| 373 cflags_cc = [ "-Wno-string-conversion" ] | 632 cflags_cc = [ "-Wno-string-conversion" ] |
| 374 } | 633 } |
| 375 } | 634 } |
| 376 | 635 |
| 377 # GYP version: gpu/khronos_glcts_support/khronos_glcts_cts.gyp:glcts_gtf_wrapp
er | |
| 378 config("glcts_gtf_wrapper_config") { | 636 config("glcts_gtf_wrapper_config") { |
| 379 include_dirs = [ "//third_party/khronos_glcts/cts/gtf" ] | 637 include_dirs = [ "//third_party/khronos_glcts/cts/gtf" ] |
| 380 } | 638 } |
| 381 source_set("glcts_gtf_wrapper") { | 639 source_set("glcts_gtf_wrapper") { |
| 382 sources = khronos_glcts_gypi.glcts_gtf_wrapper_srcs | 640 sources = [ |
| 641 "//third_party/khronos_glcts/cts/gtf/gtfTestContext.cpp", |
| 642 "//third_party/khronos_glcts/cts/gtf/gtfTestContext.hpp", |
| 643 "//third_party/khronos_glcts/cts/gtf/gtfWrapper.cpp", |
| 644 "//third_party/khronos_glcts/cts/gtf/gtfWrapper.h", |
| 645 ] |
| 383 | 646 |
| 384 deps = [ | 647 deps = [ |
| 385 ":delibs", | 648 ":delibs", |
| 386 ":glcts_common", | 649 ":glcts_common", |
| 387 ":glutil", | 650 ":glutil", |
| 388 ":tcutil", | 651 ":tcutil", |
| 389 ":tcutil_egl", | 652 ":tcutil_egl", |
| 390 ] | 653 ] |
| 391 | 654 |
| 392 include_dirs = [ "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source" ] | 655 include_dirs = [ "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source" ] |
| 393 | 656 |
| 394 configs += [ ":defaults_config" ] | 657 configs += [ ":defaults_config" ] |
| 395 configs -= [ "//build/config/compiler:chromium_code" ] | 658 configs -= [ "//build/config/compiler:chromium_code" ] |
| 396 configs += [ "//build/config/compiler:no_chromium_code" ] | 659 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 397 configs -= [ "//build/config/compiler:no_rtti" ] | 660 configs -= [ "//build/config/compiler:no_rtti" ] |
| 398 configs += [ "//build/config/compiler:rtti" ] | 661 configs += [ "//build/config/compiler:rtti" ] |
| 399 | 662 |
| 400 public_configs = [ ":glcts_gtf_wrapper_config" ] | 663 public_configs = [ ":glcts_gtf_wrapper_config" ] |
| 401 | 664 |
| 402 if (is_linux) { | 665 if (is_linux) { |
| 403 configs -= [ "//build/config/gcc:no_exceptions" ] | 666 configs -= [ "//build/config/gcc:no_exceptions" ] |
| 404 } | 667 } |
| 405 } | 668 } |
| 406 | 669 |
| 407 # GYP version: gpu/khronos_glcts_support/khronos_glcts_gtf.gyp:gtf_es | |
| 408 config("gtf_es_config") { | 670 config("gtf_es_config") { |
| 409 include_dirs = [ "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source" ] | 671 include_dirs = [ "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source" ] |
| 410 } | 672 } |
| 411 source_set("gtf_es") { | 673 source_set("gtf_es") { |
| 412 sources = | 674 sources = [ |
| 413 khronos_glcts_gypi.gtf_core_srcs + khronos_glcts_gypi.gtf_gl_core_srcs + | 675 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL/GTFAttDataGL.c", |
| 414 khronos_glcts_gypi.gtf_gles2_srcs + | 676 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL/GTFDepthRangeParamG
L.c", |
| 415 khronos_glcts_gypi.gtf_gles2_es_only_srcs | 677 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL/GTFModelDataGL.c", |
| 678 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL/GTFPointParamGL.c", |
| 679 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL/GTFReadPixelsGL.c", |
| 680 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL/GTFShaderDataGL.c", |
| 681 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL/GTFShaderTextGL.c", |
| 682 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL/GTFStateDataGL.c", |
| 683 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL/GTFTestTextureFloat
Base.c", |
| 684 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL/GTFTexDataGL.c", |
| 685 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL/GTFTexParamGL.c", |
| 686 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL/GTFUniDataGL.c", |
| 687 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GTFArguments.c", |
| 688 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GTFFileReader.c", |
| 689 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GTFLog.c", |
| 690 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GTFMemFile.c", |
| 691 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GTFModelData.c", |
| 692 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GTFPort.c", |
| 693 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GTFStringUtils.c", |
| 694 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GTFTest.c", |
| 695 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GTFTestCompareGL.c", |
| 696 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GTFTestDriver.c", |
| 697 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GTFTestElement.c", |
| 698 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GTFTestUtil.c", |
| 699 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GTFgl.c", |
| 700 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/MIMG.c", |
| 701 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/XmlUtils.c", |
| 702 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/eglu.c", |
| 703 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/eglut.c", |
| 704 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/gl2Native.c", |
| 705 |
| 706 # Base |
| 707 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2Tests/GTFGL2TestAtt
ributeGL.c", |
| 708 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2Tests/GTFGL2TestBin
dAllAttributes.c", |
| 709 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2Tests/GTFGL2TestCre
ateObjectGL.c", |
| 710 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2Tests/GTFGL2TestDet
achGL.c", |
| 711 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2Tests/GTFGL2TestFix
edDataType.c", |
| 712 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2Tests/GTFGL2TestFra
mebufferObjects.c", |
| 713 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2Tests/GTFGL2TestGet
AttachedObjects.c", |
| 714 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2Tests/GTFGL2TestGet
AttributeLocation.c", |
| 715 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2Tests/GTFGL2TestGet
BIFD.c", |
| 716 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2Tests/GTFGL2TestGet
Extensions.c", |
| 717 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2Tests/GTFGL2TestGet
ProgramInfoLog.c", |
| 718 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2Tests/GTFGL2TestGet
Programiv.c", |
| 719 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2Tests/GTFGL2TestGet
ShaderInfoLog.c", |
| 720 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2Tests/GTFGL2TestGet
Shaderiv.c", |
| 721 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2Tests/GTFGL2TestGet
Uniform.c", |
| 722 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2Tests/GTFGL2TestGet
VertexAttrib.c", |
| 723 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2Tests/GTFGL2TestMax
VertexAttrib.c", |
| 724 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2Tests/GTFGL2TestMul
tipleShaders.c", |
| 725 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2Tests/GTFGL2TestRel
inkProgram.c", |
| 726 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2Tests/GTFGL2TestUni
form.c", |
| 727 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2Tests/GTFGL2TestUni
formQueryGL.c", |
| 728 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2Tests/GTFGL2TestVer
texAttribPointer.c", |
| 729 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2Tests/GTFGL2TestVer
texAttributes.c", |
| 730 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2Tests/GTFGL2TestVer
texProgramPointSize.c", |
| 731 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GTFTestGL2Test.c", |
| 732 |
| 733 # Build |
| 734 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GTFTestBuildGL.c", |
| 735 |
| 736 # Shader load |
| 737 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GTFTestShaderLoadGL.c"
, |
| 738 |
| 739 # Rasterization |
| 740 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GTFTestRasterizationGL
.c", |
| 741 |
| 742 # Complexity |
| 743 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GTFTestComplexityGL.c"
, |
| 744 |
| 745 # Coverage |
| 746 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GTFCoverageDict.c", |
| 747 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GTFCoverageGL.c", |
| 748 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GTFTestCoverageGL.c", |
| 749 |
| 750 # Fixed-function |
| 751 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2FixedTests/GTFFixed
TestBlend.c", |
| 752 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2FixedTests/GTFFixed
TestBufferClear.c", |
| 753 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2FixedTests/GTFFixed
TestBufferColor.c", |
| 754 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2FixedTests/GTFFixed
TestBufferCorners.c", |
| 755 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2FixedTests/GTFFixed
TestBufferObjects.c", |
| 756 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2FixedTests/GTFFixed
TestClip.c", |
| 757 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2FixedTests/GTFFixed
TestColorRamp.c", |
| 758 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2FixedTests/GTFFixed
TestCopyTexture.c", |
| 759 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2FixedTests/GTFFixed
TestDepthBufferClear.c", |
| 760 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2FixedTests/GTFFixed
TestDepthBufferFunctions.c", |
| 761 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2FixedTests/GTFFixed
TestDither.c", |
| 762 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2FixedTests/GTFFixed
TestDivideByZero.c", |
| 763 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2FixedTests/GTFFixed
TestGets.c", |
| 764 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2FixedTests/GTFFixed
TestMipmapsInterpolation.c", |
| 765 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2FixedTests/GTFFixed
TestMipmapsSelection.c", |
| 766 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2FixedTests/GTFFixed
TestPointRasterization.c", |
| 767 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2FixedTests/GTFFixed
TestPointSprites.c", |
| 768 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2FixedTests/GTFFixed
TestPolygonCull.c", |
| 769 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2FixedTests/GTFFixed
TestScissor.c", |
| 770 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2FixedTests/GTFFixed
TestStencilPlaneClear.c", |
| 771 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2FixedTests/GTFFixed
TestStencilPlaneCorners.c", |
| 772 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2FixedTests/GTFFixed
TestStencilPlaneFunction.c", |
| 773 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2FixedTests/GTFFixed
TestStencilPlaneOperation.c", |
| 774 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2FixedTests/GTFFixed
TestTextureEdgeClamp.c", |
| 775 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2FixedTests/GTFFixed
TestTransformViewport.c", |
| 776 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2FixedTests/GTFFixed
TestTriangleRasterization.c", |
| 777 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2FixedTests/GTFFixed
TestTriangleTiling.c", |
| 778 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2FixedTests/GTFFixed
TestUserClipPlanes.c", |
| 779 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2FixedTests/GTFFixed
TestVertexOrder.c", |
| 780 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2FixedTests/GTFFixed
TestViewportClamp.c", |
| 781 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2FixedTests/GTFFixed
Utilg.c", |
| 782 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2FixedTests/GTFFixed
Utilr.c", |
| 783 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GTFTestFixedGL.c", |
| 784 |
| 785 # Extensions |
| 786 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2ExtensionTests/GTFE
xtensionTestConditionalQuery.c", |
| 787 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2ExtensionTests/GTFE
xtensionTestDataType1010102.c", |
| 788 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2ExtensionTests/GTFE
xtensionTestDebug.c", |
| 789 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2ExtensionTests/GTFE
xtensionTestDepth24.c", |
| 790 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2ExtensionTests/GTFE
xtensionTestDepth32.c", |
| 791 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2ExtensionTests/GTFE
xtensionTestDepthTexture.c", |
| 792 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2ExtensionTests/GTFE
xtensionTestDepthTextureCubeMap.c", |
| 793 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2ExtensionTests/GTFE
xtensionTestElementIndexUINT.c", |
| 794 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2ExtensionTests/GTFE
xtensionTestFBORenderMipmap.c", |
| 795 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2ExtensionTests/GTFE
xtensionTestFragmentPrecisionHigh.c", |
| 796 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2ExtensionTests/GTFE
xtensionTestFramebufferObject.c", |
| 797 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2ExtensionTests/GTFE
xtensionTestMapBuffer.c", |
| 798 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2ExtensionTests/GTFE
xtensionTestOcclusionQuery.c", |
| 799 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2ExtensionTests/GTFE
xtensionTestPackedDepthStencil.c", |
| 800 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2ExtensionTests/GTFE
xtensionTestPointSizeArray.c", |
| 801 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2ExtensionTests/GTFE
xtensionTestPointSprite.c", |
| 802 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2ExtensionTests/GTFE
xtensionTestReadFormat.c", |
| 803 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2ExtensionTests/GTFE
xtensionTestStencil1.c", |
| 804 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2ExtensionTests/GTFE
xtensionTestStencil4.c", |
| 805 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2ExtensionTests/GTFE
xtensionTestStencil8.c", |
| 806 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2ExtensionTests/GTFE
xtensionTestTexture3D.c", |
| 807 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2ExtensionTests/GTFE
xtensionTestTextureCompressionASTCLDR.c", |
| 808 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2ExtensionTests/GTFE
xtensionTestTextureFloat.c", |
| 809 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2ExtensionTests/GTFE
xtensionTestTextureFloatLinear.c", |
| 810 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2ExtensionTests/GTFE
xtensionTestTextureNPOT.c", |
| 811 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2ExtensionTests/GTFE
xtensionTestUtilp.c", |
| 812 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2ExtensionTests/GTFE
xtensionTestVertexArrayObject.c", |
| 813 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2ExtensionTests/GTFE
xtensionTestVertexHalfFloat.c", |
| 814 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GTFTestExtension.c", |
| 815 |
| 816 # ES only. |
| 817 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2ExtensionTests/GTFE
xtensionTestCompressedETC1RGB8Texture.c", |
| 818 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2ExtensionTests/GTFE
xtensionTestCompressedPalettedTexture.c", |
| 819 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2ExtensionTests/GTFE
xtensionTestEGLCreateContext.c", |
| 820 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2ExtensionTests/GTFE
xtensionTestEGLImage.c", |
| 821 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2ExtensionTests/GTFE
xtensionTestEGLImageExternal.c", |
| 822 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2ExtensionTests/GTFE
xtensionTestRGB8RGBA8.c", |
| 823 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2ExtensionTests/GTFE
xtensionTestRequiredInternalformat.c", |
| 824 "//third_party/khronos_glcts/GTF_ES/glsl/GTF/Source/GL2ExtensionTests/GTFE
xtensionTestSurfacelessContext.c", |
| 825 ] |
| 416 | 826 |
| 417 deps = [ | 827 deps = [ |
| 418 ":debase", | 828 ":debase", |
| 419 ":glcts_gtf_wrapper", | 829 ":glcts_gtf_wrapper", |
| 420 "//third_party/expat", | 830 "//third_party/expat", |
| 421 ] | 831 ] |
| 422 | 832 |
| 423 configs += [ ":defaults_config" ] | 833 configs += [ ":defaults_config" ] |
| 424 configs -= [ "//build/config/compiler:chromium_code" ] | 834 configs -= [ "//build/config/compiler:chromium_code" ] |
| 425 configs += [ "//build/config/compiler:no_chromium_code" ] | 835 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 426 configs -= [ "//build/config/compiler:no_rtti" ] | 836 configs -= [ "//build/config/compiler:no_rtti" ] |
| 427 configs += [ "//build/config/compiler:rtti" ] | 837 configs += [ "//build/config/compiler:rtti" ] |
| 428 | 838 |
| 429 public_configs = [ ":gtf_es_config" ] | 839 public_configs = [ ":gtf_es_config" ] |
| 430 | 840 |
| 431 if (is_linux) { | 841 if (is_linux) { |
| 432 cflags_c = [ | 842 cflags_c = [ |
| 433 "-Wno-pointer-sign", | 843 "-Wno-pointer-sign", |
| 434 "-Wno-incompatible-pointer-types", | 844 "-Wno-incompatible-pointer-types", |
| 435 "-Wno-return-type", | 845 "-Wno-return-type", |
| 436 "-Wno-parentheses-equality", | 846 "-Wno-parentheses-equality", |
| 437 "-Wno-tautological-compare", | 847 "-Wno-tautological-compare", |
| 438 ] | 848 ] |
| 439 } | 849 } |
| 440 } | 850 } |
| 441 | 851 |
| 442 # GYP version: gpu/khronos_glcts_support/khronos_glcts_cts.gyp:glcts_gtf | |
| 443 config("glcts_gtf_config") { | 852 config("glcts_gtf_config") { |
| 444 include_dirs = [ "//third_party/khronos_glcts/cts/gtf" ] | 853 include_dirs = [ "//third_party/khronos_glcts/cts/gtf" ] |
| 445 } | 854 } |
| 446 source_set("glcts_gtf") { | 855 source_set("glcts_gtf") { |
| 447 sources = khronos_glcts_gypi.glcts_gtf_srcs | 856 sources = [ |
| 857 "//third_party/khronos_glcts/cts/gtf/gtfTestCase.cpp", |
| 858 "//third_party/khronos_glcts/cts/gtf/gtfTestCase.hpp", |
| 859 "//third_party/khronos_glcts/cts/gtf/gtfTestGroup.cpp", |
| 860 "//third_party/khronos_glcts/cts/gtf/gtfTestGroup.hpp", |
| 861 ] |
| 448 | 862 |
| 449 deps = [ | 863 deps = [ |
| 450 ":delibs", | 864 ":delibs", |
| 451 ":glcts_common", | 865 ":glcts_common", |
| 452 ":glcts_gtf_wrapper", | 866 ":glcts_gtf_wrapper", |
| 453 ":glutil", | 867 ":glutil", |
| 454 ":gtf_es", | 868 ":gtf_es", |
| 455 ":tcutil", | 869 ":tcutil", |
| 456 ] | 870 ] |
| 457 | 871 |
| 458 configs += [ ":defaults_config" ] | 872 configs += [ ":defaults_config" ] |
| 459 configs -= [ "//build/config/compiler:chromium_code" ] | 873 configs -= [ "//build/config/compiler:chromium_code" ] |
| 460 configs += [ "//build/config/compiler:no_chromium_code" ] | 874 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 461 configs -= [ "//build/config/compiler:no_rtti" ] | 875 configs -= [ "//build/config/compiler:no_rtti" ] |
| 462 configs += [ "//build/config/compiler:rtti" ] | 876 configs += [ "//build/config/compiler:rtti" ] |
| 463 | 877 |
| 464 public_configs = [ ":glcts_gtf_config" ] | 878 public_configs = [ ":glcts_gtf_config" ] |
| 465 | 879 |
| 466 if (is_linux) { | 880 if (is_linux) { |
| 467 configs -= [ "//build/config/gcc:no_exceptions" ] | 881 configs -= [ "//build/config/gcc:no_exceptions" ] |
| 468 } | 882 } |
| 469 } | 883 } |
| 470 | 884 |
| 471 # GYP version: gpu/khronos_glcts_support/khronos_glcts_cts.gyp:glcts_es2 | |
| 472 config("glcts_es2_config") { | 885 config("glcts_es2_config") { |
| 473 include_dirs = [ "//third_party/khronos_glcts/cts/gles2" ] | 886 include_dirs = [ "//third_party/khronos_glcts/cts/gles2" ] |
| 474 } | 887 } |
| 475 source_set("glcts_es2") { | 888 source_set("glcts_es2") { |
| 476 sources = khronos_glcts_gypi.glcts_es2_srcs | 889 sources = [ |
| 890 "//third_party/khronos_glcts/cts/gles2/es2cTestPackage.cpp", |
| 891 "//third_party/khronos_glcts/cts/gles2/es2cTestPackage.hpp", |
| 892 ] |
| 477 | 893 |
| 478 public_deps = [ | 894 public_deps = [ |
| 479 ":glcts_common", | 895 ":glcts_common", |
| 480 ] | 896 ] |
| 481 | 897 |
| 482 deps = [ | 898 deps = [ |
| 483 ":delibs", | 899 ":delibs", |
| 484 ":glcts_gtf", | 900 ":glcts_gtf", |
| 485 ":glutil", | 901 ":glutil", |
| 486 ":tcutil", | 902 ":tcutil", |
| 487 ] | 903 ] |
| 488 | 904 |
| 489 configs += [ ":defaults_config" ] | 905 configs += [ ":defaults_config" ] |
| 490 configs -= [ "//build/config/compiler:chromium_code" ] | 906 configs -= [ "//build/config/compiler:chromium_code" ] |
| 491 configs += [ "//build/config/compiler:no_chromium_code" ] | 907 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 492 configs -= [ "//build/config/compiler:no_rtti" ] | 908 configs -= [ "//build/config/compiler:no_rtti" ] |
| 493 configs += [ "//build/config/compiler:rtti" ] | 909 configs += [ "//build/config/compiler:rtti" ] |
| 494 | 910 |
| 495 public_configs = [ ":glcts_es2_config" ] | 911 public_configs = [ ":glcts_es2_config" ] |
| 496 | 912 |
| 497 if (is_linux) { | 913 if (is_linux) { |
| 498 configs -= [ "//build/config/gcc:no_exceptions" ] | 914 configs -= [ "//build/config/gcc:no_exceptions" ] |
| 499 } | 915 } |
| 500 } | 916 } |
| 501 | 917 |
| 502 # GYP version: gpu/khronos_glcts_support/khronos_glcts_test.gyp:tcutil_platfor
m_windowless | |
| 503 source_set("tcutil_platform_windowless") { | 918 source_set("tcutil_platform_windowless") { |
| 504 sources = [ | 919 sources = [ |
| 505 "native/egl_native_windowless.cc", | 920 "native/egl_native_windowless.cc", |
| 506 ] | 921 ] |
| 507 | 922 |
| 508 deps = [ | 923 deps = [ |
| 509 ":khronos_glcts_framework", | 924 ":khronos_glcts_framework", |
| 510 ] | 925 ] |
| 511 | 926 |
| 512 configs -= [ "//build/config/compiler:no_rtti" ] | 927 configs -= [ "//build/config/compiler:no_rtti" ] |
| 513 configs += [ "//build/config/compiler:rtti" ] | 928 configs += [ "//build/config/compiler:rtti" ] |
| 514 } | 929 } |
| 515 | 930 |
| 516 # GYP version: gpu/khronos_glcts_support/khronos_glcts_test.gyp:khronos_glcts_
test_windowless | |
| 517 executable("khronos_glcts_test_windowless") { | 931 executable("khronos_glcts_test_windowless") { |
| 518 sources = [ | 932 sources = [ |
| 519 "//third_party/khronos_glcts/cts/glcTestPackageEntry.cpp", | 933 "//third_party/khronos_glcts/cts/glcTestPackageEntry.cpp", |
| 520 "//third_party/khronos_glcts/cts/glcTestPackageRegistry.cpp", | 934 "//third_party/khronos_glcts/cts/glcTestPackageRegistry.cpp", |
| 521 "//third_party/khronos_glcts/cts/glcTestPackageRegistry.hpp", | 935 "//third_party/khronos_glcts/cts/glcTestPackageRegistry.hpp", |
| 522 "native/main.cc", | 936 "native/main.cc", |
| 523 ] | 937 ] |
| 524 | 938 |
| 525 deps = [ | 939 deps = [ |
| 526 ":glcts_es2", | 940 ":glcts_es2", |
| 527 ":glcts_gtf_resources", | 941 ":glcts_gtf_resources", |
| 528 ":glcts_resources", | 942 ":glcts_resources", |
| 529 ":khronos_glcts_framework", | 943 ":khronos_glcts_framework", |
| 530 ":tcutil_platform_windowless", | 944 ":tcutil_platform_windowless", |
| 531 ] | 945 ] |
| 532 | 946 |
| 533 configs += [ ":defaults_config" ] | 947 configs += [ ":defaults_config" ] |
| 534 configs -= [ "//build/config/compiler:chromium_code" ] | 948 configs -= [ "//build/config/compiler:chromium_code" ] |
| 535 configs += [ "//build/config/compiler:no_chromium_code" ] | 949 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 536 | 950 |
| 537 if (is_linux) { | 951 if (is_linux) { |
| 538 configs -= [ "//build/config/gcc:no_exceptions" ] | 952 configs -= [ "//build/config/gcc:no_exceptions" ] |
| 539 } | 953 } |
| 540 } | 954 } |
| 541 } | 955 } |
| 542 | 956 |
| 543 if (!is_android) { | 957 if (!is_android) { |
| 544 # GYP version: gpu/khronos_glcts_support/khronos_glcts_test.gyp:khronos_glcts_
test | |
| 545 test("khronos_glcts_test") { | 958 test("khronos_glcts_test") { |
| 546 sources = [ | 959 sources = [ |
| 547 "khronos_glcts_test.cc", | 960 "khronos_glcts_test.cc", |
| 548 ] | 961 ] |
| 549 | 962 |
| 550 deps = [ | 963 deps = [ |
| 551 "//base", | 964 "//base", |
| 552 "//gpu", | 965 "//gpu", |
| 553 "//testing/gtest", | 966 "//testing/gtest", |
| 554 ] | 967 ] |
| 555 | 968 |
| 556 data = [ | 969 data = [ |
| 557 "khronos_glcts_test_expectations.txt", | 970 "khronos_glcts_test_expectations.txt", |
| 558 ] | 971 ] |
| 559 | 972 |
| 560 if (internal_khronos_glcts_tests) { | 973 if (internal_khronos_glcts_tests) { |
| 561 sources += [ "$target_gen_dir/khronos_glcts_test_autogen.cc" ] | 974 sources += [ "$target_gen_dir/khronos_glcts_test_autogen.cc" ] |
| 562 deps += [ | 975 deps += [ |
| 563 ":generate_khronos_glcts_tests", | 976 ":generate_khronos_glcts_tests", |
| 564 ":khronos_glcts_test_windowless", | 977 ":khronos_glcts_test_windowless", |
| 565 ] | 978 ] |
| 566 } | 979 } |
| 567 } | 980 } |
| 568 } | 981 } |
| OLD | NEW |