Index: gpu/command_buffer/client/BUILD.gn |
diff --git a/gpu/command_buffer/client/BUILD.gn b/gpu/command_buffer/client/BUILD.gn |
index 7e47f2437963dee2edbd61cb8ba53a944ac6094c..23d5a8c14cc49812bd53422651e115c4d65f906e 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", |
+ ] |
+} |