OLD | NEW |
---|---|
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 { | 5 { |
6 'dependencies': [ | 6 'dependencies': [ |
7 '../base/base.gyp:base', | 7 '../base/base.gyp:base', |
8 '../components/tracing.gyp:tracing', | 8 '../components/tracing.gyp:tracing', |
9 '../net/net.gyp:net', | 9 '../net/net.gyp:net', |
10 '../skia/skia.gyp:skia', | 10 '../skia/skia.gyp:skia', |
(...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
510 '<(DEPTH)/third_party/khronos', | 510 '<(DEPTH)/third_party/khronos', |
511 ], | 511 ], |
512 'link_settings': { | 512 'link_settings': { |
513 'libraries': [ | 513 'libraries': [ |
514 '-lEGL', | 514 '-lEGL', |
515 '-lGLESv2', | 515 '-lGLESv2', |
516 ], | 516 ], |
517 }, | 517 }, |
518 }], | 518 }], |
519 ['target_arch != "arm" and chromeos == 1 and use_x11 == 1', { | 519 ['target_arch != "arm" and chromeos == 1 and use_x11 == 1', { |
520 'dependencies': [ | |
521 '../media/media.gyp:media', | |
522 ], | |
523 'variables': { | |
524 'vavda_vagl_egl%': 0, | |
525 }, | |
526 'vavda_vagl_egl%': '<(vavda_vagl_egl)', | |
Ami GONE FROM CHROMIUM
2013/10/30 20:08:05
Is the indirection really necessary? (I think it
| |
520 'sources': [ | 527 'sources': [ |
521 'common/gpu/media/h264_dpb.cc', | 528 'common/gpu/media/h264_dpb.cc', |
522 'common/gpu/media/h264_dpb.h', | 529 'common/gpu/media/h264_dpb.h', |
523 'common/gpu/media/va_surface.h', | 530 'common/gpu/media/va_surface.h', |
524 'common/gpu/media/vaapi_h264_decoder.cc', | 531 'common/gpu/media/vaapi_h264_decoder.cc', |
525 'common/gpu/media/vaapi_h264_decoder.h', | 532 'common/gpu/media/vaapi_h264_decoder.h', |
526 'common/gpu/media/vaapi_video_decode_accelerator.cc', | 533 'common/gpu/media/vaapi_video_decode_accelerator.cc', |
527 'common/gpu/media/vaapi_video_decode_accelerator.h', | 534 'common/gpu/media/vaapi_video_decode_accelerator.h', |
528 'common/gpu/media/vaapi_wrapper.cc', | 535 'common/gpu/media/vaapi_wrapper.cc', |
529 'common/gpu/media/vaapi_wrapper.h', | 536 'common/gpu/media/vaapi_wrapper.h', |
530 ], | 537 ], |
531 'include_dirs': [ | 538 'include_dirs': [ |
532 '<(DEPTH)/third_party/libva', | 539 '<(DEPTH)/third_party/libva', |
533 ], | 540 ], |
541 'conditions': [ | |
542 ['vavda_vagl_egl == 1', { | |
543 'defines': [ | |
544 'VAVDA_VATEXTURE_EGL_BACKEND', | |
545 ], | |
546 'include_dirs': [ | |
547 '<(DEPTH)/third_party/khronos', | |
548 ], | |
549 'link_settings': { | |
550 'libraries': [ | |
551 '-lEGL', | |
552 '-lGLESv2', | |
553 ], | |
554 }, | |
555 }], | |
556 ], | |
534 }], | 557 }], |
535 ['OS=="win"', { | 558 ['OS=="win"', { |
536 'dependencies': [ | 559 'dependencies': [ |
537 '../media/media.gyp:media', | 560 '../media/media.gyp:media', |
538 '../ui/gl/gl.gyp:gl', | 561 '../ui/gl/gl.gyp:gl', |
539 ], | 562 ], |
540 'link_settings': { | 563 'link_settings': { |
541 'libraries': [ | 564 'libraries': [ |
542 '-ld3d9.lib', | 565 '-ld3d9.lib', |
543 '-ldxva2.lib', | 566 '-ldxva2.lib', |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
585 '..\\third_party\\directxsdk\\files\\Redist\\<(input)', | 608 '..\\third_party\\directxsdk\\files\\Redist\\<(input)', |
586 '<(output)', | 609 '<(output)', |
587 '<(PRODUCT_DIR)', | 610 '<(PRODUCT_DIR)', |
588 ], | 611 ], |
589 'msvs_cygwin_shell': 1, | 612 'msvs_cygwin_shell': 1, |
590 }, | 613 }, |
591 ] | 614 ] |
592 }], | 615 }], |
593 ], | 616 ], |
594 } | 617 } |
OLD | NEW |