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

Side by Side Diff: base/base.gyp

Issue 1606393002: Revert of Reland of: Allow base to depend on allocator (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 | « base/allocator/allocator.gyp ('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 }, 8 },
9 'includes': [ 9 'includes': [
10 '../build/win_precompile.gypi', 10 '../build/win_precompile.gypi',
11 'base.gypi', 11 'base.gypi',
12 ], 12 ],
13 'targets': [ 13 'targets': [
14 { 14 {
15 'target_name': 'base', 15 'target_name': 'base',
16 'type': '<(component)', 16 'type': '<(component)',
17 'toolsets': ['host', 'target'], 17 'toolsets': ['host', 'target'],
18 'variables': { 18 'variables': {
19 'base_target': 1, 19 'base_target': 1,
20 'enable_wexit_time_destructors': 1, 20 'enable_wexit_time_destructors': 1,
21 'optimize': 'max', 21 'optimize': 'max',
22 }, 22 },
23 'dependencies': [ 23 'dependencies': [
24 'allocator/allocator.gyp:allocator',
25 'base_debugging_flags#target', 24 'base_debugging_flags#target',
26 'base_static', 25 'base_static',
27 '../testing/gtest.gyp:gtest_prod', 26 '../testing/gtest.gyp:gtest_prod',
28 '../third_party/modp_b64/modp_b64.gyp:modp_b64', 27 '../third_party/modp_b64/modp_b64.gyp:modp_b64',
29 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotat ions', 28 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotat ions',
30 ], 29 ],
31 # TODO(gregoryd): direct_dependent_settings should be shared with the 30 # TODO(gregoryd): direct_dependent_settings should be shared with the
32 # 64-bit target, but it doesn't work due to a bug in gyp 31 # 64-bit target, but it doesn't work due to a bug in gyp
33 'direct_dependent_settings': { 32 'direct_dependent_settings': {
34 'include_dirs': [ 33 'include_dirs': [
(...skipping 721 matching lines...) Expand 10 before | Expand all | Expand 10 after
756 }], 755 }],
757 ['use_ozone == 1', { 756 ['use_ozone == 1', {
758 'sources!': [ 757 'sources!': [
759 'message_loop/message_pump_glib_unittest.cc', 758 'message_loop/message_pump_glib_unittest.cc',
760 ] 759 ]
761 }], 760 }],
762 ['OS == "linux"', { 761 ['OS == "linux"', {
763 'dependencies': [ 762 'dependencies': [
764 'malloc_wrapper', 763 'malloc_wrapper',
765 ], 764 ],
766 }], 765 'conditions': [
766 ['use_allocator!="none"', {
767 'dependencies': [
768 'allocator/allocator.gyp:allocator',
769 ],
770 }],
771 ]},
772 ],
767 [ 'OS == "win" and target_arch == "x64"', { 773 [ 'OS == "win" and target_arch == "x64"', {
768 'sources': [ 774 'sources': [
769 'profiler/win32_stack_frame_unwinder_unittest.cc', 775 'profiler/win32_stack_frame_unwinder_unittest.cc',
770 ], 776 ],
771 'dependencies': [ 777 'dependencies': [
772 'base_profiler_test_support_library', 778 'base_profiler_test_support_library',
773 ], 779 ],
774 }], 780 }],
775 ['OS == "win"', { 781 ['OS == "win"', {
776 'sources!': [ 782 'sources!': [
777 'file_descriptor_shuffle_unittest.cc', 783 'file_descriptor_shuffle_unittest.cc',
778 'files/dir_reader_posix_unittest.cc', 784 'files/dir_reader_posix_unittest.cc',
779 'message_loop/message_pump_libevent_unittest.cc', 785 'message_loop/message_pump_libevent_unittest.cc',
780 'threading/worker_pool_posix_unittest.cc', 786 'threading/worker_pool_posix_unittest.cc',
781 ], 787 ],
782 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 788 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
783 'msvs_disabled_warnings': [ 789 'msvs_disabled_warnings': [
784 4267, 790 4267,
785 ], 791 ],
786 'conditions': [ 792 'conditions': [
793 # This is needed so base_unittests uses the allocator shim, as
794 # SecurityTest.MemoryAllocationRestriction* tests are dependent
795 # on tcmalloc.
796 # TODO(wfh): crbug.com/246278 Move tcmalloc specific tests into
797 # their own test suite.
798 ['win_use_allocator_shim==1', {
799 'dependencies': [
800 'allocator/allocator.gyp:allocator',
801 ],
802 }],
787 ['icu_use_data_file_flag==0', { 803 ['icu_use_data_file_flag==0', {
788 # This is needed to trigger the dll copy step on windows. 804 # This is needed to trigger the dll copy step on windows.
789 # TODO(mark): This should not be necessary. 805 # TODO(mark): This should not be necessary.
790 'dependencies': [ 806 'dependencies': [
791 '../third_party/icu/icu.gyp:icudata', 807 '../third_party/icu/icu.gyp:icudata',
792 ], 808 ],
793 }], 809 }],
794 ], 810 ],
795 }, { # OS != "win" 811 }, { # OS != "win"
796 'dependencies': [ 812 'dependencies': [
(...skipping 930 matching lines...) Expand 10 before | Expand all | Expand 10 after
1727 '../build/isolate.gypi', 1743 '../build/isolate.gypi',
1728 ], 1744 ],
1729 'sources': [ 1745 'sources': [
1730 'base_unittests.isolate', 1746 'base_unittests.isolate',
1731 ], 1747 ],
1732 }, 1748 },
1733 ], 1749 ],
1734 }], 1750 }],
1735 ], 1751 ],
1736 } 1752 }
OLDNEW
« no previous file with comments | « base/allocator/allocator.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698