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

Side by Side Diff: content/common/BUILD.gn

Issue 1087873003: Fix errors found in Mac gn component builds (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Try to fix sandbox_mac_unittests Created 5 years, 8 months 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') | gpu/command_buffer/service/BUILD.gn » ('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 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("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") 8 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni")
9 9
10 if (is_chromeos && current_cpu != "arm") { 10 if (is_chromeos && current_cpu != "arm") {
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 "sandbox_linux/sandbox_bpf_base_policy_linux.cc", 200 "sandbox_linux/sandbox_bpf_base_policy_linux.cc",
201 "sandbox_linux/sandbox_bpf_base_policy_linux.h", 201 "sandbox_linux/sandbox_bpf_base_policy_linux.h",
202 ] 202 ]
203 set_sources_assignment_filter(sources_assignment_filter) 203 set_sources_assignment_filter(sources_assignment_filter)
204 } 204 }
205 205
206 if (is_mac) { 206 if (is_mac) {
207 sources += [ 207 sources += [
208 "gpu/client/gpu_memory_buffer_impl_io_surface.cc", 208 "gpu/client/gpu_memory_buffer_impl_io_surface.cc",
209 "gpu/client/gpu_memory_buffer_impl_io_surface.h", 209 "gpu/client/gpu_memory_buffer_impl_io_surface.h",
210 "gpu/gpu_memory_buffer_factory_io_surface.cc",
211 "gpu/gpu_memory_buffer_factory_io_surface.h",
212 "gpu/media/vt.h",
213 "gpu/media/vt_video_decode_accelerator.cc",
214 "gpu/media/vt_video_decode_accelerator.h",
210 ] + get_target_outputs(":libvt_generate_stubs") 215 ] + get_target_outputs(":libvt_generate_stubs")
211 216
212 sources -= [ "plugin_list_posix.cc" ] 217 sources -= [ "plugin_list_posix.cc" ]
213 218
214 deps += [ 219 deps += [
215 ":libvt_generate_stubs", 220 ":libvt_generate_stubs",
216 "//content/app/resources", 221 "//content/app/resources",
217 "//content:resources", 222 "//content:resources",
218 "//third_party/WebKit/public:image_resources", 223 "//third_party/WebKit/public:image_resources",
219 "//third_party/WebKit/public:resources", 224 "//third_party/WebKit/public:resources",
220 "//ui/accelerated_widget_mac", 225 "//ui/accelerated_widget_mac",
221 ] 226 ]
222 libs += [ "QuartzCore.framework" ] 227 libs += [
228 "IOSurface.framework",
229 "OpenGL.framework",
230 "QuartzCore.framework",
231 ]
223 } 232 }
224 233
225 if (is_android) { 234 if (is_android) {
226 sources += [ 235 sources += [
227 "gpu/client/gpu_memory_buffer_impl_surface_texture.cc", 236 "gpu/client/gpu_memory_buffer_impl_surface_texture.cc",
228 "gpu/client/gpu_memory_buffer_impl_surface_texture.h", 237 "gpu/client/gpu_memory_buffer_impl_surface_texture.h",
229 "gpu/gpu_memory_buffer_factory_surface_texture.cc", 238 "gpu/gpu_memory_buffer_factory_surface_texture.cc",
230 "gpu/gpu_memory_buffer_factory_surface_texture.h", 239 "gpu/gpu_memory_buffer_factory_surface_texture.h",
231 ] 240 ]
232 241
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
477 "permission_service.mojom", 486 "permission_service.mojom",
478 "presentation/presentation_service.mojom", 487 "presentation/presentation_service.mojom",
479 "render_frame_setup.mojom", 488 "render_frame_setup.mojom",
480 ] 489 ]
481 490
482 deps = [ 491 deps = [
483 "//content/public/common:mojo_bindings", 492 "//content/public/common:mojo_bindings",
484 "//third_party/mojo/src/mojo/public/interfaces/application:application", 493 "//third_party/mojo/src/mojo/public/interfaces/application:application",
485 ] 494 ]
486 } 495 }
OLDNEW
« no previous file with comments | « content/browser/BUILD.gn ('k') | gpu/command_buffer/service/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698