Chromium Code Reviews| Index: gpu/ipc/common/BUILD.gn |
| diff --git a/gpu/ipc/common/BUILD.gn b/gpu/ipc/common/BUILD.gn |
| index 5d4cb18d692da35a117f9ba0beccbfb370dde78c..19dbeccae2b757cb8f334589e1b6593b29fa49b5 100644 |
| --- a/gpu/ipc/common/BUILD.gn |
| +++ b/gpu/ipc/common/BUILD.gn |
| @@ -3,20 +3,12 @@ |
| # found in the LICENSE file. |
| group("common") { |
| - if (is_component_build) { |
| - public_deps = [ |
| - "//gpu", |
| - ] |
| - } else { |
| - public_deps = [ |
| - ":ipc_common_sources", |
| - ] |
| - } |
|
piman
2016/03/09 19:00:33
Did you intend to remove this code? I think this i
Fady Samuel
2016/03/09 19:58:26
I was trying to get the bots happy and trying out
|
| + public_deps = [ |
| + ":ipc_common_sources", |
| + ] |
| } |
| source_set("ipc_common_sources") { |
| - visibility = [ "//gpu/*" ] |
| - |
| sources = [ |
| "gpu_command_buffer_traits.cc", |
| "gpu_command_buffer_traits.h", |
| @@ -25,6 +17,15 @@ 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", |