Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(76)

Side by Side Diff: gpu/ipc/client/BUILD.gn

Issue 2384243003: ui: Add libsync GLFence implementation.
Patch Set: rebase Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/child/child_gpu_memory_buffer_manager.cc ('k') | gpu/ipc/client/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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",
11 ] 11 ]
12 } else { 12 } else {
13 public_deps = [ 13 public_deps = [
14 ":ipc_client_sources", 14 ":ipc_client_sources",
15 ] 15 ]
16 } 16 }
17 } 17 }
18 18
19 source_set("ipc_client_sources") { 19 source_set("ipc_client_sources") {
20 sources = [ 20 sources = [
21 "command_buffer_proxy_impl.cc", 21 "command_buffer_proxy_impl.cc",
22 "command_buffer_proxy_impl.h", 22 "command_buffer_proxy_impl.h",
23 "gpu_channel_host.cc", 23 "gpu_channel_host.cc",
24 "gpu_channel_host.h", 24 "gpu_channel_host.h",
25 "gpu_fence_impl.cc", 25 "gpu_fence_impl.cc",
26 "gpu_fence_impl.h", 26 "gpu_fence_impl.h",
27 "gpu_fence_impl_shared_event.cc",
28 "gpu_fence_impl_shared_event.h",
27 "gpu_memory_buffer_impl.cc", 29 "gpu_memory_buffer_impl.cc",
28 "gpu_memory_buffer_impl.h", 30 "gpu_memory_buffer_impl.h",
29 "gpu_memory_buffer_impl_shared_memory.cc", 31 "gpu_memory_buffer_impl_shared_memory.cc",
30 "gpu_memory_buffer_impl_shared_memory.h", 32 "gpu_memory_buffer_impl_shared_memory.h",
31 ] 33 ]
32 if (is_mac) { 34 if (is_mac) {
33 sources += [ 35 sources += [
34 "gpu_memory_buffer_impl_io_surface.cc", 36 "gpu_memory_buffer_impl_io_surface.cc",
35 "gpu_memory_buffer_impl_io_surface.h", 37 "gpu_memory_buffer_impl_io_surface.h",
36 "gpu_process_hosted_ca_layer_tree_params.cc", 38 "gpu_process_hosted_ca_layer_tree_params.cc",
37 "gpu_process_hosted_ca_layer_tree_params.h", 39 "gpu_process_hosted_ca_layer_tree_params.h",
38 ] 40 ]
39 } 41 }
40 if (is_android) { 42 if (is_android) {
41 sources += [ 43 sources += [
42 "android/in_process_surface_texture_manager.cc", 44 "android/in_process_surface_texture_manager.cc",
43 "android/in_process_surface_texture_manager.h", 45 "android/in_process_surface_texture_manager.h",
44 ] 46 ]
45 libs = [ "android" ] 47 libs = [ "android" ]
46 } 48 }
49 if (is_linux) {
50 sources += [
51 "gpu_fence_impl_libsync.cc",
52 "gpu_fence_impl_libsync.h",
53 ]
54 }
47 if (use_ozone) { 55 if (use_ozone) {
48 sources += [ 56 sources += [
49 "gpu_memory_buffer_impl_ozone_native_pixmap.cc", 57 "gpu_memory_buffer_impl_ozone_native_pixmap.cc",
50 "gpu_memory_buffer_impl_ozone_native_pixmap.h", 58 "gpu_memory_buffer_impl_ozone_native_pixmap.h",
51 ] 59 ]
52 } 60 }
53 configs += [ 61 configs += [
54 "//build/config/compiler:no_size_t_to_int_warning", 62 "//build/config/compiler:no_size_t_to_int_warning",
55 "//gpu:gpu_implementation", 63 "//gpu:gpu_implementation",
56 ] 64 ]
57 deps = [ 65 deps = [
58 "//base", 66 "//base",
59 "//gpu/command_buffer/client:client_sources", 67 "//gpu/command_buffer/client:client_sources",
60 "//gpu/command_buffer/common:common_sources", 68 "//gpu/command_buffer/common:common_sources",
61 "//gpu/config:config_sources", 69 "//gpu/config:config_sources",
62 "//gpu/ipc/common:ipc_common_sources", 70 "//gpu/ipc/common:ipc_common_sources",
63 "//ipc", 71 "//ipc",
64 "//ui/base/", 72 "//ui/base/",
65 "//ui/events/ipc", 73 "//ui/events/ipc",
66 "//ui/gfx/ipc", 74 "//ui/gfx/ipc",
67 "//ui/gfx/ipc/geometry", 75 "//ui/gfx/ipc/geometry",
68 "//ui/gl", 76 "//ui/gl",
69 "//url/ipc:url_ipc", 77 "//url/ipc:url_ipc",
70 ] 78 ]
71 if (use_ozone) { 79 if (use_ozone) {
72 deps += [ "//ui/ozone" ] 80 deps += [ "//ui/ozone" ]
73 } 81 }
82 if (is_linux) {
83 deps += [ "//third_party/libsync" ]
84 }
74 } 85 }
OLDNEW
« no previous file with comments | « content/child/child_gpu_memory_buffer_manager.cc ('k') | gpu/ipc/client/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698