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

Unified Diff: gpu/BUILD.gn

Issue 1867873002: Move unittests in content/common/gpu/client to gpu/ipc/client (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update Created 4 years, 8 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/test/run_all_gl_tests.cc ('k') | gpu/command_buffer/common/unittest_main.cc » ('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 2b46d5ad2fa4f84b0c367628c85b5e9383972d74..280e9b663e273cbb70edef20936b438d2ea7fc3e 100644
--- a/gpu/BUILD.gn
+++ b/gpu/BUILD.gn
@@ -182,6 +182,8 @@ test("gl_tests") {
"command_buffer/tests/gl_unittests_android.cc",
"command_buffer/tests/gl_virtual_contexts_unittest.cc",
"command_buffer/tests/occlusion_query_unittest.cc",
+ "ipc/client/gpu_context_tests.h",
+ "ipc/client/gpu_in_process_context_tests.cc",
]
defines = [ "GL_GLEXT_PROTOTYPES" ]
@@ -194,6 +196,7 @@ test("gl_tests") {
"//base",
"//base/test:test_support",
"//base/third_party/dynamic_annotations",
+ "//gpu/command_buffer/client:gl_in_process_context",
"//gpu/command_buffer/client:gles2_c_lib",
"//gpu/command_buffer/client:gles2_implementation",
"//gpu/command_buffer/common:gles2_utils",
@@ -310,6 +313,12 @@ test("gpu_unittests") {
"ipc/client/gpu_memory_buffer_impl_shared_memory_unittest.cc",
"ipc/client/gpu_memory_buffer_impl_test_template.h",
]
+
+ if (is_android) {
+ sources +=
+ [ "ipc/client/gpu_memory_buffer_impl_surface_texture_unittest.cc" ]
+ }
+
if (is_mac) {
sources += [ "ipc/client/gpu_memory_buffer_impl_io_surface_unittest.cc" ]
}
@@ -342,6 +351,13 @@ test("gpu_unittests") {
"//ui/gl:test_support",
]
+ if (is_android) {
+ deps += [
+ "//ui/android:ui_java",
+ "//ui/gl:gl_jni_headers",
+ ]
+ }
+
if (use_ozone) {
deps += [ "//ui/ozone" ]
sources +=
« no previous file with comments | « content/test/run_all_gl_tests.cc ('k') | gpu/command_buffer/common/unittest_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698