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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
272 if (use_ozone) { | 273 if (use_ozone) { |
273 # If we're using pango, never use this ozone file (it was removed in all | 274 # If we're using pango, never use this ozone file (it was removed in all |
274 # non-ozone cases above). | 275 # non-ozone cases above). |
275 sources -= [ "font_list_ozone.cc" ] | 276 sources -= [ "font_list_ozone.cc" ] |
276 } | 277 } |
277 } else { | 278 } else { |
278 sources -= [ "font_list_pango.cc" ] | 279 sources -= [ "font_list_pango.cc" ] |
279 } | 280 } |
280 | 281 |
281 if (use_x11) { | 282 if (use_x11) { |
282 include_dirs += [ "//third_party/khronos" ] | 283 configs += [ |
283 configs += [ "//build/config/linux:xcomposite" ] | 284 "//build/config/linux:xcomposite", |
| 285 "//third_party/khronos:khronos_headers", |
| 286 ] |
284 | 287 |
285 if (current_cpu != "arm" || !is_chromeos) { | 288 if (current_cpu != "arm" || !is_chromeos) { |
286 sources += [ "gpu/x_util.h" ] | 289 sources += [ "gpu/x_util.h" ] |
287 } | 290 } |
288 } | 291 } |
289 | 292 |
290 if (enable_plugins) { | 293 if (enable_plugins) { |
291 deps += [ "//ppapi/shared_impl" ] | 294 deps += [ "//ppapi/shared_impl" ] |
292 } else { | 295 } else { |
293 sources -= [ | 296 sources -= [ |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
396 ] | 399 ] |
397 } | 400 } |
398 } | 401 } |
399 } | 402 } |
400 | 403 |
401 if (is_win) { | 404 if (is_win) { |
402 sources += [ | 405 sources += [ |
403 "gpu/media/dxva_video_decode_accelerator.cc", | 406 "gpu/media/dxva_video_decode_accelerator.cc", |
404 "gpu/media/dxva_video_decode_accelerator.h", | 407 "gpu/media/dxva_video_decode_accelerator.h", |
405 ] | 408 ] |
406 include_dirs += [ "//third_party/khronos" ] | 409 configs += [ "//third_party/khronos:khronos_headers" ] |
407 deps += [ "//ui/gl" ] | 410 deps += [ "//ui/gl" ] |
408 libs += [ | 411 libs += [ |
409 "d3d9.lib", | 412 "d3d9.lib", |
410 "d3d11.lib", | 413 "d3d11.lib", |
411 "dxva2.lib", | 414 "dxva2.lib", |
412 "strmiids.lib", | 415 "strmiids.lib", |
413 "mf.lib", | 416 "mf.lib", |
414 "mfplat.lib", | 417 "mfplat.lib", |
415 "mfuuid.lib", | 418 "mfuuid.lib", |
416 ] | 419 ] |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
469 "permission_service.mojom", | 472 "permission_service.mojom", |
470 "presentation/presentation_service.mojom", | 473 "presentation/presentation_service.mojom", |
471 "render_frame_setup.mojom", | 474 "render_frame_setup.mojom", |
472 ] | 475 ] |
473 | 476 |
474 deps = [ | 477 deps = [ |
475 "//content/public/common:mojo_bindings", | 478 "//content/public/common:mojo_bindings", |
476 "//third_party/mojo/src/mojo/public/interfaces/application:application", | 479 "//third_party/mojo/src/mojo/public/interfaces/application:application", |
477 ] | 480 ] |
478 } | 481 } |
OLD | NEW |