Bug 1186522 - force per checkin and release desktop firefox builds to require signed add-ons on beta 45 r=mshal

This commit is contained in:
Kim Moir 2016-04-11 09:15:12 -04:00
Родитель 89bcdd8564
Коммит 331a5db94d
6 изменённых файлов: 12 добавлений и 18 удалений

Просмотреть файл

@ -62,8 +62,5 @@ MOZ_ACTIVITIES=1
MOZ_JSDOWNLOADS=1 MOZ_JSDOWNLOADS=1
MOZ_RUST_MP4PARSE=1 MOZ_RUST_MP4PARSE=1
# Enable checking that add-ons are signed by the trusted root
MOZ_ADDON_SIGNING=1
# Include the DevTools client, not just the server (which is the default) # Include the DevTools client, not just the server (which is the default)
MOZ_DEVTOOLS=all MOZ_DEVTOOLS=all

Просмотреть файл

@ -16,6 +16,11 @@ ac_add_options --enable-crashreporter
ac_add_options --enable-release ac_add_options --enable-release
# Enable checking that add-ons are signed by the trusted root
MOZ_ADDON_SIGNING=${MOZ_ADDON_SIGNING-1}
# Disable enforcing that add-ons are signed by the trusted root
MOZ_REQUIRE_SIGNING=${MOZ_REQUIRE_SIGNING-0}
ac_add_options --enable-js-shell ac_add_options --enable-js-shell
. "$topsrcdir/build/mozconfig.automation" . "$topsrcdir/build/mozconfig.automation"

Просмотреть файл

@ -99,9 +99,6 @@ if test "$NIGHTLY_BUILD"; then
MOZ_ANDROID_APZ=1 MOZ_ANDROID_APZ=1
fi fi
# Enable checking that add-ons are signed by the trusted root
MOZ_ADDON_SIGNING=1
# Enable the Switchboard A/B framework code. # Enable the Switchboard A/B framework code.
# Note: The framework is always included in the app. This flag controls # Note: The framework is always included in the app. This flag controls
# usage of the framework. # usage of the framework.

Просмотреть файл

@ -2804,8 +2804,6 @@ MOZ_CONTENT_SANDBOX=
MOZ_GMP_SANDBOX= MOZ_GMP_SANDBOX=
MOZ_SANDBOX=1 MOZ_SANDBOX=1
MOZ_BINARY_EXTENSIONS= MOZ_BINARY_EXTENSIONS=
MOZ_ADDON_SIGNING=
MOZ_REQUIRE_SIGNING=
MOZ_DEVTOOLS=server MOZ_DEVTOOLS=server
case "$target_os" in case "$target_os" in
@ -7044,13 +7042,17 @@ AC_SUBST(MOZ_FIX_LINK_PATHS)
AC_SUBST(MOZ_POST_PROGRAM_COMMAND) AC_SUBST(MOZ_POST_PROGRAM_COMMAND)
AC_SUBST(MOZ_LINKER_EXTRACT) AC_SUBST(MOZ_LINKER_EXTRACT)
AC_SUBST(MOZ_ADDON_SIGNING)
AC_SUBST(MOZ_REQUIRE_SIGNING)
if test -n "$MOZ_BINARY_EXTENSIONS"; then if test -n "$MOZ_BINARY_EXTENSIONS"; then
AC_DEFINE(MOZ_BINARY_EXTENSIONS) AC_DEFINE(MOZ_BINARY_EXTENSIONS)
fi fi
if test "$MOZ_ADDON_SIGNING" = 1; then
AC_DEFINE(MOZ_ADDON_SIGNING)
fi
if test "$MOZ_REQUIRE_SIGNING" = 1; then
AC_DEFINE(MOZ_REQUIRE_SIGNING)
fi
AC_SUBST(MOZ_JSDOWNLOADS) AC_SUBST(MOZ_JSDOWNLOADS)
if test -n "$MOZ_JSDOWNLOADS"; then if test -n "$MOZ_JSDOWNLOADS"; then
AC_DEFINE(MOZ_JSDOWNLOADS) AC_DEFINE(MOZ_JSDOWNLOADS)

Просмотреть файл

@ -124,7 +124,6 @@ for var in ('ANDROID_PACKAGE_NAME',
DEFINES[var] = CONFIG[var] DEFINES[var] = CONFIG[var]
for var in ('MOZ_TOOLKIT_SEARCH', for var in ('MOZ_TOOLKIT_SEARCH',
'MOZ_REQUIRE_SIGNING',
'MOZ_SYSTEM_NSS', 'MOZ_SYSTEM_NSS',
'MOZ_UPDATER'): 'MOZ_UPDATER'):
if CONFIG[var]: if CONFIG[var]:

Просмотреть файл

@ -28,9 +28,3 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] != 'android':
EXTRA_PP_JS_MODULES.addons += [ EXTRA_PP_JS_MODULES.addons += [
'AddonConstants.jsm', 'AddonConstants.jsm',
] ]
if CONFIG['MOZ_ADDON_SIGNING']:
DEFINES['MOZ_ADDON_SIGNING'] = 1
if CONFIG['MOZ_REQUIRE_SIGNING']:
DEFINES['MOZ_REQUIRE_SIGNING'] = 1