Closed Bug 1155776 Opened 9 years ago Closed 9 years ago

move USE_EXTENSION_MANIFEST to moz.build

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(firefox40 fixed)

RESOLVED FIXED
mozilla40
Tracking Status
firefox40 --- fixed

People

(Reporter: froydnj, Assigned: froydnj)

References

Details

Attachments

(1 file)

      No description provided.
This patch could probably be improved if I understood what the check-jar-mn
tests in config/Makefile.in were testing and why they were trying to use
USE_EXTENSION_MANFEST.  Not completely usre about the documentation for the
moz.build variable...
Attachment #8594073 - Flags: review?(mshal)
Comment on attachment 8594073 [details] [diff] [review]
move USE_EXTENSION_MANIFEST to moz.build

>diff --git a/python/mozbuild/mozbuild/backend/recursivemake.py b/python/mozbuild/mozbuild/backend/recursivemake.py
>index 99c3a9b..6d6a2d8 100644
>--- a/python/mozbuild/mozbuild/backend/recursivemake.py
>+++ b/python/mozbuild/mozbuild/backend/recursivemake.py
>@@ -109,16 +109,18 @@ MOZBUILD_VARIABLES = [
>     'SDK_LIBRARY',
>     'SHARED_LIBRARY_LIBS',
>     'SHARED_LIBRARY_NAME',
>     'SIMPLE_PROGRAMS',
>     'SONAME',
>     'STATIC_LIBRARY_NAME',
>     'TEST_DIRS',
>     'TOOL_DIRS',
>+    # XXX config/Makefile.in specifies this in a make invocation
>+    #'USE_EXTENSION_MANIFEST',

The config/Makefile.in invocation comes from bug 440675, and just appears to be a build system unit test to verify that the jar.mn processing works with USE_EXTENSION_MANIFEST=1. Moving config/tests/src-simple to a check in moz.build could probably be done as a separate bug.

>+    'USE_EXTENSION_MANIFEST': (bool, bool,
>+        """Whether to create chrome.manifest instead of jarfile.manifest for
>+        directories that define JAR_MANIFEST.
>+        """, None),

Might help to be a bit more explicit that you set it to True to create chrome.manifest, and that the default if unspecified is to create a jarfile.manifest.
Attachment #8594073 - Flags: review?(mshal) → review+
https://hg.mozilla.org/mozilla-central/rev/eafb8c976ae2
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
See Also: → 1158774
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: