Bug 1241022 - Move JAR_MANIFESTS. r=gps
authorMike Hommey <mh+mozilla@glandium.org>
Wed, 20 Jan 2016 15:22:52 +0900
changeset 280882 6bb5987487b5a0825d731279810b7859ccdb9b26
parent 280881 e24d733ce7158706431359a8aabe07cc7bfc5128
child 280883 6153051b0291f4405b04b03432a9faabd10696e4
push id29922
push usercbook@mozilla.com
push dateThu, 21 Jan 2016 10:51:00 +0000
treeherdermozilla-central@977d78a8dd78 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1241022 - Move JAR_MANIFESTS. r=gps JAR_MANIFESTS affects the libs tiers through config/rules.mk rules. While we could move the rules in the backend, they are too complex to just do that now.
--- a/python/mozbuild/mozbuild/backend/recursivemake.py
+++ b/python/mozbuild/mozbuild/backend/recursivemake.py
@@ -532,16 +532,17 @@ class RecursiveMakeBackend(CommonBackend
            backend=' backend.mk' if obj.flags else '',
         elif isinstance(obj, TestHarnessFiles):
             self._process_test_harness_files(obj, backend_file)
         elif isinstance(obj, JARManifest):
+            self._no_skip['libs'].add(backend_file.relobjdir)
             backend_file.write('JAR_MANIFEST := %s\n' % obj.path.full_path)
         elif isinstance(obj, Program):
             self._process_program(obj.program, backend_file)
             self._process_linked_libraries(obj, backend_file)
         elif isinstance(obj, HostProgram):
             self._process_host_program(obj.program, backend_file)
--- a/python/mozbuild/mozbuild/frontend/context.py
+++ b/python/mozbuild/mozbuild/frontend/context.py
@@ -1349,17 +1349,17 @@ VARIABLES = {
         """, None),
     'JAR_MANIFESTS': (ContextDerivedTypedList(SourcePath, StrictOrderingOnAppendList), list,
         """JAR manifest files that should be processed as part of the build.
         JAR manifests are files in the tree that define how to package files
         into JARs and how chrome registration is performed. For more info,
         see :ref:`jar_manifests`.
-        """, 'libs'),
+        """, None),
     # IDL Generation.
     'XPIDL_SOURCES': (StrictOrderingOnAppendList, list,
         """XPCOM Interface Definition Files (xpidl).
         This is a list of files that define XPCOM interface definitions.
         Entries must be files that exist. Entries are almost certainly ``.idl``