OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
6 | 6 |
7 group("client") { | 7 group("client") { |
8 if (is_component_build) { | 8 if (is_component_build) { |
9 public_deps = [ | 9 public_deps = [ |
10 "//gpu", | 10 "//gpu", |
(...skipping 17 matching lines...) Expand all Loading... |
28 "gpu_memory_buffer_impl_shared_memory.h", | 28 "gpu_memory_buffer_impl_shared_memory.h", |
29 ] | 29 ] |
30 if (is_mac) { | 30 if (is_mac) { |
31 sources += [ | 31 sources += [ |
32 "gpu_memory_buffer_impl_io_surface.cc", | 32 "gpu_memory_buffer_impl_io_surface.cc", |
33 "gpu_memory_buffer_impl_io_surface.h", | 33 "gpu_memory_buffer_impl_io_surface.h", |
34 "gpu_process_hosted_ca_layer_tree_params.cc", | 34 "gpu_process_hosted_ca_layer_tree_params.cc", |
35 "gpu_process_hosted_ca_layer_tree_params.h", | 35 "gpu_process_hosted_ca_layer_tree_params.h", |
36 ] | 36 ] |
37 } | 37 } |
38 if (is_android) { | |
39 sources += [ | |
40 "android/in_process_surface_texture_manager.cc", | |
41 "android/in_process_surface_texture_manager.h", | |
42 ] | |
43 libs = [ "android" ] | |
44 } | |
45 if (use_ozone) { | 38 if (use_ozone) { |
46 sources += [ | 39 sources += [ |
47 "gpu_memory_buffer_impl_ozone_native_pixmap.cc", | 40 "gpu_memory_buffer_impl_ozone_native_pixmap.cc", |
48 "gpu_memory_buffer_impl_ozone_native_pixmap.h", | 41 "gpu_memory_buffer_impl_ozone_native_pixmap.h", |
49 ] | 42 ] |
50 } | 43 } |
51 configs += [ | 44 configs += [ |
52 "//build/config/compiler:no_size_t_to_int_warning", | 45 "//build/config/compiler:no_size_t_to_int_warning", |
53 "//gpu:gpu_implementation", | 46 "//gpu:gpu_implementation", |
54 ] | 47 ] |
55 deps = [ | 48 deps = [ |
56 "//base", | 49 "//base", |
57 "//gpu/command_buffer/client:client_sources", | 50 "//gpu/command_buffer/client:client_sources", |
58 "//gpu/command_buffer/common:common_sources", | 51 "//gpu/command_buffer/common:common_sources", |
59 "//gpu/config:config_sources", | 52 "//gpu/config:config_sources", |
60 "//gpu/ipc/common:ipc_common_sources", | 53 "//gpu/ipc/common:ipc_common_sources", |
61 "//ipc", | 54 "//ipc", |
62 "//ui/base/", | 55 "//ui/base/", |
63 "//ui/events/ipc", | 56 "//ui/events/ipc", |
64 "//ui/gfx/ipc", | 57 "//ui/gfx/ipc", |
65 "//ui/gfx/ipc/geometry", | 58 "//ui/gfx/ipc/geometry", |
66 "//ui/gl", | 59 "//ui/gl", |
67 "//url/ipc:url_ipc", | 60 "//url/ipc:url_ipc", |
68 ] | 61 ] |
69 if (use_ozone) { | 62 if (use_ozone) { |
70 deps += [ "//ui/ozone" ] | 63 deps += [ "//ui/ozone" ] |
71 } | 64 } |
72 } | 65 } |
OLD | NEW |