Rename Basilisk's webextensions component directory to better reflect what it is. Also, add an Application level configure option to disable webextensions

This commit is contained in:
NTD 2018-02-09 10:39:41 -05:00 • committed by Roy Tam
commit 6955450f7a
41 changed files with 19 additions and 1 deletions

View file

@ -10,7 +10,6 @@ DIRS += [
'customizableui', 'customizableui',
'dirprovider', 'dirprovider',
'downloads', 'downloads',
'extensions',
'feeds', 'feeds',
'migration', 'migration',
'newtab', 'newtab',
@ -26,6 +25,9 @@ DIRS += [
'translation', 'translation',
] ]
if CONFIG['MOZ_WEBEXTENSIONS']:
DIRS += ['webextensions']
DIRS += ['build'] DIRS += ['build']
XPIDL_SOURCES += [ XPIDL_SOURCES += [

View file

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Before After
Before After

View file

@ -13,3 +13,16 @@ AC_SUBST(MC_BASILISK)
dnl Optional parts of the build. dnl Optional parts of the build.
dnl ========================================================
dnl = Disable WebExtensions
dnl ========================================================
MOZ_ARG_DISABLE_BOOL(browser-statusbar,
[ --disable-webextensions Disable WebExtensions],
MOZ_WEBEXTENSIONS=,
MOZ_WEBEXTENSIONS=1)
if test -n "$MOZ_WEBEXTENSIONS"; then
AC_DEFINE(MOZ_WEBEXTENSIONS)
fi
AC_SUBST(MOZ_WEBEXTENSIONS)

View file

@ -47,12 +47,15 @@ MOZ_APP_ID={ec8030f7-c20a-464f-9b0e-13a3a9e97384}
ACCEPTED_MAR_CHANNEL_IDS=basilisk-release ACCEPTED_MAR_CHANNEL_IDS=basilisk-release
# The MAR_CHANNEL_ID must not contain the following 3 characters: ",\t " # The MAR_CHANNEL_ID must not contain the following 3 characters: ",\t "
MAR_CHANNEL_ID=basilisk-release MAR_CHANNEL_ID=basilisk-release
# Features
MOZ_PROFILE_MIGRATOR=1 MOZ_PROFILE_MIGRATOR=1
MOZ_APP_STATIC_INI=1 MOZ_APP_STATIC_INI=1
MOZ_WEBGL_CONFORMANT=1 MOZ_WEBGL_CONFORMANT=1
MOZ_JSDOWNLOADS=1 MOZ_JSDOWNLOADS=1
MOZ_RUST_MP4PARSE=1 MOZ_RUST_MP4PARSE=1
MOZ_RUST_URLPARSE=1 MOZ_RUST_URLPARSE=1
MOZ_WEBEXTENSIONS=1
# Disable checking that add-ons are signed by the trusted root # Disable checking that add-ons are signed by the trusted root
MOZ_ADDON_SIGNING=0 MOZ_ADDON_SIGNING=0