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 771 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
782 ], | 782 ], |
783 'direct_dependent_settings': { | 783 'direct_dependent_settings': { |
784 'defines': [ | 784 'defines': [ |
785 'DISABLE_FFMPEG_VIDEO_DECODERS', | 785 'DISABLE_FFMPEG_VIDEO_DECODERS', |
786 ], | 786 ], |
787 }, | 787 }, |
788 }], | 788 }], |
789 ], | 789 ], |
790 }], | 790 }], |
791 # For VaapiVideoEncodeAccelerator. | 791 # For VaapiVideoEncodeAccelerator. |
792 ['target_arch != "arm" and chromeos == 1', { | 792 ['target_arch != "arm" and OS=="linux"', { |
793 'sources': [ | 793 'sources': [ |
794 'filters/h264_bitstream_buffer.cc', | 794 'filters/h264_bitstream_buffer.cc', |
795 'filters/h264_bitstream_buffer.h', | 795 'filters/h264_bitstream_buffer.h', |
796 ], | 796 ], |
797 }], | 797 }], |
798 ['use_alsa==1', { | 798 ['use_alsa==1', { |
799 'link_settings': { | 799 'link_settings': { |
800 'libraries': [ | 800 'libraries': [ |
801 '-lasound', | 801 '-lasound', |
802 ], | 802 ], |
(...skipping 618 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1421 }], | 1421 }], |
1422 # If ExternalClearKey is built, we can test CdmAdapter. | 1422 # If ExternalClearKey is built, we can test CdmAdapter. |
1423 ['enable_pepper_cdms == 1', { | 1423 ['enable_pepper_cdms == 1', { |
1424 'dependencies': [ | 1424 'dependencies': [ |
1425 'clearkeycdm', | 1425 'clearkeycdm', |
1426 ], | 1426 ], |
1427 'sources': [ | 1427 'sources': [ |
1428 'cdm/cdm_adapter_unittest.cc', | 1428 'cdm/cdm_adapter_unittest.cc', |
1429 ], | 1429 ], |
1430 }], | 1430 }], |
1431 ['target_arch != "arm" and chromeos == 1 and use_x11 == 1', { | 1431 ['target_arch != "arm" and OS=="linux"', { |
1432 'sources': [ | 1432 'sources': [ |
1433 'filters/h264_bitstream_buffer_unittest.cc', | 1433 'filters/h264_bitstream_buffer_unittest.cc', |
1434 ], | 1434 ], |
1435 }], | 1435 }], |
1436 ['target_arch=="ia32" or target_arch=="x64"', { | 1436 ['target_arch=="ia32" or target_arch=="x64"', { |
1437 'sources': [ | 1437 'sources': [ |
1438 'base/simd/convert_rgb_to_yuv_unittest.cc', | 1438 'base/simd/convert_rgb_to_yuv_unittest.cc', |
1439 ], | 1439 ], |
1440 }], | 1440 }], |
1441 ['proprietary_codecs==1', { | 1441 ['proprietary_codecs==1', { |
(...skipping 742 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2184 'dependencies': [ | 2184 'dependencies': [ |
2185 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | 2185 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
2186 ], | 2186 ], |
2187 }], | 2187 }], |
2188 ], | 2188 ], |
2189 }, | 2189 }, |
2190 ], | 2190 ], |
2191 }], | 2191 }], |
2192 ], | 2192 ], |
2193 } | 2193 } |
OLD | NEW |