-
Notifications
You must be signed in to change notification settings - Fork 0
/
mozconfig.android.arm.debug-mem-valgrind
56 lines (42 loc) · 1.68 KB
/
mozconfig.android.arm.debug-mem-valgrind
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
mk_add_options AUTOCLOBBER=1
#ac_add_options --enable-optimize
#ac_add_options --disable-optimize
#ac_add_options --enable-debug
#ac_add_options --disable-debug
ac_add_options --enable-debug-symbols
# ac_add_options --enable-debug-flags="-g"
# memory DMD
#ac_add_options --enable-dmd
# memory Valgrind
ac_add_options --disable-jemalloc
ac_add_options --disable-strip
ac_add_options --enable-valgrind
# 2019-03-18 bkoz XXX unresolved symbols with inlining
#ac_add_options --enable-optimize="-g -O2"
ac_add_options --enable-optimize
#ac_add_options --enable-profiling
#ac_add_options --disable-profiling
# 2019-01-18 disable AV1 for x86 (non-64) builds due to build error
#ac_add_options --disable-av1
# release, nightly, beta
ac_add_options --with-branding=mobile/android/branding/nightly
#ac_add_options --with-branding=browser/branding/nightly
export MOZILLA_OFFICIAL=1
export MOZ_TELEMETRY_REPORTING=1
export MOZ_SERVICES_HEALTHREPORT=1
# Build GeckoView/Firefox for Android:
ac_add_options --enable-application=mobile/android
ac_add_options --without-adjust-sdk-keyfile
ac_add_options --without-google-play-services
# Targeting the following architecture.
# Ensure exactly one --target is uncommented!
ac_add_options --target=arm-linux-androideabi
# ac_add_options --target=aarch64-linux-android
# ac_add_options --target=i686-linux-android
# ac_add_options --target=x86_64-linux-android
# With the following Android SDK and NDK:
ac_add_options --with-android-sdk="/home/bkoz/.mozbuild/android-sdk-linux"
ac_add_options --with-android-ndk="/home/bkoz/.mozbuild/android-ndk-r17b"
# With the following compiler toolchain:
CC="/home/bkoz/.mozbuild/clang/bin/clang"
CXX="/home/bkoz/.mozbuild/clang/bin/clang++"