mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 23:02:20 +00:00
Bug 1722652 - Reduce the number of flags passed to bindgen. r=firefox-build-system-reviewers,necko-reviewers,andi,dragana
Originally, we only were using bindgen for stylo, and we also went a bit overkill by including a lot of extra CFLAGS in there, which end up being unnecessary. So we now only pass a more minimal set of flags, and add some extra CFLAGS in cases where they are necessary. Differential Revision: https://phabricator.services.mozilla.com/D121043
This commit is contained in:
parent
4dce5725b3
commit
e0929c4c22
@ -375,4 +375,4 @@ def bindgen_cflags(base_flags, extra_flags):
|
||||
return " ".join(flags)
|
||||
|
||||
|
||||
add_old_configure_assignment("_BINDGEN_CFLAGS", bindgen_cflags)
|
||||
set_config("BINDGEN_SYSTEM_FLAGS", bindgen_cflags)
|
||||
|
@ -1404,9 +1404,6 @@ if test -n "$MOZ_DEV_EDITION"; then
|
||||
AC_DEFINE(MOZ_DEV_EDITION)
|
||||
fi
|
||||
|
||||
BINDGEN_SYSTEM_FLAGS="$_BINDGEN_CFLAGS $NSPR_CFLAGS"
|
||||
AC_SUBST(BINDGEN_SYSTEM_FLAGS)
|
||||
|
||||
dnl ========================================================
|
||||
dnl JavaScript shell
|
||||
dnl ========================================================
|
||||
|
@ -1 +1 @@
|
||||
@BINDGEN_SYSTEM_FLAGS@
|
||||
@BINDGEN_SYSTEM_FLAGS@ @NSPR_CFLAGS@ @NSS_CFLAGS@
|
||||
|
@ -2401,8 +2401,6 @@ AC_SUBST_LIST(MOZ_CAIRO_LIBS)
|
||||
AC_SUBST_LIST(MOZ_CAIRO_OSLIBS)
|
||||
AC_SUBST(MOZ_TREE_PIXMAN)
|
||||
|
||||
BINDGEN_SYSTEM_FLAGS="$_BINDGEN_CFLAGS $NSPR_CFLAGS $NSS_CFLAGS $MOZ_PIXMAN_CFLAGS $MOZ_CAIRO_CFLAGS"
|
||||
AC_SUBST(BINDGEN_SYSTEM_FLAGS)
|
||||
dnl ========================================================
|
||||
dnl disable xul
|
||||
dnl ========================================================
|
||||
|
Loading…
Reference in New Issue
Block a user