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

Unified Diff: runtime/BUILD.gn

Issue 2829833003: [Fuchsia] Grab the number of malloc'd bytes from jemalloc (Closed)
Patch Set: Fix guards Created 3 years, 8 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 | runtime/vm/flag_list.h » ('j') | runtime/vm/malloc_hooks_jemalloc.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/BUILD.gn
diff --git a/runtime/BUILD.gn b/runtime/BUILD.gn
index 852362a4df008277130464b18ccdd3e8edb5279e..29600f8036067a9176037ce695c869ed406d7cec 100644
--- a/runtime/BUILD.gn
+++ b/runtime/BUILD.gn
@@ -135,6 +135,11 @@ config("dart_config") {
include_dirs += [ "../third_party/tcmalloc/gperftools/src" ]
}
+ if (defined(is_fuchsia) && is_fuchsia) {
+ defines += [ "DART_USE_JEMALLOC" ]
+ include_dirs += [ "//magenta/third_party/ulib/jemalloc/include" ]
+ }
+
if (!is_win) {
cflags = [
"-Werror",
« no previous file with comments | « no previous file | runtime/vm/flag_list.h » ('j') | runtime/vm/malloc_hooks_jemalloc.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698