geckolib: Define a few MOZ_* things to hack around more easily.

This commit is contained in:
Emilio Cobos Álvarez 2016-03-05 18:18:22 +01:00
parent 18b1cc68db
commit 13d7b33a04

View file

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
# Run in the tools directory. # Run in the tools directory.
cd `dirname $0` cd "$(dirname $0)"
if [ $# -ne 1 ]; then if [ $# -ne 1 ]; then
echo "Usage: $0 /path/to/gecko/objdir" echo "Usage: $0 /path/to/gecko/objdir"
@ -56,6 +56,8 @@ fi
$CLANG_SEARCH_DIRS \ $CLANG_SEARCH_DIRS \
"-I$DIST_INCLUDE" "-I$DIST_INCLUDE/nspr" \ "-I$DIST_INCLUDE" "-I$DIST_INCLUDE/nspr" \
$PLATFORM_DEPENDENT_DEFINES \ $PLATFORM_DEPENDENT_DEFINES \
-DMOZ_STRING_WITH_OBSOLETE_API=0 \
-DMOZ_STYLO_BINDINGS=1 \
-DDEBUG=1 -DTRACING=1 -DOS_POSIX=1 \ -DDEBUG=1 -DTRACING=1 -DOS_POSIX=1 \
-DMOZILLA_INTERNAL_API -DIMPL_LIBXUL \ -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL \
-include "$1/mozilla-config.h" \ -include "$1/mozilla-config.h" \