summaryrefslogtreecommitdiffstats
path: root/gpu
diff options
context:
space:
mode:
authortfarina <tfarina@chromium.org>2015-03-11 16:12:52 -0700
committerCommit bot <commit-bot@chromium.org>2015-03-11 23:13:18 +0000
commit84a5fe781ea529376fc56e28f5a977acfe1a57f5 (patch)
treeeea3ebda1b2fb081162d6dd6a631bdffc64823e3 /gpu
parent19c07060f9a4ed9b463ff909ced6a2b9d8a73aaf (diff)
downloadchromium_src-84a5fe781ea529376fc56e28f5a977acfe1a57f5.zip
chromium_src-84a5fe781ea529376fc56e28f5a977acfe1a57f5.tar.gz
chromium_src-84a5fe781ea529376fc56e28f5a977acfe1a57f5.tar.bz2
gpu: Convert gles2_c_lib_nocheck target to GN build.
This target is necessary for implementing gles2_conform_support target. Which will be done later on. Tested with the following command lines on Linux: $ gn gen out-gn $ ninja -C out-gn gles2_c_lib_nocheck $ ninja -C out-gn gpu/command_buffer/client:gles2_c_lib_nocheck $ gn check out-gn //gpu/command_buffer/client:gles2_c_lib_nocheck BUG=432959 TEST=see above R=dpranke@chromium.org,sievers@chromium.org Review URL: https://codereview.chromium.org/994903005 Cr-Commit-Position: refs/heads/master@{#320178}
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',