mirror of
https://github.com/zen-browser/desktop.git
synced 2026-01-25 22:26:11 +00:00
Simple firefox clone
This commit is contained in:
5
.gitignore
vendored
Normal file
5
.gitignore
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
|
||||
.dotbuild/
|
||||
engine/
|
||||
firefox-*/
|
||||
node_modules/
|
||||
1
.gluon/command
Normal file
1
.gluon/command
Normal file
@@ -0,0 +1 @@
|
||||
download
|
||||
24
configs/common/mozconfig
Normal file
24
configs/common/mozconfig
Normal file
@@ -0,0 +1,24 @@
|
||||
# Browser branding
|
||||
ac_add_options --enable-update-channel=release
|
||||
|
||||
ac_add_options --with-branding=${brandingDir}
|
||||
ac_add_options --with-app-name=${binName}
|
||||
export MOZ_USER_DIR="${name}"
|
||||
export MOZ_APP_VENDOR="${vendor}"
|
||||
export MOZ_APP_BASENAME=Dot
|
||||
export MOZ_APP_PROFILE=${binName}
|
||||
export MOZ_APP_DISPLAYNAME="${name}"
|
||||
export MOZ_BRANDING_DIRECTORY=${brandingDir}
|
||||
export MOZ_OFFICIAL_BRANDING_DIRECTORY=${brandingDir}
|
||||
export MOZ_MACBUNDLE_ID=${appId}
|
||||
export MOZ_DISTRIBUTION_ID=${appId}
|
||||
|
||||
# Uncomment if builds are too resource hungry
|
||||
mk_add_options MOZ_MAKE_FLAGS="-j4"
|
||||
ac_add_options --enable-linker=gold
|
||||
|
||||
# Misc
|
||||
export MOZ_STUB_INSTALLER=1
|
||||
export MOZ_INCLUDE_SOURCE_INFO=1
|
||||
export MOZ_SOURCE_REPO=https://github.com/zen-browser/core
|
||||
export MOZ_SOURCE_CHANGESET=${changeset}
|
||||
13
configs/linux/mozconfig
Normal file
13
configs/linux/mozconfig
Normal file
@@ -0,0 +1,13 @@
|
||||
# Optimise builds
|
||||
ac_add_options --enable-application=browser
|
||||
ac_add_options --enable-hardening
|
||||
ac_add_options --enable-rust-simd
|
||||
ac_add_options --enable-release
|
||||
ac_add_options --enable-optimize
|
||||
ac_add_options --with-ccache=sccache
|
||||
ac_add_options --disable-debug
|
||||
ac_add_options --enable-updater
|
||||
|
||||
# Disable telemetry and tracking
|
||||
mk_add_options MOZ_TELEMETRY_REPORTING=
|
||||
mk_add_options MOZ_DATA_REPORTING=
|
||||
14
configs/macos/mozconfig
Normal file
14
configs/macos/mozconfig
Normal file
@@ -0,0 +1,14 @@
|
||||
# Optimise builds
|
||||
ac_add_options --enable-application=browser
|
||||
ac_add_options --enable-hardening
|
||||
ac_add_options --enable-rust-simd
|
||||
ac_add_options --enable-release
|
||||
ac_add_options --enable-optimize
|
||||
ac_add_options --with-ccache=sccache
|
||||
ac_add_options --disable-debug
|
||||
ac_add_options --enable-updater
|
||||
mk_add_options MOZ_MAKE_FLAGS="-j4"
|
||||
|
||||
# Disable telemetry and tracking
|
||||
mk_add_options MOZ_TELEMETRY_REPORTING=
|
||||
mk_add_options MOZ_DATA_REPORTING=
|
||||
8
configs/windows/mozconfig
Normal file
8
configs/windows/mozconfig
Normal file
@@ -0,0 +1,8 @@
|
||||
ac_add_options --target=x86_64-pc-mingw32
|
||||
ac_add_options --enable-js-shell
|
||||
ac_add_options --enable-rust-simd
|
||||
ac_add_options --enable-crashreporter
|
||||
|
||||
# Disable telemetry and tracking
|
||||
mk_add_options MOZ_TELEMETRY_REPORTING=
|
||||
mk_add_options MOZ_DATA_REPORTING=
|
||||
14
gluon.json
Normal file
14
gluon.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"name": "Zen Browser",
|
||||
"vendor": "Zen HQ",
|
||||
"appId": "com.zen.browser",
|
||||
"version": {
|
||||
"product": "firefox-esr-next",
|
||||
"version": "124.0.1",
|
||||
"displayVersion": "1.0.0"
|
||||
},
|
||||
"buildOptions": {
|
||||
"generateBranding": false,
|
||||
"windowsUseSymbolicLinks": false
|
||||
}
|
||||
}
|
||||
0
src/README.md
Normal file
0
src/README.md
Normal file
Reference in New Issue
Block a user