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

Unified Diff: third_party/tcmalloc/chromium/src/base/linux_syscall_support.h

Issue 18314006: Enable DMP for system Chromium WebView on Android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: No need for another gyp variable Created 7 years, 5 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
Index: third_party/tcmalloc/chromium/src/base/linux_syscall_support.h
diff --git a/third_party/tcmalloc/chromium/src/base/linux_syscall_support.h b/third_party/tcmalloc/chromium/src/base/linux_syscall_support.h
index bdbc4b7e3bbfc023f9ea83c34cf59974ac09a068..6c3be701cd8d38643667304dd597df8f0b92983c 100644
--- a/third_party/tcmalloc/chromium/src/base/linux_syscall_support.h
+++ b/third_party/tcmalloc/chromium/src/base/linux_syscall_support.h
@@ -157,7 +157,9 @@ extern "C" {
#include <sys/types.h>
#if defined(__ANDROID__)
#include <sys/syscall.h>
-#include <sys/linux-syscalls.h>
+#ifndef ANDROID_NON_SDK_BUILD
+# include <sys/linux-syscalls.h>
+#endif
#else
#include <syscall.h>
#endif

Powered by Google App Engine
This is Rietveld 408576698