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

Unified Diff: third_party/tcmalloc/tcmalloc.gypi

Issue 2347823005: Fix standalone VM build for Android for tcmalloc. (Closed)
Patch Set: Created 4 years, 3 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 | « third_party/tcmalloc/include/config.h ('k') | tools/gyp/configurations_android.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/tcmalloc/tcmalloc.gypi
diff --git a/third_party/tcmalloc/tcmalloc.gypi b/third_party/tcmalloc/tcmalloc.gypi
index fdfd186b608b6c41f50f63e380647f6f4591fc16..c8e20fe7bb92d922f743c5989906379889adf51e 100644
--- a/third_party/tcmalloc/tcmalloc.gypi
+++ b/third_party/tcmalloc/tcmalloc.gypi
@@ -65,17 +65,22 @@
'-fno-builtin-posix_memalign',
'-fno-builtin-valloc',
'-fno-builtin-pvalloc',
+ '-fpermissive',
],
'cflags!': [
'-Werror',
'-Wvla',
],
'link_settings': {
- 'ldflags': [
- # Don't let linker rip this symbol out, otherwise the heap&cpu
- # profilers will not initialize properly on startup.
- '-Wl,-uIsHeapProfilerRunning,-uProfilerStart',
- ],
+ 'configurations': {
+ 'Dart_Linux_Base': {
+ 'ldflags': [
+ # Don't let linker rip this symbol out, otherwise the heap&cpu
+ # profilers will not initialize properly on startup.
+ '-Wl,-uIsHeapProfilerRunning,-uProfilerStart',
+ ],
+ },
+ },
},
'sources!': [
# No debug allocator.
« no previous file with comments | « third_party/tcmalloc/include/config.h ('k') | tools/gyp/configurations_android.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698