Bug 1186522 - force per checkin builds to require signed add-ons on beta 42, r=mshal

This commit is contained in:
Jordan Lund 2015-08-28 13:41:26 -07:00
Родитель 77b7e71f64
Коммит 87407424dc
7 изменённых файлов: 16 добавлений и 17 удалений

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

@ -0,0 +1,4 @@
# addon signing is checked but not required
MOZ_REQUIRE_ADDON_SIGNING=0
MOZ_ADDON_SIGNING=1
. $topsrcdir/browser/config/mozconfigs/linux64/nightly

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

@ -63,6 +63,3 @@ MOZ_PAY=1
MOZ_ACTIVITIES=1
MOZ_JSDOWNLOADS=1
MOZ_WEBM_ENCODER=1
# Enable checking that add-ons are signed by the trusted root
MOZ_ADDON_SIGNING=1

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

@ -16,4 +16,9 @@ ac_add_options --enable-crashreporter
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_ADDON_SIGNING=${MOZ_REQUIRE_ADDON_SIGNING-0}
. "$topsrcdir/build/mozconfig.automation"

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

@ -3791,8 +3791,6 @@ MOZ_CONTENT_SANDBOX=
MOZ_GMP_SANDBOX=
MOZ_SANDBOX=1
MOZ_BINARY_EXTENSIONS=
MOZ_ADDON_SIGNING=
MOZ_REQUIRE_SIGNING=
case "$target_os" in
mingw*)
@ -8609,8 +8607,12 @@ AC_SUBST(MOZ_POST_DSO_LIB_COMMAND)
AC_SUBST(MOZ_POST_PROGRAM_COMMAND)
AC_SUBST(MOZ_LINKER_EXTRACT)
AC_SUBST(MOZ_ADDON_SIGNING)
AC_SUBST(MOZ_REQUIRE_SIGNING)
if test "$MOZ_ADDON_SIGNING" = 1; then
AC_DEFINE(MOZ_ADDON_SIGNING)
fi
if test "$MOZ_REQUIRE_ADDON_SIGNING" = 1; then
AC_DEFINE(MOZ_REQUIRE_ADDON_SIGNING)
fi
if test -n "$MOZ_BINARY_EXTENSIONS"; then
AC_DEFINE(MOZ_BINARY_EXTENSIONS)

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

@ -108,9 +108,6 @@ export JS_GC_SMALL_CHUNK_SIZE=1
# Enable Firefox Account avatars.
MOZ_ANDROID_FIREFOX_ACCOUNT_PROFILES=1
# Enable checking that add-ons are signed by the trusted root
MOZ_ADDON_SIGNING=1
# Enable the Switchboard A/B framework code.
# Note: The framework is always included in the app. This flag controls
# usage of the framework.

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

@ -8060,7 +8060,7 @@ Object.defineProperty(this, "REQUIRE_SIGNING", {
configurable: false,
enumerable: false,
writable: false,
#ifdef MOZ_REQUIRE_SIGNING
#ifdef MOZ_REQUIRE_ADDON_SIGNING
value: true,
#else
value: false,

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

@ -34,9 +34,3 @@ DEFINES['MOZ_EXTENSIONS_DB_SCHEMA'] = 17
# Additional debugging info is exposed in debug builds
if CONFIG['MOZ_EM_DEBUG']:
DEFINES['MOZ_EM_DEBUG'] = 1
if CONFIG['MOZ_ADDON_SIGNING']:
DEFINES['MOZ_ADDON_SIGNING'] = 1
if CONFIG['MOZ_REQUIRE_SIGNING']:
DEFINES['MOZ_REQUIRE_SIGNING'] = 1