| 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("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") | 8 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") |
| 9 if (is_mac) { |
| 10 import("//build/config/mac/mac_sdk.gni") |
| 11 } |
| 9 | 12 |
| 10 if (is_chromeos && current_cpu != "arm") { | 13 if (is_chromeos && current_cpu != "arm") { |
| 11 action("libva_generate_stubs") { | 14 action("libva_generate_stubs") { |
| 12 extra_header = "gpu/media/va_stub_header.fragment" | 15 extra_header = "gpu/media/va_stub_header.fragment" |
| 13 | 16 |
| 14 script = "../../tools/generate_stubs/generate_stubs.py" | 17 script = "../../tools/generate_stubs/generate_stubs.py" |
| 15 sources = [ | 18 sources = [ |
| 16 "gpu/media/va.sigs", | 19 "gpu/media/va.sigs", |
| 17 ] | 20 ] |
| 18 inputs = [ | 21 inputs = [ |
| (...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 sources -= [ "plugin_list_posix.cc" ] | 224 sources -= [ "plugin_list_posix.cc" ] |
| 222 | 225 |
| 223 deps += [ | 226 deps += [ |
| 224 ":libvt_generate_stubs", | 227 ":libvt_generate_stubs", |
| 225 "//content/app/resources", | 228 "//content/app/resources", |
| 226 "//content:resources", | 229 "//content:resources", |
| 227 "//third_party/WebKit/public:image_resources", | 230 "//third_party/WebKit/public:image_resources", |
| 228 "//third_party/WebKit/public:resources", | 231 "//third_party/WebKit/public:resources", |
| 229 "//ui/accelerated_widget_mac", | 232 "//ui/accelerated_widget_mac", |
| 230 ] | 233 ] |
| 234 lib_dirs = [ "$mac_sdk_path/usr/lib" ] |
| 231 libs += [ | 235 libs += [ |
| 232 "IOSurface.framework", | 236 "IOSurface.framework", |
| 233 "OpenGL.framework", | 237 "OpenGL.framework", |
| 234 "QuartzCore.framework", | 238 "QuartzCore.framework", |
| 239 "sandbox", |
| 235 ] | 240 ] |
| 236 } | 241 } |
| 237 | 242 |
| 238 if (is_android) { | 243 if (is_android) { |
| 239 sources += [ | 244 sources += [ |
| 240 "gpu/client/gpu_memory_buffer_impl_surface_texture.cc", | 245 "gpu/client/gpu_memory_buffer_impl_surface_texture.cc", |
| 241 "gpu/client/gpu_memory_buffer_impl_surface_texture.h", | 246 "gpu/client/gpu_memory_buffer_impl_surface_texture.h", |
| 242 "gpu/gpu_memory_buffer_factory_surface_texture.cc", | 247 "gpu/gpu_memory_buffer_factory_surface_texture.cc", |
| 243 "gpu/gpu_memory_buffer_factory_surface_texture.h", | 248 "gpu/gpu_memory_buffer_factory_surface_texture.h", |
| 244 ] | 249 ] |
| (...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 505 | 510 |
| 506 import_dirs = [ "//mojo/services" ] | 511 import_dirs = [ "//mojo/services" ] |
| 507 | 512 |
| 508 deps = [ | 513 deps = [ |
| 509 "//content/public/common:mojo_bindings", | 514 "//content/public/common:mojo_bindings", |
| 510 "//mojo/application/public/interfaces", | 515 "//mojo/application/public/interfaces", |
| 511 "//skia/public/interfaces", | 516 "//skia/public/interfaces", |
| 512 "//ui/mojo/geometry:interfaces", | 517 "//ui/mojo/geometry:interfaces", |
| 513 ] | 518 ] |
| 514 } | 519 } |
| OLD | NEW |