| Index: build.py |
| =================================================================== |
| --- a/build.py |
| +++ b/build.py |
| @@ -3,6 +3,7 @@ |
| import glob |
| import json |
| import os |
| +import re |
| import shutil |
| import string |
| import subprocess |
| @@ -82,6 +83,10 @@ |
| manifest["moz_app_version"], manifest["buildid"]) |
| target_apk_path = os.path.join(DIST_PATH, target_apk_name) |
| shutil.copyfile(apk_path, target_apk_path) |
| + |
| + target_manifest_path = re.sub(r".apk$", ".json", target_apk_path) |
| + shutil.copyfile(manifest_path, target_manifest_path) |
| + |
| return target_apk_path |
| def sign(apk_path, key_store, key_name): |