Index: abb-build/build.py |
=================================================================== |
--- a/abb-build/build.py |
+++ b/abb-build/build.py |
@@ -21,28 +21,29 @@ import os |
import re |
import shutil |
import string |
import subprocess |
import sys |
import tempfile |
_BASE_DIR = os.path.dirname(os.path.abspath(__file__)) |
-_ENSURE_DEPENDENCIES_PATH = os.path.join(_BASE_DIR, "ensure_dependencies.py") |
+_ABB_PATH = os.path.normpath(os.path.join(_BASE_DIR, "..")) |
+_ENSURE_DEPENDENCIES_PATH = os.path.join(_ABB_PATH, "ensure_dependencies.py") |
_GENERATED_PATH = os.path.join(_BASE_DIR, "generated") |
_GENERATED_MOZCONFIG_PATH = os.path.join(_GENERATED_PATH, "mozconfig") |
_MOZCONFIG_COMMON_PATH = os.path.join(_BASE_DIR, "mozconfig-common") |
_MOZCONFIG_ARM_PATH = os.path.join(_BASE_DIR, "mozconfig-arm") |
_MOZCONFIG_X86_PATH = os.path.join(_BASE_DIR, "mozconfig-x86") |
_MOZCONFIG_STORE_PATH = os.path.join(_BASE_DIR, "mozconfig-store") |
_MOZCONFIG_RELEASE_PATH = os.path.join(_BASE_DIR, "mozconfig-release") |
_MOZCONFIG_CUSTOM_PATH = os.path.join(_BASE_DIR, "mozconfig-custom") |
_MULTI_L10N_PATH = os.path.join(_BASE_DIR, "mozharness", "scripts", |
"multil10n.py") |
-_ABB_PATH = os.path.normpath(os.path.join(_BASE_DIR, "..")) |
+ |
_CMD_BUILD = "build" |
_CMD_SIGN = "sign" |
_CMD_BUILD_SIGN = "build-and-sign" |
_ARCH_ARM = "arm" |
_ARCH_X86 = "x86" |
_ARCH_X86_I386 = "i386" |
_ARCHS = (_ARCH_ARM, _ARCH_X86) |
_DIST_STANDALONE = "standalone" |