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 639 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
650 '../third_party/libvpx/libvpx.gyp:libvpx', | 650 '../third_party/libvpx/libvpx.gyp:libvpx', |
651 '../third_party/libyuv/libyuv.gyp:libyuv', | 651 '../third_party/libyuv/libyuv.gyp:libyuv', |
652 ], | 652 ], |
653 'sources': [ | 653 'sources': [ |
654 'formats/webm/chromeos/ebml_writer.cc', | 654 'formats/webm/chromeos/ebml_writer.cc', |
655 'formats/webm/chromeos/ebml_writer.h', | 655 'formats/webm/chromeos/ebml_writer.h', |
656 'formats/webm/chromeos/webm_encoder.cc', | 656 'formats/webm/chromeos/webm_encoder.cc', |
657 'formats/webm/chromeos/webm_encoder.h', | 657 'formats/webm/chromeos/webm_encoder.h', |
658 ], | 658 ], |
659 }], | 659 }], |
| 660 # For VaapiVideoEncodeAccelerator. |
| 661 ['target_arch != "arm" and chromeos == 1 and use_x11 == 1', { |
| 662 'sources': [ |
| 663 'filters/h264_bitstream_buffer.cc', |
| 664 'filters/h264_bitstream_buffer.h', |
| 665 ], |
| 666 }], |
660 ['OS!="ios"', { | 667 ['OS!="ios"', { |
661 'dependencies': [ | 668 'dependencies': [ |
662 '../third_party/libyuv/libyuv.gyp:libyuv', | 669 '../third_party/libyuv/libyuv.gyp:libyuv', |
663 ], | 670 ], |
664 }], | 671 }], |
665 ['use_alsa==1', { | 672 ['use_alsa==1', { |
666 'link_settings': { | 673 'link_settings': { |
667 'libraries': [ | 674 'libraries': [ |
668 '-lasound', | 675 '-lasound', |
669 ], | 676 ], |
(...skipping 544 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1214 'sources': [ | 1221 'sources': [ |
1215 'audio/cras/cras_input_unittest.cc', | 1222 'audio/cras/cras_input_unittest.cc', |
1216 'audio/cras/cras_unified_unittest.cc', | 1223 'audio/cras/cras_unified_unittest.cc', |
1217 ], | 1224 ], |
1218 'defines': [ | 1225 'defines': [ |
1219 'USE_CRAS', | 1226 'USE_CRAS', |
1220 ], | 1227 ], |
1221 }], | 1228 }], |
1222 ], | 1229 ], |
1223 }], | 1230 }], |
| 1231 ['target_arch != "arm" and chromeos == 1 and use_x11 == 1', { |
| 1232 'sources': [ |
| 1233 'filters/h264_bitstream_buffer_unittest.cc', |
| 1234 ], |
| 1235 }], |
1224 ['use_alsa==0', { | 1236 ['use_alsa==0', { |
1225 'sources!': [ | 1237 'sources!': [ |
1226 'audio/alsa/alsa_output_unittest.cc', | 1238 'audio/alsa/alsa_output_unittest.cc', |
1227 'audio/audio_low_latency_input_output_unittest.cc', | 1239 'audio/audio_low_latency_input_output_unittest.cc', |
1228 ], | 1240 ], |
1229 }], | 1241 }], |
1230 ['target_arch=="ia32" or target_arch=="x64"', { | 1242 ['target_arch=="ia32" or target_arch=="x64"', { |
1231 'sources': [ | 1243 'sources': [ |
1232 'base/simd/convert_rgb_to_yuv_unittest.cc', | 1244 'base/simd/convert_rgb_to_yuv_unittest.cc', |
1233 ], | 1245 ], |
(...skipping 502 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1736 ], | 1748 ], |
1737 }], | 1749 }], |
1738 ], | 1750 ], |
1739 }], | 1751 }], |
1740 ], | 1752 ], |
1741 }, | 1753 }, |
1742 ], | 1754 ], |
1743 }], | 1755 }], |
1744 ], | 1756 ], |
1745 } | 1757 } |
OLD | NEW |