OLD | NEW |
(Empty) | |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 import("//build/config/ui.gni") |
| 6 |
| 7 group("client") { |
| 8 if (is_component_build) { |
| 9 public_deps = [ |
| 10 "//gpu", |
| 11 ] |
| 12 } else { |
| 13 public_deps = [ |
| 14 ":ipc_client_sources", |
| 15 ] |
| 16 } |
| 17 } |
| 18 |
| 19 source_set("ipc_client_sources") { |
| 20 sources = [ |
| 21 "command_buffer_proxy_impl.cc", |
| 22 "command_buffer_proxy_impl.h", |
| 23 "gpu_channel_host.cc", |
| 24 "gpu_channel_host.h", |
| 25 "gpu_memory_buffer_impl.cc", |
| 26 "gpu_memory_buffer_impl.h", |
| 27 "gpu_memory_buffer_impl_shared_memory.cc", |
| 28 "gpu_memory_buffer_impl_shared_memory.h", |
| 29 ] |
| 30 if (is_mac) { |
| 31 sources += [ |
| 32 "gpu_memory_buffer_impl_io_surface.cc", |
| 33 "gpu_memory_buffer_impl_io_surface.h", |
| 34 ] |
| 35 } |
| 36 if (is_android) { |
| 37 sources += [ |
| 38 "gpu_memory_buffer_impl_surface_texture.cc", |
| 39 "gpu_memory_buffer_impl_surface_texture.h", |
| 40 ] |
| 41 libs = [ "android" ] |
| 42 } |
| 43 if (use_ozone) { |
| 44 sources += [ |
| 45 "gpu_memory_buffer_impl_ozone_native_pixmap.cc", |
| 46 "gpu_memory_buffer_impl_ozone_native_pixmap.h", |
| 47 ] |
| 48 } |
| 49 configs += [ |
| 50 "//build/config/compiler:no_size_t_to_int_warning", |
| 51 "//gpu:gpu_implementation", |
| 52 "//third_party/khronos:khronos_headers", |
| 53 ] |
| 54 deps = [ |
| 55 "//base", |
| 56 "//gpu/command_buffer/client:client_sources", |
| 57 "//gpu/command_buffer/common:common_sources", |
| 58 "//gpu/command_buffer/service:service_sources", |
| 59 "//gpu/config:config_sources", |
| 60 "//gpu/ipc/common:ipc_common_sources", |
| 61 "//ipc", |
| 62 "//ui/events/ipc", |
| 63 "//ui/gfx/ipc", |
| 64 "//ui/gl", |
| 65 "//url/ipc:url_ipc", |
| 66 ] |
| 67 if (use_ozone) { |
| 68 deps += [ "//ui/ozone" ] |
| 69 } |
| 70 } |
OLD | NEW |