OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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/features.gni") | 5 import("//build/config/features.gni") |
6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
7 import("//content/common/common.gni") | 7 import("//content/common/common.gni") |
8 import("//media/media_options.gni") | 8 import("//media/media_options.gni") |
9 import("//mojo/public/tools/bindings/mojom.gni") | 9 import("//mojo/public/tools/bindings/mojom.gni") |
10 if (is_mac) { | 10 if (is_mac) { |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 # content and moved to android_webview. See crbug.com/365797. | 164 # content and moved to android_webview. See crbug.com/365797. |
165 "//gpu", | 165 "//gpu", |
166 "//gpu/blink", | 166 "//gpu/blink", |
167 "//gpu/command_buffer/client:gl_in_process_context", | 167 "//gpu/command_buffer/client:gl_in_process_context", |
168 "//gpu/command_buffer/client:gles2_c_lib", | 168 "//gpu/command_buffer/client:gles2_c_lib", |
169 "//gpu/command_buffer/client:gles2_cmd_helper", | 169 "//gpu/command_buffer/client:gles2_cmd_helper", |
170 "//gpu/command_buffer/client:gles2_implementation", | 170 "//gpu/command_buffer/client:gles2_implementation", |
171 "//gpu/command_buffer/client:gles2_interface", | 171 "//gpu/command_buffer/client:gles2_interface", |
172 "//gpu/command_buffer/common:gles2_utils", | 172 "//gpu/command_buffer/common:gles2_utils", |
173 "//gpu/command_buffer/service", | 173 "//gpu/command_buffer/service", |
| 174 "//gpu/ipc/client", |
174 "//gpu/ipc/common", | 175 "//gpu/ipc/common", |
175 "//gpu/skia_bindings", | 176 "//gpu/skia_bindings", |
176 "//ipc", | 177 "//ipc", |
177 "//ipc/mojo", | 178 "//ipc/mojo", |
178 "//media", | 179 "//media", |
179 "//media:shared_memory_support", | 180 "//media:shared_memory_support", |
180 "//media/midi", | 181 "//media/midi", |
181 "//mojo/common:common_base", | 182 "//mojo/common:common_base", |
182 "//mojo/converters/network", | 183 "//mojo/converters/network", |
183 "//mojo/edk/system", | 184 "//mojo/edk/system", |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 set_sources_assignment_filter([]) | 217 set_sources_assignment_filter([]) |
217 sources += [ | 218 sources += [ |
218 "sandbox_linux/sandbox_bpf_base_policy_linux.cc", | 219 "sandbox_linux/sandbox_bpf_base_policy_linux.cc", |
219 "sandbox_linux/sandbox_bpf_base_policy_linux.h", | 220 "sandbox_linux/sandbox_bpf_base_policy_linux.h", |
220 ] | 221 ] |
221 set_sources_assignment_filter(sources_assignment_filter) | 222 set_sources_assignment_filter(sources_assignment_filter) |
222 } | 223 } |
223 | 224 |
224 if (is_mac) { | 225 if (is_mac) { |
225 sources += [ | 226 sources += [ |
226 "gpu/client/gpu_memory_buffer_impl_io_surface.cc", | |
227 "gpu/client/gpu_memory_buffer_impl_io_surface.h", | |
228 "gpu/gpu_memory_buffer_factory_io_surface.cc", | 227 "gpu/gpu_memory_buffer_factory_io_surface.cc", |
229 "gpu/gpu_memory_buffer_factory_io_surface.h", | 228 "gpu/gpu_memory_buffer_factory_io_surface.h", |
230 "gpu/media/vt_mac.h", | 229 "gpu/media/vt_mac.h", |
231 "gpu/media/vt_video_decode_accelerator_mac.cc", | 230 "gpu/media/vt_video_decode_accelerator_mac.cc", |
232 "gpu/media/vt_video_decode_accelerator_mac.h", | 231 "gpu/media/vt_video_decode_accelerator_mac.h", |
233 "gpu/media/vt_video_encode_accelerator_mac.cc", | 232 "gpu/media/vt_video_encode_accelerator_mac.cc", |
234 "gpu/media/vt_video_encode_accelerator_mac.h", | 233 "gpu/media/vt_video_encode_accelerator_mac.h", |
235 ] + get_target_outputs(":libvt_generate_stubs") | 234 ] + get_target_outputs(":libvt_generate_stubs") |
236 | 235 |
237 sources -= [ "plugin_list_posix.cc" ] | 236 sources -= [ "plugin_list_posix.cc" ] |
(...skipping 13 matching lines...) Expand all Loading... |
251 "CoreVideo.framework", | 250 "CoreVideo.framework", |
252 "IOSurface.framework", | 251 "IOSurface.framework", |
253 "OpenGL.framework", | 252 "OpenGL.framework", |
254 "QuartzCore.framework", | 253 "QuartzCore.framework", |
255 "sandbox", | 254 "sandbox", |
256 ] | 255 ] |
257 } | 256 } |
258 | 257 |
259 if (is_android) { | 258 if (is_android) { |
260 sources += [ | 259 sources += [ |
261 "gpu/client/gpu_memory_buffer_impl_surface_texture.cc", | |
262 "gpu/client/gpu_memory_buffer_impl_surface_texture.h", | |
263 "gpu/gpu_memory_buffer_factory_surface_texture.cc", | 260 "gpu/gpu_memory_buffer_factory_surface_texture.cc", |
264 "gpu/gpu_memory_buffer_factory_surface_texture.h", | 261 "gpu/gpu_memory_buffer_factory_surface_texture.h", |
265 ] | 262 ] |
266 | 263 |
267 deps += [ | 264 deps += [ |
268 "//content/public/android:common_aidl", | 265 "//content/public/android:common_aidl", |
269 "//content/public/android:jni", | 266 "//content/public/android:jni", |
270 ] | 267 ] |
271 | 268 |
272 libs += [ "android" ] | 269 libs += [ "android" ] |
273 } | 270 } |
274 | 271 |
275 if (is_debug && !is_component_build && enable_plugins) { | 272 if (is_debug && !is_component_build && enable_plugins) { |
276 # Content depends on the PPAPI message logging stuff; if this isn't here, | 273 # Content depends on the PPAPI message logging stuff; if this isn't here, |
277 # some unit test binaries won't compile. This only worked in release mode | 274 # some unit test binaries won't compile. This only worked in release mode |
278 # because logging is disabled there. | 275 # because logging is disabled there. |
279 deps += [ "//ppapi/proxy:ipc_sources" ] | 276 deps += [ "//ppapi/proxy:ipc_sources" ] |
280 } | 277 } |
281 | 278 |
282 if (use_ozone) { | 279 if (use_ozone) { |
283 deps += [ "//ui/ozone" ] | 280 deps += [ "//ui/ozone" ] |
284 } else { | 281 } else { |
285 sources -= [ | 282 sources -= [ |
286 "cursors/webcursor_ozone.cc", | 283 "cursors/webcursor_ozone.cc", |
287 "font_list_ozone.cc", | 284 "font_list_ozone.cc", |
288 "gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc", | |
289 "gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.h", | |
290 "gpu/gpu_memory_buffer_factory_ozone_native_pixmap.cc", | 285 "gpu/gpu_memory_buffer_factory_ozone_native_pixmap.cc", |
291 "gpu/gpu_memory_buffer_factory_ozone_native_pixmap.h", | 286 "gpu/gpu_memory_buffer_factory_ozone_native_pixmap.h", |
292 ] | 287 ] |
293 } | 288 } |
294 | 289 |
295 if (!use_aura || is_android) { | 290 if (!use_aura || is_android) { |
296 sources -= [ "cursors/webcursor_aura.cc" ] | 291 sources -= [ "cursors/webcursor_aura.cc" ] |
297 } | 292 } |
298 | 293 |
299 if (!use_aura || !use_x11) { | 294 if (!use_aura || !use_x11) { |
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
562 "//components/leveldb/public/interfaces", | 557 "//components/leveldb/public/interfaces", |
563 "//components/mus/public/interfaces", | 558 "//components/mus/public/interfaces", |
564 "//content/public/common:mojo_bindings", | 559 "//content/public/common:mojo_bindings", |
565 "//mojo/shell/public/interfaces", | 560 "//mojo/shell/public/interfaces", |
566 "//skia/public/interfaces", | 561 "//skia/public/interfaces", |
567 "//third_party/WebKit/public:mojo_bindings", | 562 "//third_party/WebKit/public:mojo_bindings", |
568 "//ui/mojo/geometry:interfaces", | 563 "//ui/mojo/geometry:interfaces", |
569 "//url/mojo:url_mojom_origin", | 564 "//url/mojo:url_mojom_origin", |
570 ] | 565 ] |
571 } | 566 } |
OLD | NEW |