| Index: mojo/gles2/BUILD.gn
|
| diff --git a/mojo/gles2/BUILD.gn b/mojo/gles2/BUILD.gn
|
| index ee32ab12fd9783d168c0c8aa315284390ca755e2..bb67923ae3c95ff134ac3c6a1a29c374c18429ff 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:run_all_unittests",
|
| + "//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 = [
|
| + "mgl_unittest.cc",
|
| + ]
|
| +}
|
|
|