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

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

Issue 2472563002: Fix for a DCHECK in GpuSurfaceLookup (Closed)
Patch Set: 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/browser/BUILD.gn ('k') | no next file » | 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 import("//mojo/public/tools/bindings/mojom.gni") 6 import("//mojo/public/tools/bindings/mojom.gni")
7 7
8 group("common") { 8 group("common") {
9 if (is_component_build) { 9 if (is_component_build) {
10 public_deps = [ 10 public_deps = [
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 sources = [ 67 sources = [
68 "gpu_memory_buffer_support.cc", 68 "gpu_memory_buffer_support.cc",
69 "gpu_memory_buffer_support.h", 69 "gpu_memory_buffer_support.h",
70 "gpu_message_generator.cc", 70 "gpu_message_generator.cc",
71 "gpu_message_generator.h", 71 "gpu_message_generator.h",
72 "gpu_messages.h", 72 "gpu_messages.h",
73 "gpu_param_traits.cc", 73 "gpu_param_traits.cc",
74 "gpu_param_traits.h", 74 "gpu_param_traits.h",
75 "gpu_param_traits_macros.h", 75 "gpu_param_traits_macros.h",
76 "gpu_stream_constants.h", 76 "gpu_stream_constants.h",
77 "gpu_surface_lookup.cc",
78 "gpu_surface_lookup.h",
79 "memory_stats.cc", 77 "memory_stats.cc",
80 "memory_stats.h", 78 "memory_stats.h",
81 ] 79 ]
82 80
83 configs += [ 81 configs += [
84 "//gpu:gpu_implementation", 82 "//gpu:gpu_implementation",
85 "//third_party/khronos:khronos_headers", 83 "//third_party/khronos:khronos_headers",
86 ] 84 ]
87 85
88 public_deps = [ 86 public_deps = [
(...skipping 19 matching lines...) Expand all
108 sources += [ 106 sources += [
109 "android/scoped_surface_request_conduit.cc", 107 "android/scoped_surface_request_conduit.cc",
110 "android/scoped_surface_request_conduit.h", 108 "android/scoped_surface_request_conduit.h",
111 "android/surface_texture_manager.cc", 109 "android/surface_texture_manager.cc",
112 "android/surface_texture_manager.h", 110 "android/surface_texture_manager.h",
113 "android/surface_texture_peer.cc", 111 "android/surface_texture_peer.cc",
114 "android/surface_texture_peer.h", 112 "android/surface_texture_peer.h",
115 ] 113 ]
116 } 114 }
117 115
116 if (is_mac || is_android) {
117 sources += [
118 "gpu_surface_lookup.cc",
119 "gpu_surface_lookup.h",
120 "gpu_surface_tracker.cc",
121 "gpu_surface_tracker.h",
122 ]
123 }
124
118 if (use_ozone) { 125 if (use_ozone) {
119 deps += [ "//ui/ozone" ] 126 deps += [ "//ui/ozone" ]
120 } 127 }
121 } 128 }
122 129
123 # Depend on this to use surface_handle.h without pulling in all of gpu ipc. 130 # Depend on this to use surface_handle.h without pulling in all of gpu ipc.
124 source_set("surface_handle_type") { 131 source_set("surface_handle_type") {
125 public = [ 132 public = [
126 "surface_handle.h", 133 "surface_handle.h",
127 ] 134 ]
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 "surface_handle_struct_traits.h", 173 "surface_handle_struct_traits.h",
167 "sync_token_struct_traits.h", 174 "sync_token_struct_traits.h",
168 ] 175 ]
169 deps = [ 176 deps = [
170 ":interfaces_shared_cpp_sources", 177 ":interfaces_shared_cpp_sources",
171 ":surface_handle_type", 178 ":surface_handle_type",
172 "//gpu/command_buffer/common", 179 "//gpu/command_buffer/common",
173 "//mojo/public/cpp/bindings:bindings", 180 "//mojo/public/cpp/bindings:bindings",
174 ] 181 ]
175 } 182 }
176
177 if (is_mac || is_android) {
178 source_set("gpu_surface_tracker") {
179 sources = [
180 "gpu_surface_tracker.cc",
181 "gpu_surface_tracker.h",
182 ]
183
184 deps = [
185 "//gpu/ipc/common",
186 "//ui/gl",
187 ]
188
189 if (is_android) {
190 libs = [ "android" ]
191 }
192 }
193 }
OLDNEW
« no previous file with comments | « content/browser/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698