| Index: gpu/BUILD.gn
|
| diff --git a/gpu/BUILD.gn b/gpu/BUILD.gn
|
| index da3bb213e040be9ebb3f55dc51da43d88076830b..286da82e58abc9e4e706970acaccbc99a6f043e2 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",
|
| @@ -312,6 +315,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" ]
|
| }
|
| @@ -344,6 +353,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 +=
|
|
|