forked from BrowserWorks/Waterfox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.mozconfig_android
47 lines (37 loc) · 1.49 KB
/
.mozconfig_android
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
mk_add_options MOZILLA_OFFICIAL=1
export MOZILLA_OFFICIAL=1
# Build GeckoView/Firefox for Android:
ac_add_options --enable-application=mobile/android
# With the following java:
ac_add_options --with-java-bin-path="/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/bin"
# With the following Android NDK:
ac_add_options --with-android-ndk="/Users/akontos/.mozbuild/android-ndk-r17b"
# With the following compiler toolchain:
CC="/Users/akontos/.mozbuild/clang/bin/clang"
CXX="/Users/akontos/.mozbuild/clang/bin/clang++"
ac_add_options --enable-optimize="-O2 -w"
if test `uname -s` = MINGW32_NT-6.2; then
mk_add_options MOZ_MAKE_FLAGS=-j8
else
X=$(($(getconf _NPROCESSORS_ONLN 2>/dev/null || getconf NPROCESSORS_ONLN)*3/2))
mk_add_options MOZ_MAKE_FLAGS=-j${X%.*}
fi
mk_add_options AUTOCLOBBER=1
mk_add_options MOZ_OBJDIR=objdir-current-android
ac_add_options --disable-debug
ac_add_options --disable-rust-debug
ac_add_options --disable-dmd
ac_add_options --disable-crashreporter
ac_add_options --disable-profiling
ac_add_options --disable-signmar
ac_add_options --disable-tests
ac_add_options --disable-verify-mar
ac_add_options --disable-webrender
ac_add_options --enable-ccache=sccache
ac_add_options --enable-release
ac_add_options --enable-rust-simd
ac_add_options --with-app-name=waterfox
ac_add_options --with-app-basename=Waterfox
ac_add_options --with-branding=mobile/android/branding/unofficial
ac_add_options --with-distribution-id=net.waterfox
ac_add_options --without-google-play-services