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

Side by Side Diff: base/allocator/allocator.gyp

Issue 1794943006: Make the allocator_features gyp target target-only (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . 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 | « no previous file | base/base.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 'target_defaults': { 6 'target_defaults': {
7 'variables': { 7 'variables': {
8 # This code gets run a lot and debugged rarely, so it should be fast 8 # This code gets run a lot and debugged rarely, so it should be fast
9 # by default. See http://crbug.com/388949. 9 # by default. See http://crbug.com/388949.
10 'debug_optimize': '2', 10 'debug_optimize': '2',
(...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 'target_conditions' : [ 373 'target_conditions' : [
374 ['_toolset=="target"', { 374 ['_toolset=="target"', {
375 'cflags!': [ '-finstrument-functions' ], 375 'cflags!': [ '-finstrument-functions' ],
376 }], 376 }],
377 ], 377 ],
378 }], 378 }],
379 ], # conditions of 'allocator' target. 379 ], # conditions of 'allocator' target.
380 }, # 'allocator' target. 380 }, # 'allocator' target.
381 { 381 {
382 # GN: //base/allocator:features 382 # GN: //base/allocator:features
383 # When referenced from a target that might be compiled in the host
384 # toolchain, always refer to 'allocator_features#target'.
383 'target_name': 'allocator_features', 385 'target_name': 'allocator_features',
384 'includes': [ '../../build/buildflag_header.gypi' ], 386 'includes': [ '../../build/buildflag_header.gypi' ],
385 'toolsets': ['host', 'target'],
386 'variables': { 387 'variables': {
387 'buildflag_header_path': 'base/allocator/features.h', 388 'buildflag_header_path': 'base/allocator/features.h',
388 'buildflag_flags': [ 389 'buildflag_flags': [
389 'USE_EXPERIMENTAL_ALLOCATOR_SHIM=<(use_experimental_allocator_shim)', 390 'USE_EXPERIMENTAL_ALLOCATOR_SHIM=<(use_experimental_allocator_shim)',
390 ], 391 ],
391 }, 392 },
392 }, # 'allocator_features' target. 393 }, # 'allocator_features' target.
393 ], # targets. 394 ], # targets.
394 'conditions': [ 395 'conditions': [
395 ['OS=="win" and win_use_allocator_shim==1', { 396 ['OS=="win" and win_use_allocator_shim==1', {
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
448 'sources': [ 449 'sources': [
449 'allocator_shim_default_dispatch_to_glibc.cc', 450 'allocator_shim_default_dispatch_to_glibc.cc',
450 ], 451 ],
451 }], 452 }],
452 ] 453 ]
453 }, # 'unified_allocator_shim' target. 454 }, # 'unified_allocator_shim' target.
454 ], 455 ],
455 }] 456 }]
456 ], 457 ],
457 } 458 }
OLDNEW
« no previous file with comments | « no previous file | base/base.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698