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

Unified Diff: base/BUILD.gn

Issue 2902043007: allocator: rename use_experimental_allocator_shim to use_allocator_shim (Closed)
Patch Set: Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | base/allocator/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/BUILD.gn
diff --git a/base/BUILD.gn b/base/BUILD.gn
index 82e9c8ab987551da3731838b09493b4708c48eae..a6c8e51ebee1765526b3964e014186bc0e74785a 100644
--- a/base/BUILD.gn
+++ b/base/BUILD.gn
@@ -40,7 +40,7 @@ declare_args() {
# Turn on memory profiling in the task profiler when the heap shim is
# available. Profiling can then be enabled at runtime by passing the command
# line flag --enable-heap-profiling=task-profiler.
- enable_memory_task_profiler = use_experimental_allocator_shim
+ enable_memory_task_profiler = use_allocator_shim
# Partition alloc is included by default except iOS.
use_partition_alloc = !is_ios
@@ -1147,9 +1147,7 @@ component("base") {
libs = [ "atomic" ]
}
- if (use_experimental_allocator_shim) {
- # TODO(primiano): support other platforms, currently this works only on
- # Linux/CrOS/Android. http://crbug.com/550886 .
+ if (use_allocator_shim) {
sources += [
"allocator/allocator_shim.cc",
"allocator/allocator_shim.h",
@@ -2402,7 +2400,7 @@ test("base_unittests") {
}
}
- if (use_experimental_allocator_shim) {
+ if (use_allocator_shim) {
sources += [ "allocator/allocator_shim_unittest.cc" ]
}
« no previous file with comments | « no previous file | base/allocator/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698