Issue #303 Part 2: Update build files for the new location

This commit is contained in:
wolfbeast 2018-06-04 13:50:39 +02:00 • committed by Roy Tam
commit d224ddb0e5
9 changed files with 29 additions and 30 deletions

View file

@ -10,6 +10,6 @@ if CONFIG['MOZ_EXTENSIONS']:
DIRS += ['/%s' % CONFIG['MOZ_BRANDING_DIRECTORY']] DIRS += ['/%s' % CONFIG['MOZ_BRANDING_DIRECTORY']]
# Never add dirs after browser because they apparently won't get # Never add dirs after the browser root because they apparently won't
# packaged properly on Mac. # get packaged properly on Mac.
DIRS += ['/browser'] DIRS += ['/application/basilisk']

View file

@ -3,43 +3,43 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
installer: installer:
@$(MAKE) -C browser/installer installer @$(MAKE) -C application/basilisk/installer installer
package: package:
@$(MAKE) -C browser/installer @$(MAKE) -C application/basilisk/installer
package-compare: package-compare:
@$(MAKE) -C browser/installer package-compare @$(MAKE) -C application/basilisk/installer package-compare
stage-package: stage-package:
@$(MAKE) -C browser/installer stage-package @$(MAKE) -C application/basilisk/installer stage-package
sdk: sdk:
@$(MAKE) -C browser/installer make-sdk @$(MAKE) -C application/basilisk/installer make-sdk
install:: install::
@$(MAKE) -C browser/installer install @$(MAKE) -C application/basilisk/installer install
clean:: clean::
@$(MAKE) -C browser/installer clean @$(MAKE) -C application/basilisk/installer clean
distclean:: distclean::
@$(MAKE) -C browser/installer distclean @$(MAKE) -C application/basilisk/installer distclean
source-package:: source-package::
@$(MAKE) -C browser/installer source-package @$(MAKE) -C application/basilisk/installer source-package
upload:: upload::
@$(MAKE) -C browser/installer upload @$(MAKE) -C application/basilisk/installer upload
source-upload:: source-upload::
@$(MAKE) -C browser/installer source-upload @$(MAKE) -C application/basilisk/installer source-upload
hg-bundle:: hg-bundle::
@$(MAKE) -C browser/installer hg-bundle @$(MAKE) -C application/basilisk/installer hg-bundle
l10n-check:: l10n-check::
@$(MAKE) -C browser/locales l10n-check @$(MAKE) -C application/basilisk/locales l10n-check
ifdef ENABLE_TESTS ifdef ENABLE_TESTS
# Implemented in testing/testsuite-targets.mk # Implemented in testing/testsuite-targets.mk

View file

@ -152,7 +152,7 @@ endif
# fail to produce a langpack. See bug 1255096. # fail to produce a langpack. See bug 1255096.
libs:: libs::
ifeq (,$(filter FasterMake+RecursiveMake,$(BUILD_BACKENDS))) ifeq (,$(filter FasterMake+RecursiveMake,$(BUILD_BACKENDS)))
$(MAKE) -C $(DEPTH)/browser/locales langpack $(MAKE) -C $(DEPTH)/application/basilisk/locales langpack
endif endif
ifeq (WINNT,$(OS_ARCH)) ifeq (WINNT,$(OS_ARCH))

View file

@ -32,12 +32,12 @@ include $(topsrcdir)/config/config.mk
ifdef LOCALE_MERGEDIR ifdef LOCALE_MERGEDIR
PPL_LOCALE_ARGS = \ PPL_LOCALE_ARGS = \
--l10n-dir=$(LOCALE_MERGEDIR)/browser/installer \ --l10n-dir=$(LOCALE_MERGEDIR)/application/basilisk/installer \
--l10n-dir=$(call EXPAND_LOCALE_SRCDIR,browser/locales)/installer \ --l10n-dir=$(call EXPAND_LOCALE_SRCDIR,application/basilisk/locales)/installer \
--l10n-dir=$(topsrcdir)/browser/locales/en-US/installer \ --l10n-dir=$(topsrcdir)/application/basilisk/locales/en-US/installer \
$(NULL) $(NULL)
else else
PPL_LOCALE_ARGS=$(call EXPAND_LOCALE_SRCDIR,browser/locales)/installer PPL_LOCALE_ARGS=$(call EXPAND_LOCALE_SRCDIR,application/basilisk/locales)/installer
endif endif
OVERRIDE_DEFAULT_GOAL := installer OVERRIDE_DEFAULT_GOAL := installer

View file

@ -3,13 +3,13 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
[general] [general]
depth = ../.. depth = ../../..
all = browser/locales/all-locales all = application/basilisk/locales/all-locales
[compare] [compare]
dirs = browser dirs = browser
other-licenses/branding/firefox other-licenses/branding/firefox
browser/branding/official application/basilisk/branding/official
devtools/client devtools/client
[includes] [includes]

View file

@ -36,5 +36,5 @@ if CONFIG['MOZ_ARTIFACT_BUILDS']:
# Ensure a pre-built interfaces.xpt installed to the objdir by the artifact # Ensure a pre-built interfaces.xpt installed to the objdir by the artifact
# code is included by the top-level chrome.manifest. # code is included by the top-level chrome.manifest.
EXTRA_COMPONENTS += [ EXTRA_COMPONENTS += [
'../build/prebuilt-interfaces.manifest', '../../build/prebuilt-interfaces.manifest',
] ]

View file

@ -4,4 +4,4 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this # License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
include('../toolkit/moz.configure') include('../../toolkit/moz.configure')

View file

@ -607,8 +607,9 @@ def include_project_configure(project, external_source_dir, build_env, help):
build_app = project[0] build_app = project[0]
# Uncomment when browser becomes application/basilisk # XXX: Change this when 'browser' becomes invalid as an alias
#if build_app == 'browser': if build_app == 'browser':
build_app = 'basilisk'
#die('The project "browser" is no longer valid. Perhaps you meant "basilisk" or "palemoon"?') #die('The project "browser" is no longer valid. Perhaps you meant "basilisk" or "palemoon"?')
path_project_src_dir_application = os.path.join(base_dir, 'application/' + build_app, 'moz.configure') path_project_src_dir_application = os.path.join(base_dir, 'application/' + build_app, 'moz.configure')

View file

@ -321,8 +321,6 @@ CONFIG_STATUS_DEPS := \
$(TOPSRCDIR)/CLOBBER \ $(TOPSRCDIR)/CLOBBER \
$(TOPSRCDIR)/nsprpub/configure \ $(TOPSRCDIR)/nsprpub/configure \
$(TOPSRCDIR)/config/milestone.txt \ $(TOPSRCDIR)/config/milestone.txt \
$(TOPSRCDIR)/browser/config/version.txt \
$(TOPSRCDIR)/browser/config/version_display.txt \
$(TOPSRCDIR)/build/virtualenv_packages.txt \ $(TOPSRCDIR)/build/virtualenv_packages.txt \
$(TOPSRCDIR)/python/mozbuild/mozbuild/virtualenv.py \ $(TOPSRCDIR)/python/mozbuild/mozbuild/virtualenv.py \
$(TOPSRCDIR)/testing/mozbase/packages.txt \ $(TOPSRCDIR)/testing/mozbase/packages.txt \