mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 08:15:31 +00:00
Bug 1577046 - Tie extra-bindgen-flags file creation to cranelift. r=chmanchester
We only recurse into js/src/rust when jsrust is built, which it may not be in Gecko builds. But cranelift, which may be enabled either way, needs the extra-bindgen-flags file. Differential Revision: https://phabricator.services.mozilla.com/D43699 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
8de5cc2d2f
commit
02f319bd8c
@ -47,6 +47,9 @@ for stlfile in ['jsdate.*', 'jsnum.*']:
|
|||||||
with Files('builtin/intl/*'):
|
with Files('builtin/intl/*'):
|
||||||
BUG_COMPONENT = component_intl
|
BUG_COMPONENT = component_intl
|
||||||
|
|
||||||
|
if CONFIG['ENABLE_WASM_CRANELIFT']:
|
||||||
|
CONFIGURE_SUBST_FILES += ['rust/extra-bindgen-flags']
|
||||||
|
|
||||||
if not CONFIG['JS_DISABLE_SHELL']:
|
if not CONFIG['JS_DISABLE_SHELL']:
|
||||||
DIRS += [
|
DIRS += [
|
||||||
'rust',
|
'rust',
|
||||||
|
@ -18,8 +18,6 @@ if CONFIG['ENABLE_WASM_CRANELIFT']:
|
|||||||
|
|
||||||
RustLibrary('jsrust', features)
|
RustLibrary('jsrust', features)
|
||||||
|
|
||||||
CONFIGURE_SUBST_FILES += ['extra-bindgen-flags']
|
|
||||||
|
|
||||||
if CONFIG['JS_SHARED_LIBRARY']:
|
if CONFIG['JS_SHARED_LIBRARY']:
|
||||||
FINAL_LIBRARY = 'js'
|
FINAL_LIBRARY = 'js'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user