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("//mojo/public/tools/bindings/mojom.gni") | 8 import("//mojo/public/tools/bindings/mojom.gni") |
9 | 9 |
10 if (is_chromeos && cpu_arch != "arm") { | 10 if (is_chromeos && cpu_arch != "arm") { |
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
347 } | 347 } |
348 } | 348 } |
349 | 349 |
350 if (is_win) { | 350 if (is_win) { |
351 sources += [ | 351 sources += [ |
352 "gpu/media/dxva_video_decode_accelerator.cc", | 352 "gpu/media/dxva_video_decode_accelerator.cc", |
353 "gpu/media/dxva_video_decode_accelerator.h", | 353 "gpu/media/dxva_video_decode_accelerator.h", |
354 ] | 354 ] |
355 include_dirs += [ "//third_party/khronos" ] | 355 include_dirs += [ "//third_party/khronos" ] |
356 deps += [ "//ui/gl" ] | 356 deps += [ "//ui/gl" ] |
357 libs += [ | |
358 "d3d9.lib", | |
Slava Chigrin
2015/01/13 19:17:00
Done like this code in GYP https://code.google.com
| |
359 "dxva2.lib", | |
360 "strmiids.lib", | |
361 "mf.lib", | |
362 "mfplat.lib", | |
363 "mfuuid.lib", | |
364 ] | |
365 ldflags += [ | |
366 "/DELAYLOAD:d3d9.dll", | |
367 "/DELAYLOAD:dxva2.dll", | |
368 "/DELAYLOAD:mf.dll", | |
369 "/DELAYLOAD:mfplat.dll", | |
370 ] | |
357 | 371 |
358 # TODO(GYP): extract_xinput action. | 372 # TODO(GYP): extract_xinput action. |
359 } | 373 } |
360 | 374 |
361 if (!is_win || !use_aura) { | 375 if (!is_win || !use_aura) { |
362 sources -= [ "cursors/webcursor_aurawin.cc" ] | 376 sources -= [ "cursors/webcursor_aurawin.cc" ] |
363 } | 377 } |
364 | 378 |
365 if (use_seccomp_bpf) { | 379 if (use_seccomp_bpf) { |
366 defines += [ "USE_SECCOMP_BPF" ] | 380 defines += [ "USE_SECCOMP_BPF" ] |
(...skipping 28 matching lines...) Expand all Loading... | |
395 "geolocation_service.mojom", | 409 "geolocation_service.mojom", |
396 "permission_service.mojom", | 410 "permission_service.mojom", |
397 "render_frame_setup.mojom", | 411 "render_frame_setup.mojom", |
398 ] | 412 ] |
399 | 413 |
400 deps = [ | 414 deps = [ |
401 "//content/public/common:mojo_bindings", | 415 "//content/public/common:mojo_bindings", |
402 "//mojo/public/interfaces/application:application", | 416 "//mojo/public/interfaces/application:application", |
403 ] | 417 ] |
404 } | 418 } |
OLD | NEW |