~mozillateam/thunderbird/thunderbird.disco

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
%%ifdef DEB_BUILD_GNU_TYPE
ac_add_options --build=@DEB_BUILD_GNU_TYPE@
%%endif
ac_add_options --host=@DEB_HOST_GNU_TYPE@
ac_add_options --prefix=/usr
ac_add_options --with-l10n-base=@TOPSRCDIR@/l10n
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/@MOZ_OBJDIR@
ac_add_options --enable-release
ac_add_options --disable-gconf
ac_add_options --disable-install-strip
ac_add_options --disable-updater
ac_add_options --enable-application=comm/mail
ac_add_options --enable-startup-notification
ac_add_options --with-distribution-id=com.ubuntu
mk_add_options "export MOZ_BUILD_DATE=@MOZ_BUILDID@"
mk_add_options "export LLVM_CONFIG=/usr/bin/llvm-config-8"
mk_add_options "export CC=clang-8"
mk_add_options "export CXX=clang++-8"
mk_add_options "export CBINDGEN=@TOPSRCDIR@/@DEB_BUILDDIR@/cbindgen/bin/cbindgen"
%%if DEB_BUILD_ARCH_BITS == 32
ac_add_options --enable-debug-symbols=-g1
%%else
ac_add_options --enable-debug-symbols
%%endif
%%if DEB_HOST_ARCH == armel
%%if DISTRIB_VERSION < 1210
ac_add_options --enable-thumb2
%%else
ac_add_options --disable-methodjit
%%endif
%%endif
%%ifdef MOZ_NO_OPTIMIZE
ac_add_options --disable-optimize
%%else
%%ifndef MOZ_VALGRIND
%%if DEB_HOST_ARCH == armhf
# See https://launchpad.net/bugs/1711337
ac_add_options --enable-optimize="-g -O2 -fno-schedule-insns"
%%else
ac_add_options --enable-optimize
%%endif
%%else
ac_add_options --enable-optimize="-g -O -freorder-blocks"
%%endif
%%endif
%%ifdef MOZ_VALGRIND
ac_add_options --disable-jemalloc
ac_add_options --enable-valgrind
%%endif
%%ifdef DEB_PARALLEL_JOBS
mk_add_options MOZ_MAKE_FLAGS=-j@DEB_PARALLEL_JOBS@
%%endif
ac_add_options --disable-tests
%%ifdef MOZ_ENABLE_BREAKPAD
ac_add_options --enable-crashreporter
%%else
ac_add_options --disable-crashreporter
%%endif
ac_add_options @MOZ_BRANDING_OPTION@
%%ifdef MOZ_BUILD_PGO
mk_add_options PROFILE_GEN_SCRIPT='xvfb-run -a @MOZ_PYTHON@ @TOPSRCDIR@/@MOZ_OBJDIR@/_profile/pgo/profileserver.py'
%%endif
ac_add_options --enable-update-channel=@MOZ_UPDATE_CHANNEL@
%%ifdef MOZ_DEBUG
ac_add_options --enable-debug
%%else
ac_add_options --disable-debug
%%endif
%%if DEB_HOST_ARCH != arm64
%%if DEB_HOST_ARCH != ppc64el
%%if DEB_HOST_ARCH != s390x
ac_add_options --disable-elf-hack
%%endif
%%endif
%%endif
%%if DEB_HOST_ARCH != amd64
%%if DEB_HOST_ARCH != i386
# See https://bugzilla.mozilla.org/show_bug.cgi?id=1430094
ac_add_options --disable-webrtc
ac_add_options --disable-av1
%%endif
%%endif
%%if MOZ_APP_NAME != MOZ_DEFAULT_APP_NAME
ac_add_options --with-app-name=@MOZ_APP_NAME@
%%endif
%%ifdef MOZ_APP_PROFILE
ac_add_options --with-app-profile=@MOZ_APP_PROFILE@
%%endif
ac_add_options --enable-calendar