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

Side by Side Diff: media/media.gyp

Issue 177353002: Add use_allocator instead of linux_use_tcmalloc to switch the allocator. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 6 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « ipc/ipc.gyp ('k') | net/net.gyp » ('j') | 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 1056 matching lines...) Expand 10 before | Expand all | Expand 10 after
1067 'USE_ALSA', 1067 'USE_ALSA',
1068 ], 1068 ],
1069 }], 1069 }],
1070 ['use_pulseaudio==1', { 1070 ['use_pulseaudio==1', {
1071 'defines': [ 1071 'defines': [
1072 'USE_PULSEAUDIO', 1072 'USE_PULSEAUDIO',
1073 ], 1073 ],
1074 }], 1074 }],
1075 ['os_posix==1 and OS!="mac"', { 1075 ['os_posix==1 and OS!="mac"', {
1076 'conditions': [ 1076 'conditions': [
1077 ['linux_use_tcmalloc==1', { 1077 # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554
1078 ['(use_allocator!="none" and use_allocator!="see_use_tcmalloc") or ( use_allocator=="see_use_tcmalloc" and linux_use_tcmalloc==1)', {
1078 'dependencies': [ 1079 'dependencies': [
1079 '../base/allocator/allocator.gyp:allocator', 1080 '../base/allocator/allocator.gyp:allocator',
1080 ], 1081 ],
1081 }], 1082 }],
1082 ], 1083 ],
1083 }], 1084 }],
1084 ['OS=="android"', { 1085 ['OS=="android"', {
1085 'sources!': [ 1086 'sources!': [
1086 'audio/audio_input_volume_unittest.cc', 1087 'audio/audio_input_volume_unittest.cc',
1087 'base/container_names_unittest.cc', 1088 'base/container_names_unittest.cc',
(...skipping 545 matching lines...) Expand 10 before | Expand all | Expand 10 after
1633 'conditions': [ 1634 'conditions': [
1634 ['toolkit_uses_gtk==1', { 1635 ['toolkit_uses_gtk==1', {
1635 'dependencies': [ 1636 'dependencies': [
1636 # Needed for the following #include chain: 1637 # Needed for the following #include chain:
1637 # base/run_all_unittests.cc 1638 # base/run_all_unittests.cc
1638 # ../base/test_suite.h 1639 # ../base/test_suite.h
1639 # gtk/gtk.h 1640 # gtk/gtk.h
1640 '../build/linux/system.gyp:gtk', 1641 '../build/linux/system.gyp:gtk',
1641 ], 1642 ],
1642 'conditions': [ 1643 'conditions': [
1643 ['linux_use_tcmalloc==1', { 1644 # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345 554
1645 ['(use_allocator!="none" and use_allocator!="see_use_tcmalloc") or (use_allocator=="see_use_tcmalloc" and linux_use_tcmalloc==1)', {
1644 'dependencies': [ 1646 'dependencies': [
1645 '../base/allocator/allocator.gyp:allocator', 1647 '../base/allocator/allocator.gyp:allocator',
1646 ], 1648 ],
1647 }], 1649 }],
1648 ], 1650 ],
1649 }], 1651 }],
1650 ], 1652 ],
1651 }, 1653 },
1652 { 1654 {
1653 'target_name': 'ffmpeg_regression_tests', 1655 'target_name': 'ffmpeg_regression_tests',
1654 'type': 'executable', 1656 'type': 'executable',
1655 'dependencies': [ 1657 'dependencies': [
1656 '../base/base.gyp:test_support_base', 1658 '../base/base.gyp:test_support_base',
1657 '../testing/gmock.gyp:gmock', 1659 '../testing/gmock.gyp:gmock',
1658 '../testing/gtest.gyp:gtest', 1660 '../testing/gtest.gyp:gtest',
1659 '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg', 1661 '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg',
1660 'media', 1662 'media',
1661 'media_test_support', 1663 'media_test_support',
1662 ], 1664 ],
1663 'sources': [ 1665 'sources': [
1664 'base/run_all_unittests.cc', 1666 'base/run_all_unittests.cc',
1665 'ffmpeg/ffmpeg_regression_tests.cc', 1667 'ffmpeg/ffmpeg_regression_tests.cc',
1666 'filters/pipeline_integration_test_base.cc', 1668 'filters/pipeline_integration_test_base.cc',
1667 ], 1669 ],
1668 'conditions': [ 1670 'conditions': [
1669 ['os_posix==1 and OS!="mac"', { 1671 ['os_posix==1 and OS!="mac"', {
1670 'conditions': [ 1672 'conditions': [
1671 ['linux_use_tcmalloc==1', { 1673 # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345 554
1674 ['(use_allocator!="none" and use_allocator!="see_use_tcmalloc") or (use_allocator=="see_use_tcmalloc" and linux_use_tcmalloc==1)', {
1672 'dependencies': [ 1675 'dependencies': [
1673 '../base/allocator/allocator.gyp:allocator', 1676 '../base/allocator/allocator.gyp:allocator',
1674 ], 1677 ],
1675 }], 1678 }],
1676 ], 1679 ],
1677 }], 1680 }],
1678 ], 1681 ],
1679 }, 1682 },
1680 ], 1683 ],
1681 }], 1684 }],
1682 ], 1685 ],
1683 } 1686 }
OLDNEW
« no previous file with comments | « ipc/ipc.gyp ('k') | net/net.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698