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

Side by Side Diff: build/common.gypi

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: rebase 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
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 # IMPORTANT: 5 # IMPORTANT:
6 # Please don't directly include this file if you are building via gyp_chromium, 6 # Please don't directly include this file if you are building via gyp_chromium,
7 # since gyp_chromium is automatically forcing its inclusion. 7 # since gyp_chromium is automatically forcing its inclusion.
8 { 8 {
9 # Variables expected to be overriden on the GYP command line (-D) or by 9 # Variables expected to be overriden on the GYP command line (-D) or by
10 # ~/.gyp/include.gypi. 10 # ~/.gyp/include.gypi.
(...skipping 1321 matching lines...) Expand 10 before | Expand all | Expand 10 after
1332 'android_lint%': 1, 1332 'android_lint%': 1,
1333 1333
1334 # Although base/allocator lets you select a heap library via an 1334 # Although base/allocator lets you select a heap library via an
1335 # environment variable, the libcmt shim it uses sometimes gets in 1335 # environment variable, the libcmt shim it uses sometimes gets in
1336 # the way. To disable it entirely, and switch to normal msvcrt, do e.g. 1336 # the way. To disable it entirely, and switch to normal msvcrt, do e.g.
1337 # 'win_use_allocator_shim': 0, 1337 # 'win_use_allocator_shim': 0,
1338 # 'win_release_RuntimeLibrary': 2 1338 # 'win_release_RuntimeLibrary': 2
1339 # to ~/.gyp/include.gypi, gclient runhooks --force, and do a release build. 1339 # to ~/.gyp/include.gypi, gclient runhooks --force, and do a release build.
1340 'win_use_allocator_shim%': 1, # 1 = shim allocator via libcmt; 0 = msvcrt 1340 'win_use_allocator_shim%': 1, # 1 = shim allocator via libcmt; 0 = msvcrt
1341 1341
1342 # Enables the unified allocator shim (experimental) which routes all the
1343 # alloc calls to base/. Right now is supported on Linux Desktop only.
1344 # http://crbug.com/550886 .
1345 'use_experimental_allocator_shim%': 0,
1346
1342 # TODO(bradnelson): eliminate this when possible. 1347 # TODO(bradnelson): eliminate this when possible.
1343 # To allow local gyp files to prevent release.vsprops from being included. 1348 # To allow local gyp files to prevent release.vsprops from being included.
1344 # Yes(1) means include release.vsprops. 1349 # Yes(1) means include release.vsprops.
1345 # Once all vsprops settings are migrated into gyp, this can go away. 1350 # Once all vsprops settings are migrated into gyp, this can go away.
1346 'msvs_use_common_release%': 1, 1351 'msvs_use_common_release%': 1,
1347 1352
1348 # TODO(bradnelson): eliminate this when possible. 1353 # TODO(bradnelson): eliminate this when possible.
1349 # To allow local gyp files to override additional linker options for msvs. 1354 # To allow local gyp files to override additional linker options for msvs.
1350 # Yes(1) means set use the common linker options. 1355 # Yes(1) means set use the common linker options.
1351 'msvs_use_common_linker_extras%': 1, 1356 'msvs_use_common_linker_extras%': 1,
(...skipping 5001 matching lines...) Expand 10 before | Expand all | Expand 10 after
6353 # settings in target dicts. SYMROOT is a special case, because many other 6358 # settings in target dicts. SYMROOT is a special case, because many other
6354 # Xcode variables depend on it, including variables such as 6359 # Xcode variables depend on it, including variables such as
6355 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 6360 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
6356 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 6361 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
6357 # files to appear (when present) in the UI as actual files and not red 6362 # files to appear (when present) in the UI as actual files and not red
6358 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 6363 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
6359 # and therefore SYMROOT, needs to be set at the project level. 6364 # and therefore SYMROOT, needs to be set at the project level.
6360 'SYMROOT': '<(DEPTH)/xcodebuild', 6365 'SYMROOT': '<(DEPTH)/xcodebuild',
6361 }, 6366 },
6362 } 6367 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698