Bug 1261045: remove unused MOZ_SYMBOLS_EXTRA_BUILDID; r=ted.mielczarek

MozReview-Commit-ID: 6vX87lAGxF6

--HG--
extra : rebase_source : 119cd9bdbf1883523da804a66b24c9629470a6c5
This commit is contained in:
Dustin J. Mitchell 2016-04-01 13:31:02 +00:00
Родитель 40394ef9d9
Коммит 3c0460b85b
12 изменённых файлов: 1 добавлений и 44 удалений

Просмотреть файл

@ -279,12 +279,8 @@ SYM_STORE_SOURCE_DIRS := $(topsrcdir)
include $(topsrcdir)/toolkit/mozapps/installer/package-name.mk
ifdef MOZ_SYMBOLS_EXTRA_BUILDID
EXTRA_BUILDID := -$(MOZ_SYMBOLS_EXTRA_BUILDID)
endif
SYMBOL_INDEX_NAME = \
$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)-$(OS_TARGET)-$(BUILDID)-$(CPU_ARCH)$(EXTRA_BUILDID)-symbols.txt
$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)-$(OS_TARGET)-$(BUILDID)-$(CPU_ARCH)-symbols.txt
buildsymbols:
ifdef MOZ_CRASHREPORTER

Просмотреть файл

