~mozillateam/firefox/firefox.disco

« back to all changes in this revision

Viewing changes to debian/build/config.mk

  • Committer: Chris Coulson
  • Date: 2013-06-26 16:48:05 UTC
  • Revision ID: chris.coulson@canonical.com-20130626164805-780fbdp452qapeja
* New upstream release from the beta channel (FIREFOX_23_0b1_BUILD1)
* Build conflict on python-progressbar, as having this installed causes the
  jit test harness to fail
  - update debian/control.in
* Disable unsupported W3C webgl tests
  - update debian/testing/extra/mochitest/mochitest.json
* Refresh paths for a11y tests after landing of bmo: #854868
  - update debian/testing/extra/mochitest/mochitest-chrome.json
* Make firefox-globalmenu a real transitional package
  - update debian/control.in
  - update debian/build/mozbuild.mk
* Just test the selected locale on all channels in test_langpack_chrome.js,
  rather than testing we get a correctly translated string. This is just
  way too fragile
  - update debian/testing/extra/xpcshell/package-tests/test_langpack_chrome.js
  - update d/p/test-integration/automation-output-junit-xml.patch
  - update debian/patches/unity-menubar.patch
  - update debian/patches/dont-override-general-useragent-locale.patch
  - update debian/patches/no_neon_on_arm.patch
* Drop crashtest-no-network-access.patch as the test seems to have been
  removed from the tree
* Always build the crash reporter and Breakpad symbols on supported
  architectures, even if it is disabled at run time. Will hopefully avoid
  surprises by the time we reach beta (where the crash reporter is enabled)
  - update debian/rules
  - update debian/build/mozvars.mk
  - update debian/build/mozbuild.mk
* Rename mozbuild.mk => rules.mk and mozvars.mk => config.mk
* Shut up lintian
  - update debian/copyright
* Make the transitional globalmenu package priority extra, section oldlibs
  - update debian/control.in
* Make the testsuite priority extra, section misc
  - update debian/control.in
* The testsuite shouldn't depend on essential package libc-bin
  - update debian/control.in
* Override symlink-is-self-recursive warning in the testsuite, as this is
  intentional
  - add debian/firefox-testsuite.lintian-overrides.in
* Remove the executable bit from the testsuite zip file
  - update debian/build/rules.mk
* Remove the executable bit from searchplugins
  - update debian/build/rules.mk
* Silence an embedded-library warning and some image-file-in-usr-lib warnings
  - update debian/firefox.lintian-overrides.in
* Drop firefox-gnome-support. It was only depending on libraries that are
  already guaranteed to exist when firefox is installed (mostly, glib).
  Firefox has no need to depend on libnotify for the time being either, but
  if it does again, that dependency should just be on the main package
  - update debian/control.in
  - update debian/build/rules.mk
  - remove debian/firefox-gnome-support.install.in
* Only blacklist Firefox in Apport on official builds
  - update debian/apport/blacklist.in
  - update debian/build/rules.mk
* Merge in latest desktop file translations
  - update debian/firefox.desktop.in
* Refresh patches
  - update debian/patches/dont-override-general-useragent-locale.patch
  - update debian/patches/no_neon_on_arm.patch
  - update d/p/test-integration/automation-output-junit-xml.patch
  - update d/p/test-overrides/disable-failing-python-tests.patch
  - update debian/patches/unity-menubar.patch
  - update debian/patches/fix-broken-langpack-install-manifests.patch
* Disable intl.locale.matchOS in test_bug848297.js
  - add d/p/test-fixes/xpcshell-chrome-fix-test_bug848297-with-locale-matchOS.patch
  - update debian/patches/series
* Write xpcshell test duration to the JUnit results when the test fails
  - add d/p/test-integration/xpcshell-write-time-for-failed-test.patch
  - update debian/patches/series
* Update test-fixes/mochitest-browser-plugincrash-with-no-crashreporter.patch
  to just not include the test on !MOZ_CRASHREPORTER builds
* Fix build-time xpcshell tests after landing of bmo: 597064, by
  using the python virtualenv provided by the upstream build system
  - update debian/build/testsuite.mk
  - update debian/build/rules.mk
* Fix broken Bulgarian language pack
  - update debian/patches/fix-broken-langpack-install-manifests.patch
* new upstream release from the beta channel (firefox_22_0b6_build1)

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
DISTRIB_CODENAME        := $(shell lsb_release -s -c)
14
14
 
15
15
include $(CURDIR)/debian/config/branch.mk
 
16
 
 
17
# Various build defaults
 
18
# 1 = Build crashreporter (if supported)
 
19
MOZ_ENABLE_BREAKPAD     ?= 1
 
20
# 1 = Enable official build (required for enabling the crashreporter)
 
21
MOZ_BUILD_OFFICIAL      ?= 0
 
22
# 1 = Build without jemalloc suitable for valgrind debugging
 
23
MOZ_VALGRIND            ?= 0
 
24
# 1 = Profile guided build
 
25
MOZ_BUILD_PGO           ?= 0
 
26
# 1 = Build and run the testsuite
 
27
MOZ_WANT_UNIT_TESTS     ?= 0
 
28
# 1 = Turn on debugging bits and disable optimizations
 
29
MOZ_DEBUG               ?= 0
 
30
# 1 = Disable optimizations
 
31
MOZ_NO_OPTIMIZE         ?= 0
 
32
 
 
33
# The package name
 
34
MOZ_PKG_NAME            := $(shell dpkg-parsechangelog | sed -n 's/^Source: *\(.*\)$$/\1/ p')
 
35
# The binary name to use (derived from the package name by default)
 
36
MOZ_APP_NAME            ?= $(MOZ_PKG_NAME)
 
37
 
 
38
# Define other variables used throughout the build
 
39
MOZ_DEFAULT_APP_NAME    ?= $(MOZ_PKG_BASENAME)
 
40
MOZ_APP_BASENAME        ?= $(shell echo $(MOZ_APP_NAME) | sed -n 's/\-.\|\<./\U&/g p')
 
41
MOZ_DEFAULT_APP_BASENAME ?= $(shell echo $(MOZ_DEFAULT_APP_NAME) | sed -n 's/\-.\|\<./\U&/g p')
 
42
 
 
43
MOZ_FORCE_UNOFFICIAL_BRANDING = 0
 
44
 
 
45
ifeq (1,$(MOZ_VALGRIND))
 
46
MOZ_FORCE_UNOFFICIAL_BRANDING = 1
 
47
endif
 
48
 
 
49
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
 
50
MOZ_BUILD_PGO = 0
 
51
MOZ_NO_OPTIMIZE = 1
 
52
MOZ_FORCE_UNOFFICIAL_BRANDING = 1
 
53
endif
 
54
 
 
55
ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
 
56
MOZ_NO_OPTIMIZE = 1
 
57
MOZ_DEBUG = 1
 
58
MOZ_FORCE_UNOFFICIAL_BRANDING = 1
 
59
endif
 
60
 
 
61
ifneq ($(MOZ_APP_NAME)$(MOZ_APP_BASENAME),$(MOZ_DEFAULT_APP_NAME)$(MOZ_DEFAULT_APP_BASENAME))
 
62
# If we change MOZ_APP_NAME or MOZ_APP_BASENAME, don't use official branding
 
63
MOZ_FORCE_UNOFFICIAL_BRANDING = 1
 
64
endif