Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(299)

Side by Side Diff: media/media.gyp

Issue 1152053004: Remove a few _sse2 targets now that we build with -msse2 everywhere. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: drunk Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « media/base/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 1023 matching lines...) Expand 10 before | Expand all | Expand 10 after
1034 'formats/mpeg/adts_stream_parser.h', 1034 'formats/mpeg/adts_stream_parser.h',
1035 'formats/mpeg/mpeg1_audio_stream_parser.cc', 1035 'formats/mpeg/mpeg1_audio_stream_parser.cc',
1036 'formats/mpeg/mpeg1_audio_stream_parser.h', 1036 'formats/mpeg/mpeg1_audio_stream_parser.h',
1037 'formats/mpeg/mpeg_audio_stream_parser_base.cc', 1037 'formats/mpeg/mpeg_audio_stream_parser_base.cc',
1038 'formats/mpeg/mpeg_audio_stream_parser_base.h', 1038 'formats/mpeg/mpeg_audio_stream_parser_base.h',
1039 ], 1039 ],
1040 }], 1040 }],
1041 ['target_arch=="ia32" or target_arch=="x64"', { 1041 ['target_arch=="ia32" or target_arch=="x64"', {
1042 'dependencies': [ 1042 'dependencies': [
1043 'media_asm', 1043 'media_asm',
1044 'media_sse2',
1045 ], 1044 ],
1046 'sources': [ 1045 'sources': [
1046 'base/simd/convert_rgb_to_yuv_sse2.cc',
1047 'base/simd/convert_rgb_to_yuv_ssse3.cc',
1047 'base/simd/convert_yuv_to_rgb_x86.cc', 1048 'base/simd/convert_yuv_to_rgb_x86.cc',
1049 'base/simd/filter_yuv_sse2.cc',
1048 ], 1050 ],
1049 }], 1051 }],
1050 ['OS!="linux" and OS!="win"', { 1052 ['OS!="linux" and OS!="win"', {
1051 'sources!': [ 1053 'sources!': [
1052 'base/keyboard_event_counter.cc', 1054 'base/keyboard_event_counter.cc',
1053 'base/keyboard_event_counter.h', 1055 'base/keyboard_event_counter.h',
1054 ], 1056 ],
1055 }], 1057 }],
1056 ['use_low_memory_buffer==1', { 1058 ['use_low_memory_buffer==1', {
1057 'sources': [ 1059 'sources': [
(...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after
1633 'base/simd/linear_scale_yuv_to_rgb_mmx.inc', 1635 'base/simd/linear_scale_yuv_to_rgb_mmx.inc',
1634 'base/simd/media_export.asm', 1636 'base/simd/media_export.asm',
1635 'base/simd/scale_yuv_to_rgb_mmx.inc', 1637 'base/simd/scale_yuv_to_rgb_mmx.inc',
1636 ], 1638 ],
1637 }, 1639 },
1638 'msvs_2010_disable_uldi_when_referenced': 1, 1640 'msvs_2010_disable_uldi_when_referenced': 1,
1639 'includes': [ 1641 'includes': [
1640 '../third_party/yasm/yasm_compile.gypi', 1642 '../third_party/yasm/yasm_compile.gypi',
1641 ], 1643 ],
1642 }, 1644 },
1643 {
1644 # GN version: //media/base:media_sse2
1645 'target_name': 'media_sse2',
1646 'type': 'static_library',
1647 'cflags': [
1648 '-msse2',
1649 ],
1650 'defines': [
1651 'MEDIA_IMPLEMENTATION',
1652 ],
1653 'include_dirs': [
1654 '..',
1655 ],
1656 'sources': [
1657 'base/simd/convert_rgb_to_yuv_sse2.cc',
1658 'base/simd/convert_rgb_to_yuv_ssse3.cc',
1659 'base/simd/filter_yuv_sse2.cc',
1660 ],
1661 },
1662 ], # targets 1645 ], # targets
1663 }], 1646 }],
1664 ['OS=="android"', { 1647 ['OS=="android"', {
1665 'targets': [ 1648 'targets': [
1666 { 1649 {
1667 # TODO(GN) 1650 # TODO(GN)
1668 'target_name': 'media_unittests_apk', 1651 'target_name': 'media_unittests_apk',
1669 'type': 'none', 1652 'type': 'none',
1670 'dependencies': [ 1653 'dependencies': [
1671 'media_java', 1654 'media_java',
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
1969 'dependencies': [ 1952 'dependencies': [
1970 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', 1953 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
1971 ], 1954 ],
1972 }], 1955 }],
1973 ], 1956 ],
1974 }, 1957 },
1975 ], 1958 ],
1976 }], 1959 }],
1977 ], 1960 ],
1978 } 1961 }
OLDNEW
« no previous file with comments | « media/base/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698