mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 05:11:16 +00:00
Bug 774572 - Part 2: Define JAR_MANIFESTS in moz.build files; r=glandium
Every directory with a jar.mn now has JAR_MANIFESTS defined in its moz.build file. We also removed the may_skip special consideration of jar.mn files because this information is now available during tier traversal by the reader courtesy of the variables being present in moz.build files. --HG-- extra : rebase_source : 21049b15e6bd9cf65b0805ccaccc4ba5aae93c98 extra : amend_source : 0b1ea866d725beef92d37c6f6d475369ac002e19
This commit is contained in:
parent
40438af67c
commit
e396fc159d
@ -16,3 +16,5 @@ EXTRA_JS_MODULES += [
|
||||
'TraversalRules.jsm',
|
||||
'Utils.jsm'
|
||||
]
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -4,3 +4,4 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -4,3 +4,4 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -4,3 +4,4 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -4,3 +4,4 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -7,3 +7,5 @@
|
||||
DEFINES['AB_CD'] = CONFIG['MOZ_UI_LOCALE']
|
||||
DEFINES['PACKAGE'] = 'browser'
|
||||
DEFINES['MOZ_APP_VERSION'] = CONFIG['MOZ_APP_VERSION']
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -4,3 +4,4 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -34,3 +34,5 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('windows', 'cocoa'):
|
||||
|
||||
if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('windows', 'gtk2', 'gtk3'):
|
||||
DEFINES['MENUBAR_CAN_AUTOHIDE'] = 1
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -4,3 +4,4 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -5,3 +5,5 @@
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
DEFINES['MOZ_DISTRIBUTION_ID_UNQUOTED'] = CONFIG['MOZ_DISTRIBUTION_ID']
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -4,3 +4,4 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -5,3 +5,5 @@
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
DEFINES['MOZ_DISTRIBUTION_ID_UNQUOTED'] = CONFIG['MOZ_DISTRIBUTION_ID']
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -4,3 +4,4 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -4,3 +4,4 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -4,3 +4,4 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -5,3 +5,5 @@
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
DEFINES['MOZ_DISTRIBUTION_ID_UNQUOTED'] = CONFIG['MOZ_DISTRIBUTION_ID']
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -7,3 +7,5 @@
|
||||
BROWSER_CHROME_MANIFESTS += [
|
||||
'test/browser.ini',
|
||||
]
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -4,3 +4,4 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -13,3 +13,5 @@ XPCSHELL_TESTS_MANIFESTS += [
|
||||
BROWSER_CHROME_MANIFESTS += [
|
||||
'test/browser/browser.ini',
|
||||
]
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -17,3 +17,5 @@ MOCHITEST_CHROME_MANIFESTS += [
|
||||
MOCHITEST_MANIFESTS += [
|
||||
'test/mochitest.ini'
|
||||
]
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -9,3 +9,5 @@ DIRS += ['public', 'src']
|
||||
XPCSHELL_TESTS_MANIFESTS += [
|
||||
'tests/unit/xpcshell.ini',
|
||||
]
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -17,3 +17,5 @@ MOCHITEST_CHROME_MANIFESTS += [
|
||||
BROWSER_CHROME_MANIFESTS += [
|
||||
'tests/browser/browser.ini',
|
||||
]
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -9,3 +9,5 @@ for var in ('MOZ_APP_NAME', 'MOZ_MACBUNDLE_NAME'):
|
||||
|
||||
if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('windows', 'gtk2', 'cocoa'):
|
||||
DEFINES['HAVE_SHELL_SERVICE'] = 1
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -16,3 +16,5 @@ for var in ('MOZ_APP_NAME', 'MOZ_MACBUNDLE_NAME'):
|
||||
|
||||
if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('windows', 'gtk2', 'gtk3', 'cocoa'):
|
||||
DEFINES['HAVE_SHELL_SERVICE'] = 1
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -7,3 +7,5 @@
|
||||
BROWSER_CHROME_MANIFESTS += [
|
||||
'test/browser/browser.ini',
|
||||
]
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -7,3 +7,5 @@
|
||||
BROWSER_CHROME_MANIFESTS += [
|
||||
'test/browser.ini',
|
||||
]
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -20,3 +20,5 @@ XPCSHELL_TESTS_MANIFESTS += [
|
||||
BROWSER_CHROME_MANIFESTS += [
|
||||
'test/browser.ini',
|
||||
]
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -13,3 +13,5 @@ XPCSHELL_TESTS_MANIFESTS += [
|
||||
BROWSER_CHROME_MANIFESTS += [
|
||||
'test/browser.ini',
|
||||
]
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -10,3 +10,5 @@ JS_MODULES_PATH = 'modules/tabview'
|
||||
BROWSER_CHROME_MANIFESTS += [
|
||||
'test/browser.ini',
|
||||
]
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -30,3 +30,5 @@ EXTRA_COMPONENTS += [
|
||||
'devtools-clhandler.js',
|
||||
'devtools-clhandler.manifest',
|
||||
]
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -4,3 +4,4 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -12,3 +12,5 @@ DIST_SUBDIR = 'metro'
|
||||
DEFINES['AB_CD'] = CONFIG['MOZ_UI_LOCALE']
|
||||
DEFINES['PACKAGE'] = 'browser'
|
||||
DEFINES['MOZ_APP_VERSION'] = CONFIG['MOZ_APP_VERSION']
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -7,3 +7,4 @@
|
||||
# Process desktop related resource we reuse here.
|
||||
DIRS += ['import']
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -4,3 +4,4 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -4,3 +4,4 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -6,3 +6,4 @@
|
||||
|
||||
DIRS += ['communicator']
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -4,3 +4,4 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -6,3 +6,4 @@
|
||||
|
||||
DIRS += ['communicator']
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -4,3 +4,4 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -6,3 +6,4 @@
|
||||
|
||||
DIRS += ['communicator']
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -51,6 +51,7 @@ _MOZBUILD_EXTERNAL_VARIABLES := \
|
||||
HOST_PROGRAM \
|
||||
HOST_SIMPLE_PROGRAMS \
|
||||
IS_COMPONENT \
|
||||
JAR_MANIFEST \
|
||||
JAVA_JAR_TARGETS \
|
||||
JS_MODULES_PATH \
|
||||
LIBRARY_NAME \
|
||||
|
@ -1284,8 +1284,6 @@ endif # SDK_BINARY
|
||||
################################################################################
|
||||
# CHROME PACKAGING
|
||||
|
||||
JAR_MANIFEST := $(srcdir)/jar.mn
|
||||
|
||||
chrome::
|
||||
$(MAKE) realchrome
|
||||
$(LOOP_OVER_PARALLEL_DIRS)
|
||||
@ -1294,7 +1292,7 @@ chrome::
|
||||
|
||||
$(FINAL_TARGET)/chrome: $(call mkdir_deps,$(FINAL_TARGET)/chrome)
|
||||
|
||||
ifneq (,$(wildcard $(JAR_MANIFEST)))
|
||||
ifneq (,$(JAR_MANIFEST))
|
||||
ifndef NO_DIST_INSTALL
|
||||
|
||||
ifdef XPI_NAME
|
||||
@ -1321,6 +1319,13 @@ libs realchrome:: $(FINAL_TARGET)/chrome
|
||||
$(JAR_MANIFEST))
|
||||
|
||||
endif
|
||||
|
||||
# This is a temporary check to ensure patches relying on the old behavior
|
||||
# of silently picking up jar.mn files continue to work.
|
||||
else # No JAR_MANIFEST
|
||||
ifneq (,$(wildcard $(srcdir)/jar.mn))
|
||||
$(error $(srcdir) contains a jar.mn file but this file is not declared in a JAR_MANIFESTS variable in a moz.build file)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifneq ($(DIST_FILES),)
|
||||
|
@ -5,7 +5,9 @@
|
||||
|
||||
LOCALE_SRCDIR = $(srcdir)/l10n
|
||||
|
||||
EXTERNALLY_MANAGED_MAKE_FILE := 1
|
||||
STANDALONE_MAKEFILE := 1
|
||||
JAR_MANIFEST := $(srcdir)/jar.mn
|
||||
|
||||
include $(topsrcdir)/config/config.mk
|
||||
|
||||
|
@ -4,3 +4,4 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -4,3 +4,4 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -4,3 +4,4 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -4,3 +4,4 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -4,3 +4,4 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -4,3 +4,4 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -4,3 +4,4 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -4,3 +4,4 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -4,3 +4,4 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -18,3 +18,5 @@ EXTRA_COMPONENTS += [
|
||||
EXTRA_JS_MODULES += [
|
||||
'Keyboard.jsm',
|
||||
]
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -116,3 +116,5 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('android', 'gtk2', 'gonk', 'qt'):
|
||||
for var in ('MOZ_PERMISSIONS', 'MOZ_CHILD_PERMISSIONS'):
|
||||
if CONFIG[var]:
|
||||
DEFINES[var] = True
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -4,3 +4,4 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -13,3 +13,5 @@ DIRS += [
|
||||
'geolocation',
|
||||
'notification',
|
||||
]
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -233,3 +233,5 @@ LOCAL_INCLUDES += [
|
||||
]
|
||||
|
||||
FINAL_LIBRARY = 'xul'
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -51,6 +51,7 @@ _MOZBUILD_EXTERNAL_VARIABLES := \
|
||||
HOST_PROGRAM \
|
||||
HOST_SIMPLE_PROGRAMS \
|
||||
IS_COMPONENT \
|
||||
JAR_MANIFEST \
|
||||
JAVA_JAR_TARGETS \
|
||||
JS_MODULES_PATH \
|
||||
LIBRARY_NAME \
|
||||
|
@ -1284,8 +1284,6 @@ endif # SDK_BINARY
|
||||
################################################################################
|
||||
# CHROME PACKAGING
|
||||
|
||||
JAR_MANIFEST := $(srcdir)/jar.mn
|
||||
|
||||
chrome::
|
||||
$(MAKE) realchrome
|
||||
$(LOOP_OVER_PARALLEL_DIRS)
|
||||
@ -1294,7 +1292,7 @@ chrome::
|
||||
|
||||
$(FINAL_TARGET)/chrome: $(call mkdir_deps,$(FINAL_TARGET)/chrome)
|
||||
|
||||
ifneq (,$(wildcard $(JAR_MANIFEST)))
|
||||
ifneq (,$(JAR_MANIFEST))
|
||||
ifndef NO_DIST_INSTALL
|
||||
|
||||
ifdef XPI_NAME
|
||||
@ -1321,6 +1319,13 @@ libs realchrome:: $(FINAL_TARGET)/chrome
|
||||
$(JAR_MANIFEST))
|
||||
|
||||
endif
|
||||
|
||||
# This is a temporary check to ensure patches relying on the old behavior
|
||||
# of silently picking up jar.mn files continue to work.
|
||||
else # No JAR_MANIFEST
|
||||
ifneq (,$(wildcard $(srcdir)/jar.mn))
|
||||
$(error $(srcdir) contains a jar.mn file but this file is not declared in a JAR_MANIFESTS variable in a moz.build file)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifneq ($(DIST_FILES),)
|
||||
|
@ -121,3 +121,5 @@ LOCAL_INCLUDES += [
|
||||
'../tables',
|
||||
'../xul',
|
||||
]
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -31,3 +31,5 @@ LOCAL_INCLUDES += [
|
||||
'/layout/generic',
|
||||
'/layout/xul',
|
||||
]
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -46,3 +46,5 @@ if CONFIG['ENABLE_TESTS']:
|
||||
PARALLEL_DIRS += [
|
||||
'tests',
|
||||
]
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -154,3 +154,5 @@ LOCAL_INCLUDES += [
|
||||
'../xul',
|
||||
'/dom/base',
|
||||
]
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -4,3 +4,4 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -4,3 +4,4 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -8,3 +8,5 @@ EXTRA_COMPONENTS += [
|
||||
'recording-cmdline.js',
|
||||
'recording-cmdline.manifest',
|
||||
]
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -8,3 +8,4 @@ EXTRA_COMPONENTS += [
|
||||
'reftest-cmdline.js',
|
||||
]
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -4,3 +4,4 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -4,3 +4,4 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -4,3 +4,4 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -4,3 +4,4 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -4,3 +4,4 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -4,3 +4,4 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -4,3 +4,4 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -4,3 +4,4 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -4,3 +4,4 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -4,3 +4,4 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -8,3 +8,5 @@ DEFINES['AB_CD'] = CONFIG['MOZ_UI_LOCALE']
|
||||
DEFINES['PACKAGE'] = 'browser'
|
||||
DEFINES['MOZ_APP_VERSION'] = CONFIG['MOZ_APP_VERSION']
|
||||
DEFINES['ANDROID_PACKAGE_NAME'] = CONFIG['ANDROID_PACKAGE_NAME']
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -4,3 +4,4 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -4,3 +4,4 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -4,3 +4,4 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -4,3 +4,4 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -16,3 +16,4 @@ EXTRA_COMPONENTS += [
|
||||
'httpd.js',
|
||||
]
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -687,11 +687,6 @@ class RecursiveMakeBackend(CommonBackend):
|
||||
self.log(logging.DEBUG, 'stub_makefile',
|
||||
{'path': makefile}, 'Creating stub Makefile: {path}')
|
||||
|
||||
# Can't skip directories with a jar.mn for the 'libs' tier.
|
||||
if bf.relobjdir in self._may_skip['libs'] and \
|
||||
os.path.exists(mozpath.join(srcdir, 'jar.mn')):
|
||||
self._may_skip['libs'].remove(bf.relobjdir)
|
||||
|
||||
obj = self.Substitution()
|
||||
obj.output_path = makefile
|
||||
obj.input_path = makefile_in
|
||||
|
@ -390,6 +390,17 @@ class TreeMetadataEmitter(LoggingMixin):
|
||||
for path in jar_manifests:
|
||||
yield JARManifest(sandbox, mozpath.join(sandbox['SRCDIR'], path))
|
||||
|
||||
# Temporary test to look for jar.mn files that creep in without using
|
||||
# the new declaration. Before, we didn't require jar.mn files to
|
||||
# declared anywhere (they were discovered). This will detect people
|
||||
# relying on the old behavior.
|
||||
if os.path.exists(os.path.join(sandbox['SRCDIR'], 'jar.mn')):
|
||||
if 'jar.mn' not in jar_manifests:
|
||||
raise SandboxValidationError('A jar.mn exists in %s but it '
|
||||
'is not referenced in the corresponding moz.build file. '
|
||||
'Please define JAR_MANIFESTS in the moz.build file.' %
|
||||
sandbox['SRCDIR'])
|
||||
|
||||
for name, jar in sandbox.get('JAVA_JAR_TARGETS', {}).items():
|
||||
yield SandboxWrapped(sandbox, jar)
|
||||
|
||||
|
@ -4,3 +4,4 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -4,3 +4,4 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -4,3 +4,4 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
||||
|
@ -4,3 +4,4 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -8,3 +8,5 @@ DIRS += ['components', 'atoms']
|
||||
|
||||
if CONFIG['ENABLE_TESTS']:
|
||||
DEFINES['ENABLE_TESTS'] = True
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -17,3 +17,5 @@ if CONFIG['MOZ_BUILD_APP'] == 'mobile/android':
|
||||
DIRS += ['roboextender']
|
||||
|
||||
XPI_NAME = 'mochijar'
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -9,3 +9,5 @@ EXTRA_COMPONENTS += [
|
||||
]
|
||||
|
||||
XPI_NAME = 'specialpowers'
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -5,3 +5,5 @@
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
TEST_DIRS += ['tests']
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -20,3 +20,5 @@ UNIFIED_SOURCES += [
|
||||
include('/ipc/chromium/chromium-config.mozbuild')
|
||||
|
||||
FINAL_LIBRARY = 'toolkitcomps'
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -4,3 +4,4 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -10,3 +10,5 @@ EXTRA_COMPONENTS += [
|
||||
'jsconsole-clhandler.js',
|
||||
'jsconsole-clhandler.manifest',
|
||||
]
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -4,3 +4,4 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -23,3 +23,5 @@ if CONFIG['MOZ_XUL'] and \
|
||||
'test',
|
||||
]
|
||||
FINAL_LIBRARY = 'xul'
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -4,3 +4,4 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
@ -33,3 +33,5 @@ EXTRA_JS_MODULES += [
|
||||
'InsecurePasswordUtils.jsm',
|
||||
'LoginManagerContent.jsm',
|
||||
]
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user