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

Unified Diff: mojo/gles2/BUILD.gn

Issue 1354353002: Add GetProcAddress to OpenGL control interface (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Unit test added Created 5 years, 3 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 | « mojo/BUILD.gn ('k') | mojo/gles2/control_thunks_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/gles2/BUILD.gn
diff --git a/mojo/gles2/BUILD.gn b/mojo/gles2/BUILD.gn
index ee32ab12fd9783d168c0c8aa315284390ca755e2..ab5883eae6c08dfd52e8f0d906ba54360399dbae 100644
--- a/mojo/gles2/BUILD.gn
+++ b/mojo/gles2/BUILD.gn
@@ -2,6 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("//testing/test.gni")
import("//mojo/public/tools/bindings/mojom.gni")
config("mojo_use_gles2") {
@@ -79,3 +80,22 @@ source_set("mgl") {
"//mojo/public/cpp/system",
]
}
+
+test("mgl_unittests") {
+ deps = [
+ ":mgl",
+ "//base",
+ "//base/test:test_support",
+ "//mojo/edk/system",
+ "//mojo/edk/test:test_support_impl",
+ "//mojo/public/c/gpu:MGL",
+ "//mojo/public/c/test_support:test_support",
+ "//mojo/public/cpp/environment:standalone",
+ "//testing/gtest:gtest",
+ ]
+
+ sources = [
+ "../edk/test/run_all_unittests.cc",
jamesr 2015/09/22 23:38:50 sourcing in ../xxx files is dodgy. if this file is
Petr Hosek 2015/09/23 00:04:31 Turned out there is a target for that file, so thi
+ "mgl_unittest.cc",
+ ]
+}
« no previous file with comments | « mojo/BUILD.gn ('k') | mojo/gles2/control_thunks_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698