Index: build/android/pylib/constants.py |
diff --git a/build/android/pylib/constants.py b/build/android/pylib/constants.py |
index bf35fff6e7b7c9f9b454f2972301d244ddcbf2ff..7d9335034bf55e89dc0134a79b2ccf44b6da6a4d 100644 |
--- a/build/android/pylib/constants.py |
+++ b/build/android/pylib/constants.py |
@@ -14,7 +14,6 @@ DIR_SOURCE_ROOT = os.path.abspath(os.path.join(os.path.dirname(__file__), |
ISOLATE_DEPS_DIR = os.path.join(DIR_SOURCE_ROOT, 'isolate_deps_dir') |
EMULATOR_SDK_ROOT = os.path.abspath(os.path.join(DIR_SOURCE_ROOT, os.pardir, |
os.pardir)) |
- |
CHROME_PACKAGE = 'com.google.android.apps.chrome' |
CHROME_ACTIVITY = 'com.google.android.apps.chrome.Main' |
CHROME_DEVTOOLS_SOCKET = 'chrome_devtools_remote' |
@@ -94,6 +93,12 @@ def SetBuildType(build_type): |
os.environ['BUILDTYPE'] = build_type |
+def GetCoverageDir(build_type=None): |
+ if not build_type: |
+ build_type = GetBuildType() |
+ return os.path.join(DIR_SOURCE_ROOT, 'out', build_type, 'coverage') |
+ |
+ |
def _GetADBPath(): |
if os.environ.get('ANDROID_SDK_ROOT'): |
return 'adb' |