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

Unified Diff: build/android/pylib/constants.py

Issue 52833002: Purge unpinned ashmem before parsing /proc/$pid/smaps. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Digit and Tony's comments Created 7 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
Index: build/android/pylib/constants.py
diff --git a/build/android/pylib/constants.py b/build/android/pylib/constants.py
index 2eeb3a31be273af1877711d75c2415d01c7acc54..2620ad4ea96c0726351a929383f2ac8d7fbd348d 100644
--- a/build/android/pylib/constants.py
+++ b/build/android/pylib/constants.py
@@ -129,6 +129,9 @@ EMULATOR_SDK_ROOT = os.path.join(DIR_SOURCE_ROOT, 'android_emulator_sdk')
UPSTREAM_FLAKINESS_SERVER = 'test-results.appspot.com'
+def BuildTypeIsSet():
+ return 'BUILDTYPE' in os.environ
+
def GetBuildType():
try:
return os.environ['BUILDTYPE']

Powered by Google App Engine
This is Rietveld 408576698