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 (use_ozone) { | 38 if (is_linux) { |
39 sources += [ | 39 sources += [ |
40 "gpu_memory_buffer_impl_ozone_native_pixmap.cc", | 40 "gpu_memory_buffer_impl_native_pixmap.cc", |
41 "gpu_memory_buffer_impl_ozone_native_pixmap.h", | 41 "gpu_memory_buffer_impl_native_pixmap.h", |
42 ] | 42 ] |
43 } | 43 } |
44 configs += [ | 44 configs += [ |
45 "//build/config/compiler:no_size_t_to_int_warning", | 45 "//build/config/compiler:no_size_t_to_int_warning", |
46 "//gpu:gpu_implementation", | 46 "//gpu:gpu_implementation", |
47 ] | 47 ] |
48 deps = [ | 48 deps = [ |
49 "//base", | 49 "//base", |
50 "//gpu/command_buffer/client:client_sources", | 50 "//gpu/command_buffer/client:client_sources", |
51 "//gpu/command_buffer/common:common_sources", | 51 "//gpu/command_buffer/common:common_sources", |
52 "//gpu/config:config_sources", | 52 "//gpu/config:config_sources", |
53 "//gpu/ipc/common:ipc_common_sources", | 53 "//gpu/ipc/common:ipc_common_sources", |
54 "//ui/base/", | 54 "//ui/base/", |
55 "//ui/gfx/ipc", | 55 "//ui/gfx/ipc", |
56 "//ui/gfx/ipc/geometry", | 56 "//ui/gfx/ipc/geometry", |
57 "//ui/gl", | 57 "//ui/gl", |
58 "//ui/latency/ipc", | 58 "//ui/latency/ipc", |
59 "//url/ipc:url_ipc", | 59 "//url/ipc:url_ipc", |
60 ] | 60 ] |
61 public_deps = [ | 61 public_deps = [ |
62 "//ipc", | 62 "//ipc", |
63 ] | 63 ] |
64 if (use_ozone) { | 64 if (use_ozone) { |
65 deps += [ "//ui/ozone" ] | 65 deps += [ "//ui/ozone" ] |
66 } | 66 } |
67 } | 67 } |
OLD | NEW |