Index: build/android/devil/android/apk_helper.py |
diff --git a/build/android/devil/android/apk_helper.py b/build/android/devil/android/apk_helper.py |
index 7d2740adabe8c5058a1d06cb4f5c2722d9c92717..27a7ed4140f12d40b6707c11da27f0364530cc83 100644 |
--- a/build/android/devil/android/apk_helper.py |
+++ b/build/android/devil/android/apk_helper.py |
@@ -4,11 +4,14 @@ |
"""Module containing utilities for apk packages.""" |
+import os.path |
import re |
from devil.android.sdk import aapt |
+from pylib import constants |
+_AAPT_PATH = os.path.join(constants.ANDROID_SDK_TOOLS, 'aapt') |
_MANIFEST_ATTRIBUTE_RE = re.compile( |
r'\s*A: ([^\(\)= ]*)\([^\(\)= ]*\)=(?:"(.*)" \(Raw: .*\)|\(type.*?\)(.*))$') |
_MANIFEST_ELEMENT_RE = re.compile(r'\s*(?:E|N): (\S*) .*$') |