Skip to content

Commit

Permalink
Bug 1186522 - force per checkin and release desktop firefox builds to…
Browse files Browse the repository at this point in the history
… require signed add-ons on beta 47 r=mshal
  • Loading branch information
kmoir committed Apr 27, 2016
1 parent 2142735 commit 54248e8
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 18 deletions.
3 changes: 0 additions & 3 deletions browser/confvars.sh
Expand Up @@ -61,8 +61,5 @@ MOZ_ACTIVITIES=1
MOZ_JSDOWNLOADS=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)
MOZ_DEVTOOLS=all
5 changes: 5 additions & 0 deletions build/mozconfig.common
Expand Up @@ -16,6 +16,11 @@ 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_SIGNING=${MOZ_REQUIRE_SIGNING-0}

ac_add_options --enable-js-shell

. "$topsrcdir/build/mozconfig.automation"
3 changes: 0 additions & 3 deletions mobile/android/confvars.sh
Expand Up @@ -73,6 +73,3 @@ MOZ_ANDROID_PACKAGE_INSTALL_BOUNCER=1

# Use the low-memory GC tuning.
export JS_GC_SMALL_CHUNK_SIZE=1

# Enable checking that add-ons are signed by the trusted root
MOZ_ADDON_SIGNING=1
14 changes: 9 additions & 5 deletions old-configure.in
Expand Up @@ -2731,8 +2731,6 @@ MOZ_CONTENT_SANDBOX=
MOZ_GMP_SANDBOX=
MOZ_SANDBOX=1
MOZ_BINARY_EXTENSIONS=
MOZ_ADDON_SIGNING=
MOZ_REQUIRE_SIGNING=
MOZ_DEVTOOLS=server

case "$target_os" in
Expand Down Expand Up @@ -6760,13 +6758,19 @@ AC_SUBST(MOZ_FIX_LINK_PATHS)
AC_SUBST(MOZ_POST_PROGRAM_COMMAND)
AC_SUBST(MOZ_LINKER_EXTRACT)

AC_SUBST(MOZ_ADDON_SIGNING)
AC_SUBST(MOZ_REQUIRE_SIGNING)

if test -n "$MOZ_BINARY_EXTENSIONS"; then
AC_DEFINE(MOZ_BINARY_EXTENSIONS)
fi

AC_SUBST(MOZ_ADDON_SIGNING)
if test "$MOZ_ADDON_SIGNING" = 1; then
AC_DEFINE(MOZ_ADDON_SIGNING)
fi
AC_SUBST(MOZ_REQUIRE_SIGNING)
if test "$MOZ_REQUIRE_SIGNING" = 1; then
AC_DEFINE(MOZ_REQUIRE_SIGNING)
fi

AC_SUBST(MOZ_JSDOWNLOADS)
if test -n "$MOZ_JSDOWNLOADS"; then
AC_DEFINE(MOZ_JSDOWNLOADS)
Expand Down
1 change: 0 additions & 1 deletion toolkit/modules/moz.build
Expand Up @@ -127,7 +127,6 @@ for var in ('ANDROID_PACKAGE_NAME',
DEFINES[var] = CONFIG[var]

for var in ('MOZ_TOOLKIT_SEARCH',
'MOZ_REQUIRE_SIGNING',
'MOZ_SYSTEM_NSS',
'MOZ_UPDATER',
'MOZ_SWITCHBOARD'):
Expand Down
6 changes: 0 additions & 6 deletions toolkit/mozapps/extensions/internal/moz.build
Expand Up @@ -28,9 +28,3 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] != 'android':
EXTRA_PP_JS_MODULES.addons += [
'AddonConstants.jsm',
]

if CONFIG['MOZ_ADDON_SIGNING']:
DEFINES['MOZ_ADDON_SIGNING'] = 1

if CONFIG['MOZ_REQUIRE_SIGNING']:
DEFINES['MOZ_REQUIRE_SIGNING'] = 1

0 comments on commit 54248e8

Please sign in to comment.