Closed Bug 1564909 Opened 5 years ago Closed 5 years ago

Add js-standalone.mozbuild for tool binaries that use spidermonkey

Categories

(Core :: JavaScript Engine, task, P3)

task

Tracking

()

RESOLVED FIXED
mozilla70
Tracking Status
firefox70 --- fixed

People

(Reporter: tcampbell, Assigned: tcampbell)

Details

Attachments

(2 files)

We have a number of small binaries that use SpiderMonkey (jsapi-tests, jsshell, fuzzing, etc) and need additional build configs beyond what is in js/src/build/moz.build. There are generally libraries that gecko handles elsewhere in the build.

This bug adds a new js-standalone.mozbuild file to avoid duplication of this code for this small tools. Currently this includes the cranelift/jsrust library and zlib.

Consolidate build settings required by standalone builds into a single
mozbuild script. A full Gecko build does not use these settings and thus
we cannot simply put them in js/src/build/moz.build

These configurations are already taken care of in js/src/build/moz.build
and do not need to duplicated.

Depends on D37567

Pushed by tcampbell@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6f5ee39ab5c6
Add js-standalone.mozbuild. r=bbouvier,chmanchester
https://hg.mozilla.org/integration/autoland/rev/39b9c735cbaa
Test binaries do not need to manually include libatomic. r=chmanchester
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: