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 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 # Override to dynamically link the cras (ChromeOS audio) library. | 8 # Override to dynamically link the cras (ChromeOS audio) library. |
9 'use_cras%': 0, | 9 'use_cras%': 0, |
10 # Option e.g. for Linux distributions to link pulseaudio directly | 10 # Option e.g. for Linux distributions to link pulseaudio directly |
(...skipping 641 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
652 '../third_party/libvpx/libvpx.gyp:libvpx', | 652 '../third_party/libvpx/libvpx.gyp:libvpx', |
653 '../third_party/libyuv/libyuv.gyp:libyuv', | 653 '../third_party/libyuv/libyuv.gyp:libyuv', |
654 ], | 654 ], |
655 'sources': [ | 655 'sources': [ |
656 'formats/webm/chromeos/ebml_writer.cc', | 656 'formats/webm/chromeos/ebml_writer.cc', |
657 'formats/webm/chromeos/ebml_writer.h', | 657 'formats/webm/chromeos/ebml_writer.h', |
658 'formats/webm/chromeos/webm_encoder.cc', | 658 'formats/webm/chromeos/webm_encoder.cc', |
659 'formats/webm/chromeos/webm_encoder.h', | 659 'formats/webm/chromeos/webm_encoder.h', |
660 ], | 660 ], |
661 }], | 661 }], |
| 662 # For VaapiVideoEncodeAccelerator. |
| 663 ['target_arch != "arm" and chromeos == 1 and use_x11 == 1', { |
| 664 'sources': [ |
| 665 'filters/h264_bitstream_buffer.cc', |
| 666 'filters/h264_bitstream_buffer.h', |
| 667 ], |
| 668 }], |
662 ['OS!="ios"', { | 669 ['OS!="ios"', { |
663 'dependencies': [ | 670 'dependencies': [ |
664 '../third_party/libyuv/libyuv.gyp:libyuv', | 671 '../third_party/libyuv/libyuv.gyp:libyuv', |
665 ], | 672 ], |
666 }], | 673 }], |
667 ['use_alsa==1', { | 674 ['use_alsa==1', { |
668 'link_settings': { | 675 'link_settings': { |
669 'libraries': [ | 676 'libraries': [ |
670 '-lasound', | 677 '-lasound', |
671 ], | 678 ], |
(...skipping 544 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1216 'sources': [ | 1223 'sources': [ |
1217 'audio/cras/cras_input_unittest.cc', | 1224 'audio/cras/cras_input_unittest.cc', |
1218 'audio/cras/cras_unified_unittest.cc', | 1225 'audio/cras/cras_unified_unittest.cc', |
1219 ], | 1226 ], |
1220 'defines': [ | 1227 'defines': [ |
1221 'USE_CRAS', | 1228 'USE_CRAS', |
1222 ], | 1229 ], |
1223 }], | 1230 }], |
1224 ], | 1231 ], |
1225 }], | 1232 }], |
| 1233 ['target_arch != "arm" and chromeos == 1 and use_x11 == 1', { |
| 1234 'sources': [ |
| 1235 'filters/h264_bitstream_buffer_unittest.cc', |
| 1236 ], |
| 1237 }], |
1226 ['use_alsa==0', { | 1238 ['use_alsa==0', { |
1227 'sources!': [ | 1239 'sources!': [ |
1228 'audio/alsa/alsa_output_unittest.cc', | 1240 'audio/alsa/alsa_output_unittest.cc', |
1229 'audio/audio_low_latency_input_output_unittest.cc', | 1241 'audio/audio_low_latency_input_output_unittest.cc', |
1230 ], | 1242 ], |
1231 }], | 1243 }], |
1232 ['target_arch=="ia32" or target_arch=="x64"', { | 1244 ['target_arch=="ia32" or target_arch=="x64"', { |
1233 'sources': [ | 1245 'sources': [ |
1234 'base/simd/convert_rgb_to_yuv_unittest.cc', | 1246 'base/simd/convert_rgb_to_yuv_unittest.cc', |
1235 ], | 1247 ], |
(...skipping 502 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1738 ], | 1750 ], |
1739 }], | 1751 }], |
1740 ], | 1752 ], |
1741 }], | 1753 }], |
1742 ], | 1754 ], |
1743 }, | 1755 }, |
1744 ], | 1756 ], |
1745 }], | 1757 }], |
1746 ], | 1758 ], |
1747 } | 1759 } |
OLD | NEW |