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

Unified Diff: base/test/BUILD.gn

Issue 2440393002: [tracing] Implement composable memory usage estimators. (Closed)
Patch Set: Rebase Created 4 years, 1 month 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 | « base/allocator/allocator_shim.h ('k') | base/test/scoped_memory_usage.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/BUILD.gn
diff --git a/base/test/BUILD.gn b/base/test/BUILD.gn
index 788494ff6d86e148ff551ee5790511a3b77c542b..60a0550e7f6f5be59d2a2aafb82bbaf96ef9c0c7 100644
--- a/base/test/BUILD.gn
+++ b/base/test/BUILD.gn
@@ -2,6 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("//build/config/allocator.gni")
import("//build/config/ui.gni")
import("//build/config/nacl/config.gni")
@@ -75,6 +76,8 @@ static_library("test_support") {
"scoped_feature_list.h",
"scoped_locale.cc",
"scoped_locale.h",
+ "scoped_memory_usage.cc",
+ "scoped_memory_usage.h",
"scoped_path_override.cc",
"scoped_path_override.h",
"sequenced_task_runner_test_template.cc",
@@ -176,6 +179,13 @@ static_library("test_support") {
]
}
+ if (!use_experimental_allocator_shim) {
+ sources -= [
+ "scoped_memory_usage.cc",
+ "scoped_memory_usage.h",
+ ]
+ }
+
if (is_ios) {
set_sources_assignment_filter([])
sources += [ "test_file_util_mac.cc" ]
« no previous file with comments | « base/allocator/allocator_shim.h ('k') | base/test/scoped_memory_usage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698