|
1
|
+# Changes on this file might need to be synchronized with
|
|
2
|
+# browser/config/mozconfigs/base-browser-android!
|
|
3
|
+# See also tor-browser#43151.
|
|
4
|
+
|
1
|
5
|
export MOZILLA_OFFICIAL=1
|
2
|
6
|
|
3
|
7
|
ac_add_options --enable-application=mobile/android
|
|
8
|
+
|
4
|
9
|
ac_add_options --disable-compile-environment
|
5
|
10
|
|
|
11
|
+ac_add_options --with-java-bin-path=$JAVA_HOME/bin
|
|
12
|
+ac_add_options --with-android-sdk=$ANDROID_HOME
|
|
13
|
+ac_add_options --with-gradle=$GRADLE_HOME/bin/gradle
|
|
14
|
+
|
|
15
|
+ac_add_options --disable-tests
|
|
16
|
+ac_add_options --disable-debug
|
|
17
|
+
|
|
18
|
+ac_add_options --disable-updater
|
|
19
|
+ac_add_options --disable-crashreporter
|
|
20
|
+ac_add_options --disable-webrtc
|
|
21
|
+ac_add_options --disable-parental-controls
|
|
22
|
+
|
|
23
|
+ac_add_options --enable-proxy-bypass-protection
|
|
24
|
+ac_add_options --disable-system-policies
|
|
25
|
+
|
|
26
|
+# See tor-browser#41131
|
|
27
|
+ac_add_options --disable-backgroundtasks
|
|
28
|
+
|
|
29
|
+# Disable telemetry
|
|
30
|
+ac_add_options MOZ_TELEMETRY_REPORTING=
|
|
31
|
+
|
6
|
32
|
if test -n "$LOCAL_DEV_BUILD"; then
|
7
|
33
|
# You must use the "default" bogus channel for dev builds
|
8
|
34
|
ac_add_options --enable-update-channel=default
|
9
|
|
- ac_add_options --without-wasm-sandboxed-libraries
|
10
|
35
|
ac_add_options --with-base-browser-version=dev-build
|
11
|
36
|
ac_add_options --disable-minify
|
12
|
37
|
fi
|
13
|
38
|
|
14
|
|
-ac_add_options --with-tor-browser-version=dev-build
|
15
|
|
-
|
16
|
|
-ac_add_options --with-java-bin-path=$JAVA_HOME/bin
|
17
|
|
-ac_add_options --with-android-sdk=$ANDROID_HOME
|
18
|
|
-ac_add_options --with-gradle=$GRADLE_HOME/bin/gradle |
|
39
|
+if test -z "$WASI_SYSROOT"; then
|
|
40
|
+ ac_add_options --without-wasm-sandboxed-libraries
|
|
41
|
+fi |