| 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 | 9 |
| 10 if (is_chromeos && current_cpu != "arm") { | 10 if (is_chromeos && current_cpu != "arm") { |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 | 137 |
| 138 public_deps = [ | 138 public_deps = [ |
| 139 "//gpu/command_buffer/common", | 139 "//gpu/command_buffer/common", |
| 140 "//third_party/WebKit/public:blink_headers", | 140 "//third_party/WebKit/public:blink_headers", |
| 141 ] | 141 ] |
| 142 deps = [ | 142 deps = [ |
| 143 "//base", | 143 "//base", |
| 144 "//build/util:webkit_version", | 144 "//build/util:webkit_version", |
| 145 "//components/tracing", | 145 "//components/tracing", |
| 146 "//gpu/command_buffer/client:gles2_interface", | 146 "//gpu/command_buffer/client:gles2_interface", |
| 147 "//gpu/command_buffer/common:gles2_utils", |
| 147 "//net", | 148 "//net", |
| 148 "//skia", | 149 "//skia", |
| 149 "//third_party/icu", | 150 "//third_party/icu", |
| 150 "//ui/accessibility", | 151 "//ui/accessibility", |
| 151 "//ui/base", | 152 "//ui/base", |
| 152 "//ui/base/ime", | 153 "//ui/base/ime", |
| 153 "//ui/events/ipc", | 154 "//ui/events/ipc", |
| 154 "//ui/gfx", | 155 "//ui/gfx", |
| 155 "//ui/gfx/geometry", | 156 "//ui/gfx/geometry", |
| 156 "//ui/gfx/ipc", | 157 "//ui/gfx/ipc", |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 271 if (use_ozone) { | 272 if (use_ozone) { |
| 272 # If we're using pango, never use this ozone file (it was removed in all | 273 # If we're using pango, never use this ozone file (it was removed in all |
| 273 # non-ozone cases above). | 274 # non-ozone cases above). |
| 274 sources -= [ "font_list_ozone.cc" ] | 275 sources -= [ "font_list_ozone.cc" ] |
| 275 } | 276 } |
| 276 } else { | 277 } else { |
| 277 sources -= [ "font_list_pango.cc" ] | 278 sources -= [ "font_list_pango.cc" ] |
| 278 } | 279 } |
| 279 | 280 |
| 280 if (use_x11) { | 281 if (use_x11) { |
| 281 include_dirs += [ "//third_party/khronos" ] | 282 configs += [ |
| 282 configs += [ "//build/config/linux:xcomposite" ] | 283 "//build/config/linux:xcomposite", |
| 284 "//third_party/khronos:khronos_headers", |
| 285 ] |
| 283 | 286 |
| 284 if (current_cpu != "arm" || !is_chromeos) { | 287 if (current_cpu != "arm" || !is_chromeos) { |
| 285 sources += [ "gpu/x_util.h" ] | 288 sources += [ "gpu/x_util.h" ] |
| 286 } | 289 } |
| 287 } | 290 } |
| 288 | 291 |
| 289 if (enable_plugins) { | 292 if (enable_plugins) { |
| 290 deps += [ "//ppapi/shared_impl" ] | 293 deps += [ "//ppapi/shared_impl" ] |
| 291 } else { | 294 } else { |
| 292 sources -= [ | 295 sources -= [ |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 395 ] | 398 ] |
| 396 } | 399 } |
| 397 } | 400 } |
| 398 } | 401 } |
| 399 | 402 |
| 400 if (is_win) { | 403 if (is_win) { |
| 401 sources += [ | 404 sources += [ |
| 402 "gpu/media/dxva_video_decode_accelerator.cc", | 405 "gpu/media/dxva_video_decode_accelerator.cc", |
| 403 "gpu/media/dxva_video_decode_accelerator.h", | 406 "gpu/media/dxva_video_decode_accelerator.h", |
| 404 ] | 407 ] |
| 405 include_dirs += [ "//third_party/khronos" ] | 408 configs += [ "//third_party/khronos:khronos_headers" ] |
| 406 deps += [ "//ui/gl" ] | 409 deps += [ "//ui/gl" ] |
| 407 libs += [ | 410 libs += [ |
| 408 "d3d9.lib", | 411 "d3d9.lib", |
| 409 "d3d11.lib", | 412 "d3d11.lib", |
| 410 "dxva2.lib", | 413 "dxva2.lib", |
| 411 "strmiids.lib", | 414 "strmiids.lib", |
| 412 "mf.lib", | 415 "mf.lib", |
| 413 "mfplat.lib", | 416 "mfplat.lib", |
| 414 "mfuuid.lib", | 417 "mfuuid.lib", |
| 415 ] | 418 ] |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 468 "permission_service.mojom", | 471 "permission_service.mojom", |
| 469 "presentation/presentation_service.mojom", | 472 "presentation/presentation_service.mojom", |
| 470 "render_frame_setup.mojom", | 473 "render_frame_setup.mojom", |
| 471 ] | 474 ] |
| 472 | 475 |
| 473 deps = [ | 476 deps = [ |
| 474 "//content/public/common:mojo_bindings", | 477 "//content/public/common:mojo_bindings", |
| 475 "//third_party/mojo/src/mojo/public/interfaces/application:application", | 478 "//third_party/mojo/src/mojo/public/interfaces/application:application", |
| 476 ] | 479 ] |
| 477 } | 480 } |
| OLD | NEW |