summaryrefslogtreecommitdiffstats
path: root/gpu
diff options
context:
space:
mode:
Diffstat (limited to 'gpu')
-rw-r--r--gpu/command_buffer/client/BUILD.gn20
-rw-r--r--gpu/gpu.gyp1
2 files changed, 21 insertions, 0 deletions
diff --git a/gpu/command_buffer/client/BUILD.gn b/gpu/command_buffer/client/BUILD.gn
index 7e47f24..23d5a8c 100644
--- a/gpu/command_buffer/client/BUILD.gn
+++ b/gpu/command_buffer/client/BUILD.gn
@@ -197,3 +197,23 @@ component("gles2_c_lib") {
"//gpu/command_buffer/common",
]
}
+
+# GYP version: gpu/gpu.gyp:gles2_c_lib_nocheck
+# Same as gles2_c_lib except with no parameter checking. Required for
+# OpenGL ES 2.0 conformance tests.
+component("gles2_c_lib_nocheck") {
+ sources = gles2_c_lib_source_files
+
+ defines = [
+ "GLES2_C_LIB_IMPLEMENTATION",
+ "GLES2_CONFORMANCE_TESTS=1",
+ ]
+ deps = [
+ ":client",
+ ":gles2_implementation_no_check",
+ ":gles2_interface",
+ "//base",
+ "//base/third_party/dynamic_annotations",
+ "//gpu/command_buffer/common",
+ ]
+}
diff --git a/gpu/gpu.gyp b/gpu/gpu.gyp
index 29fb8b4..0e31fb0 100644
--- a/gpu/gpu.gyp
+++ b/gpu/gpu.gyp
@@ -103,6 +103,7 @@
'msvs_disabled_warnings': [4267, ],
},
{
+ # GN version: //gpu/command_buffer/client:gles2_c_lib_nocheck
# Same as gles2_c_lib except with no parameter checking. Required for
# OpenGL ES 2.0 conformance tests.
'target_name': 'gles2_c_lib_nocheck',