Index: gpu/BUILD.gn |
diff --git a/gpu/BUILD.gn b/gpu/BUILD.gn |
index c143a165f62bec0384ae2163cd6804b65e892014..9027948d2a003054e8553c5488414a8b2efdf32e 100644 |
--- a/gpu/BUILD.gn |
+++ b/gpu/BUILD.gn |
@@ -45,7 +45,7 @@ component("gpu") { |
] |
} |
-source_set("gpu_unittest_utils") { |
+source_set("test_support") { |
sources = [ |
"command_buffer/service/gles2_cmd_decoder_mock.cc", |
"command_buffer/service/error_state_mock.cc", |
@@ -97,7 +97,7 @@ test("gl_tests") { |
deps = [ |
":gpu", |
- ":gpu_unittest_utils", |
+ ":test_support", |
"//base", |
"//base/third_party/dynamic_annotations", |
"//testing/gmock", |
@@ -223,7 +223,7 @@ test("gpu_unittests") { |
deps = [ |
":gpu", |
- ":gpu_unittest_utils", |
+ ":test_support", |
"//base", |
"//base/test:test_support", |
"//base/third_party/dynamic_annotations", |
@@ -238,3 +238,21 @@ test("gpu_unittests") { |
"//gpu/command_buffer/client:gles2_implementation_client_side_arrays", |
] |
} |
+ |
+test("angle_unittests") { |
+ sources = [ |
+ "angle_unittest_main.cc", |
+ ] |
+ |
+ # TODO(GYP) / TODO(brettw) remove this when angle is rolled to include: |
+ # https://chromium-review.googlesource.com/#/c/209452/ |
+ include_dirs = [ "//third_party/angle/include" ] |
+ |
+ deps = [ |
+ "//base", |
+ "//base/third_party/dynamic_annotations", |
+ "//testing/gmock", |
+ "//testing/gtest", |
+ "//third_party/angle:translator_static", |
+ ] |
+} |