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..1d5b553f9b649757ac59b3aeea7c6b94910fb427 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", |
| - ] |
| - } |
| + public_deps = [ |
|
Fady Samuel
2016/03/08 05:38:54
Hey Mark! I don't really know what I'm doing here.
Mark Dittmer
2016/03/08 18:28:11
I think you're better off making the source_set be
|
| + ":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 += [ |
| + "surface_texture_manager.cc", |
| + "surface_texture_manager.h", |
| + "surface_texture_peer.cc", |
| + "surface_texture_peer.h", |
| + ] |
| + } |
| + |
| configs += [ |
| "//gpu:gpu_implementation", |
| "//third_party/khronos:khronos_headers", |