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

Unified Diff: build/android/envsetup_functions.sh

Issue 18314006: Enable DMP for system Chromium WebView on Android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Ready for a review 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: build/android/envsetup_functions.sh
diff --git a/build/android/envsetup_functions.sh b/build/android/envsetup_functions.sh
index 55f7b55de87642be2bd5aba2dcb9a6c8429a28b6..d7eb8561f92661f0b42de2cf30af2a90827a21ab 100755
--- a/build/android/envsetup_functions.sh
+++ b/build/android/envsetup_functions.sh
@@ -297,6 +297,11 @@ ${ANDROID_SDK_VERSION}
DEFINES+=" android_sdk_tools=\$(PWD)/${ANDROID_SDK_TOOLS}"
DEFINES+=" android_sdk_version=${ANDROID_SDK_VERSION}"
DEFINES+=" android_toolchain=${ANDROID_TOOLCHAIN}"
+ if [[ -n "$CHROME_ANDROID_WEBVIEW_ENABLE_DMP" ]]; then
+ DEFINES+=" disable_debugallocation=1"
+ DEFINES+=" android_full_debug=1"
+ DEFINES+=" android_use_tcmalloc=1"
+ fi
export GYP_DEFINES="${DEFINES}"
export GYP_GENERATORS="android"

Powered by Google App Engine
This is Rietveld 408576698