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

Unified Diff: gpu/BUILD.gn

Issue 409423002: Add osmesa to GN build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | « content/shell/BUILD.gn ('k') | gpu/gpu.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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",
+ ]
+}
« no previous file with comments | « content/shell/BUILD.gn ('k') | gpu/gpu.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698