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

Side by Side Diff: base/base.gyp

Issue 1675143004: Allocator shim skeleton + Linux impl behind a build flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@shim_exp_flag
Patch Set: Make self the 1st arg Created 4 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
« no previous file with comments | « base/allocator/allocator_shim_unittest.cc ('k') | base/process/memory_linux.cc » ('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 }, 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', 24 'allocator/allocator.gyp:allocator',
25 'allocator/allocator.gyp:allocator_features',
25 'base_debugging_flags#target', 26 'base_debugging_flags#target',
26 'base_static', 27 'base_static',
27 'base_build_date#target', 28 'base_build_date#target',
28 '../testing/gtest.gyp:gtest_prod', 29 '../testing/gtest.gyp:gtest_prod',
29 '../third_party/modp_b64/modp_b64.gyp:modp_b64', 30 '../third_party/modp_b64/modp_b64.gyp:modp_b64',
30 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotat ions', 31 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotat ions',
31 ], 32 ],
32 # TODO(gregoryd): direct_dependent_settings should be shared with the 33 # TODO(gregoryd): direct_dependent_settings should be shared with the
33 # 64-bit target, but it doesn't work due to a bug in gyp 34 # 64-bit target, but it doesn't work due to a bug in gyp
34 'direct_dependent_settings': { 35 'direct_dependent_settings': {
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 ], 229 ],
229 }], 230 }],
230 ], 231 ],
231 }], 232 }],
232 ['OS=="ios"', { 233 ['OS=="ios"', {
233 'sources!': [ 234 'sources!': [
234 'sync_socket.h', 235 'sync_socket.h',
235 'sync_socket_posix.cc', 236 'sync_socket_posix.cc',
236 ] 237 ]
237 }], 238 }],
239 ['use_experimental_allocator_shim==1', {
240 'dependencies': [ 'allocator/allocator.gyp:unified_allocator_shim']
241 }],
238 ], 242 ],
239 'sources': [ 243 'sources': [
240 'auto_reset.h', 244 'auto_reset.h',
241 'linux_util.cc', 245 'linux_util.cc',
242 'linux_util.h', 246 'linux_util.h',
243 'message_loop/message_pump_android.cc', 247 'message_loop/message_pump_android.cc',
244 'message_loop/message_pump_android.h', 248 'message_loop/message_pump_android.h',
245 'message_loop/message_pump_glib.cc', 249 'message_loop/message_pump_glib.cc',
246 'message_loop/message_pump_glib.h', 250 'message_loop/message_pump_glib.h',
247 'message_loop/message_pump_io_ios.cc', 251 'message_loop/message_pump_io_ios.cc',
(...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after
712 'dependencies': [ 716 'dependencies': [
713 '../third_party/icu/icu.gyp:icudata', 717 '../third_party/icu/icu.gyp:icudata',
714 ], 718 ],
715 }], 719 }],
716 ], 720 ],
717 }, { # OS != "win" 721 }, { # OS != "win"
718 'dependencies': [ 722 'dependencies': [
719 'third_party/libevent/libevent.gyp:libevent' 723 'third_party/libevent/libevent.gyp:libevent'
720 ], 724 ],
721 }], 725 }],
726 ['use_experimental_allocator_shim==1', {
727 'sources': [ 'allocator/allocator_shim_unittest.cc']
728 }],
722 ], # conditions 729 ], # conditions
723 'target_conditions': [ 730 'target_conditions': [
724 ['OS == "ios" and _toolset != "host"', { 731 ['OS == "ios" and _toolset != "host"', {
725 'sources/': [ 732 'sources/': [
726 # Pull in specific Mac files for iOS (which have been filtered out 733 # Pull in specific Mac files for iOS (which have been filtered out
727 # by file name rules). 734 # by file name rules).
728 ['include', '^mac/bind_objc_block_unittest\\.mm$'], 735 ['include', '^mac/bind_objc_block_unittest\\.mm$'],
729 ['include', '^mac/foundation_util_unittest\\.mm$',], 736 ['include', '^mac/foundation_util_unittest\\.mm$',],
730 ['include', '^mac/objc_property_releaser_unittest\\.mm$'], 737 ['include', '^mac/objc_property_releaser_unittest\\.mm$'],
731 ['include', '^mac/scoped_nsobject_unittest\\.mm$'], 738 ['include', '^mac/scoped_nsobject_unittest\\.mm$'],
(...skipping 952 matching lines...) Expand 10 before | Expand all | Expand 10 after
1684 '../build/isolate.gypi', 1691 '../build/isolate.gypi',
1685 ], 1692 ],
1686 'sources': [ 1693 'sources': [
1687 'base_unittests.isolate', 1694 'base_unittests.isolate',
1688 ], 1695 ],
1689 }, 1696 },
1690 ], 1697 ],
1691 }], 1698 }],
1692 ], 1699 ],
1693 } 1700 }
OLDNEW
« no previous file with comments | « base/allocator/allocator_shim_unittest.cc ('k') | base/process/memory_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698