| Index: gpu/ipc/common/BUILD.gn
|
| diff --git a/gpu/ipc/common/BUILD.gn b/gpu/ipc/common/BUILD.gn
|
| index 67c4d8b1b0f6a7605c432dd19e2eb666aaf5f965..a11052405687fcac640efde15d5fdf6440424455 100644
|
| --- a/gpu/ipc/common/BUILD.gn
|
| +++ b/gpu/ipc/common/BUILD.gn
|
| @@ -25,15 +25,6 @@ source_set("ipc_common_sources") {
|
| "memory_stats.h",
|
| ]
|
|
|
| - if (is_android) {
|
| - sources += [
|
| - "android/surface_texture_manager.cc",
|
| - "android/surface_texture_manager.h",
|
| - "android/surface_texture_peer.cc",
|
| - "android/surface_texture_peer.h",
|
| - ]
|
| - }
|
| -
|
| configs += [
|
| "//gpu:gpu_implementation",
|
| "//third_party/khronos:khronos_headers",
|
| @@ -43,5 +34,17 @@ source_set("ipc_common_sources") {
|
| "//base",
|
| "//gpu/command_buffer/common:common_sources",
|
| "//ipc",
|
| + "//ui/gfx:native_widget_types",
|
| ]
|
| +
|
| + if (is_android) {
|
| + sources += [
|
| + "android/surface_texture_manager.cc",
|
| + "android/surface_texture_manager.h",
|
| + "android/surface_texture_peer.cc",
|
| + "android/surface_texture_peer.h",
|
| + ]
|
| +
|
| + deps += [ "//ui/gl" ]
|
| + }
|
| }
|
|
|