Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: abb-build/build.py

Issue 29631219: Issue 4105 - [build] Make it possible to build arbitrary ABB revisions (Closed)
Patch Set: Created Dec. 5, 2017, 3:04 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | abb-build/dependencies » ('j') | dependencies » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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"
« no previous file with comments | « no previous file | abb-build/dependencies » ('j') | dependencies » ('J')

Powered by Google App Engine
This is Rietveld