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

Unified Diff: base/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 | « no previous file | base/allocator/allocator_shim.h » ('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 a3e3205eae9f137c15c774fdff736a88124201f8..d89ffdfe31a66a83a15ce66ccc3e0c7115b8924a 100644
--- a/base/BUILD.gn
+++ b/base/BUILD.gn
@@ -899,6 +899,7 @@ component("base") {
"trace_event/blame_context.cc",
"trace_event/blame_context.h",
"trace_event/common/trace_event_common.h",
+ "trace_event/estimate_memory_usage.h",
"trace_event/heap_profiler.h",
"trace_event/heap_profiler_allocation_context.cc",
"trace_event/heap_profiler_allocation_context.h",
@@ -2141,7 +2142,10 @@ test("base_unittests") {
}
if (use_experimental_allocator_shim) {
- sources += [ "allocator/allocator_shim_unittest.cc" ]
+ sources += [
+ "allocator/allocator_shim_unittest.cc",
+ "trace_event/estimate_memory_usage_unittest.cc",
+ ]
}
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
« no previous file with comments | « no previous file | base/allocator/allocator_shim.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698