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

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: cleanup Created 4 years, 10 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 1325 matching lines...) Expand 10 before | Expand all | Expand 10 after
1336 'android_lint%': 1, 1336 'android_lint%': 1,
1337 1337
1338 # Although base/allocator lets you select a heap library via an 1338 # Although base/allocator lets you select a heap library via an
1339 # environment variable, the libcmt shim it uses sometimes gets in 1339 # environment variable, the libcmt shim it uses sometimes gets in
1340 # the way. To disable it entirely, and switch to normal msvcrt, do e.g. 1340 # the way. To disable it entirely, and switch to normal msvcrt, do e.g.
1341 # 'win_use_allocator_shim': 0, 1341 # 'win_use_allocator_shim': 0,
1342 # 'win_release_RuntimeLibrary': 2 1342 # 'win_release_RuntimeLibrary': 2
1343 # to ~/.gyp/include.gypi, gclient runhooks --force, and do a release build. 1343 # to ~/.gyp/include.gypi, gclient runhooks --force, and do a release build.
1344 'win_use_allocator_shim%': 1, # 1 = shim allocator via libcmt; 0 = msvcrt 1344 'win_use_allocator_shim%': 1, # 1 = shim allocator via libcmt; 0 = msvcrt
1345 1345
1346 # Enables the unified allocator shim (experimental) which routes all the
1347 # alloc calls to base/. Right now is supported on Linux Desktop only.
1348 # http://crbug.com/550886 .
1349 'use_experimental_allocator_shim%': 0,
1350
1346 # TODO(bradnelson): eliminate this when possible. 1351 # TODO(bradnelson): eliminate this when possible.
1347 # To allow local gyp files to prevent release.vsprops from being included. 1352 # To allow local gyp files to prevent release.vsprops from being included.
1348 # Yes(1) means include release.vsprops. 1353 # Yes(1) means include release.vsprops.
1349 # Once all vsprops settings are migrated into gyp, this can go away. 1354 # Once all vsprops settings are migrated into gyp, this can go away.
1350 'msvs_use_common_release%': 1, 1355 'msvs_use_common_release%': 1,
1351 1356
1352 # TODO(bradnelson): eliminate this when possible. 1357 # TODO(bradnelson): eliminate this when possible.
1353 # To allow local gyp files to override additional linker options for msvs. 1358 # To allow local gyp files to override additional linker options for msvs.
1354 # Yes(1) means set use the common linker options. 1359 # Yes(1) means set use the common linker options.
1355 'msvs_use_common_linker_extras%': 1, 1360 'msvs_use_common_linker_extras%': 1,
(...skipping 5028 matching lines...) Expand 10 before | Expand all | Expand 10 after
6384 # settings in target dicts. SYMROOT is a special case, because many other 6389 # settings in target dicts. SYMROOT is a special case, because many other
6385 # Xcode variables depend on it, including variables such as 6390 # Xcode variables depend on it, including variables such as
6386 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 6391 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
6387 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 6392 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
6388 # files to appear (when present) in the UI as actual files and not red 6393 # files to appear (when present) in the UI as actual files and not red
6389 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 6394 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
6390 # and therefore SYMROOT, needs to be set at the project level. 6395 # and therefore SYMROOT, needs to be set at the project level.
6391 'SYMROOT': '<(DEPTH)/xcodebuild', 6396 'SYMROOT': '<(DEPTH)/xcodebuild',
6392 }, 6397 },
6393 } 6398 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698