Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(876)

Unified Diff: ui/gl/BUILD.gn

Issue 300973003: Add CC to the GN build, work on GPU more (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/libXNVCtrl/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/BUILD.gn
diff --git a/ui/gl/BUILD.gn b/ui/gl/BUILD.gn
index 4fd99f4f9b56c6d42734c85082ff19bc3edbc000..d9382931427e0cdc70d0e75e50e62f2c95ea4fb8 100644
--- a/ui/gl/BUILD.gn
+++ b/ui/gl/BUILD.gn
@@ -301,6 +301,28 @@ action("generate_gl_bindings") {
]
}
+config("gl_unittest_utils_config") {
+ include_dirs = [ gl_binding_output_dir ]
+}
+
+source_set("gl_unittest_utils") {
+ sources = [
+ "gl_mock.h",
+ "gl_mock.cc",
+ "$gl_binding_output_dir/gl_bindings_autogen_mock.cc",
+ "$gl_binding_output_dir/gl_bindings_autogen_mock.h",
+ "$gl_binding_output_dir/gl_mock_autogen_gl.h",
+ ]
+
+ configs += [ "//third_party/khronos:khronos_headers" ]
+ direct_dependent_configs = [ ":gl_unittest_utils_config" ]
+
+ deps = [
+ ":gl",
+ "//testing/gmock",
+ ]
+}
+
if (is_android) {
generate_jni("gl_jni_headers") {
sources = [
« no previous file with comments | « third_party/libXNVCtrl/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698