@ -34,7 +34,6 @@ config = {
"repo_path": 'mozilla-central',
"update_channel": "nightly",
"graph_server_branch_name": "Firefox",
'use_branch_in_symbols_extra_buildid': False,
'stage_server': 'upload.ffxbld.productdelivery.prod.mozaws.net',
},
'mozilla-release': {
@ -42,7 +41,6 @@ config = {
'repo_path': 'releases/mozilla-release',
'update_channel': 'release',
'branch_uses_per_checkin_strategy': True,
'use_branch_in_symbols_extra_buildid': False,
'stage_server': 'upload.ffxbld.productdelivery.prod.mozaws.net',
'platform_overrides': {
'linux': {
@ -112,7 +110,6 @@ config = {
'repo_path': 'releases/mozilla-beta',
'update_channel': 'beta',
'branch_uses_per_checkin_strategy': True,
'use_branch_in_symbols_extra_buildid': False,
'stage_server': 'upload.ffxbld.productdelivery.prod.mozaws.net',
'platform_overrides': {
'linux': {
@ -181,7 +178,6 @@ config = {
'repo_path': 'releases/mozilla-aurora',
'update_channel': 'aurora',
'branch_uses_per_checkin_strategy': True,
'use_branch_in_symbols_extra_buildid': False,
'stage_server': 'upload.ffxbld.productdelivery.prod.mozaws.net',
},
'try': {
@ -192,7 +188,6 @@ config = {
'to_tinderbox_dated': False,
'include_post_upload_builddir': True,
'release_to_try_builds': True,
'use_branch_in_symbols_extra_buildid': False,
'stage_server': 'upload.trybld.productdelivery.prod.mozaws.net',
'stage_username': 'trybld',
'stage_ssh_key': 'trybld_dsa',

Просмотреть файл

@ -77,7 +77,6 @@ config = {
'platform': 'linux64',
'stage_platform': 'linux64',
'publish_nightly_en_US_routes': True,
'use_platform_in_symbols_extra_buildid': True,
'env': {
'MOZBUILD_STATE_PATH': os.path.join(os.getcwd(), '.mozbuild'),
'MOZ_AUTOMATION': '1',

Просмотреть файл

@ -45,7 +45,6 @@ config = {
'platform': 'macosx64',
'stage_platform': 'macosx64',
'publish_nightly_en_US_routes': True,
'use_platform_in_symbols_extra_buildid': True,
'env': {
'MOZBUILD_STATE_PATH': os.path.join(os.getcwd(), '.mozbuild'),
'MOZ_AUTOMATION': '1',

Просмотреть файл

@ -42,7 +42,6 @@ config = {
'base_name': 'OS X 10.7 %(branch)s',
'platform': 'macosx64',
'stage_platform': 'macosx64',
'use_platform_in_symbols_extra_buildid': True,
'env': {
'MOZBUILD_STATE_PATH': os.path.join(os.getcwd(), '.mozbuild'),
'MOZ_AUTOMATION': '1',

Просмотреть файл

@ -68,7 +68,6 @@ config = {
'stage_platform': 'win64',
'publish_nightly_en_US_routes': True,
'env': {
'MOZ_SYMBOLS_EXTRA_BUILDID': 'win64',
'MOZ_AUTOMATION': '1',
'HG_SHARE_BASE_DIR': 'C:/builds/hg-shared',
'MOZ_CRASHREPORTER_NO_REPORT': '1',

Просмотреть файл

@ -34,7 +34,6 @@ config = {
'platform': 'linux64',
'stage_platform': 'linux64',
'publish_nightly_en_US_routes': False,
'use_platform_in_symbols_extra_buildid': True,
'env': {
'MOZBUILD_STATE_PATH': os.path.join(os.getcwd(), '.mozbuild'),
'MOZ_AUTOMATION': '1',

Просмотреть файл

@ -34,7 +34,6 @@ config = {
'platform': 'linux64',
'stage_platform': 'linux64-st-an',
'publish_nightly_en_US_routes': False,
'use_platform_in_symbols_extra_buildid': True,
'env': {
'MOZBUILD_STATE_PATH': os.path.join(os.getcwd(), '.mozbuild'),
'MOZ_AUTOMATION': '1',

Просмотреть файл

@ -11,7 +11,6 @@ config = {
"MOZ_OBJDIR": "obj-l10n",
"EN_US_BINARY_URL": "%(en_us_binary_url)s",
"MOZ_UPDATE_CHANNEL": "%(update_channel)s",
"MOZ_SYMBOLS_EXTRA_BUILDID": "macosx64",
"MOZ_PKG_PLATFORM": "mac",
# "IS_NIGHTLY": "yes",
"DIST": "%(abs_objdir)s",

Просмотреть файл

@ -949,28 +949,6 @@ or run without that action (ie: --no-{action})"
check_test_env[env_var] = env_value % dirs
return check_test_env
def _query_moz_symbols_buildid(self):
# this is a bit confusing but every platform that make
# uploadsymbols may or may not include a
# MOZ_SYMBOLS_EXTRA_BUILDID in the env and the value of this
# varies.
# logic goes:
# If it's the release branch, we only include it for
# 64bit platforms and we use just the platform as value.
# If it's a project branch off m-c, we include only the branch
# for the value on 32 bit platforms and we include both the
# platform and branch for 64 bit platforms
c = self.config
moz_symbols_extra_buildid = ''
if c.get('use_platform_in_symbols_extra_buildid'):
moz_symbols_extra_buildid += self.stage_platform
if c.get('use_branch_in_symbols_extra_buildid'):
if moz_symbols_extra_buildid:
moz_symbols_extra_buildid += '-%s' % (self.branch,)
else:
moz_symbols_extra_buildid = self.branch
return moz_symbols_extra_buildid
def _query_who(self):
""" looks for who triggered the build with a change.
@ -1629,9 +1607,6 @@ or run without that action (ie: --no-{action})"
"""builds application."""
env = self.query_build_env()
env.update(self.query_mach_build_env())
symbols_extra_buildid = self._query_moz_symbols_buildid()
if symbols_extra_buildid:
env['MOZ_SYMBOLS_EXTRA_BUILDID'] = symbols_extra_buildid
# XXX Bug 1037883 - mozconfigs can not find buildprops.json when builds
# are through mozharness. This is not pretty but it is a stopgap

Просмотреть файл

@ -71,7 +71,6 @@ class FxDesktopBuild(BuildScript, object):
],
'stage_product': 'firefox',
'platform_supports_post_upload_to_latest': True,
'use_branch_in_symbols_extra_buildid': True,
'latest_mar_dir': '/pub/mozilla.org/firefox/nightly/latest-%(branch)s',
'compare_locales_repo': 'https://hg.mozilla.org/build/compare-locales',
'compare_locales_rev': 'RELEASE_AUTOMATION',

Просмотреть файл

@ -35,7 +35,6 @@ fail() {
export MOZ_CRASHREPORTER_NO_REPORT=1
export MOZ_OBJDIR=obj-firefox
export MOZ_SYMBOLS_EXTRA_BUILDID=linux64
export TINDERBOX_OUTPUT=1
# use "simple" package names so that they can be hard-coded in the task's