mirror of
https://github.com/servo/servo.git
synced 2025-07-03 13:33:39 +01:00
geckolib: Define a few MOZ_* things to hack around more easily.
This commit is contained in:
parent
18b1cc68db
commit
13d7b33a04
1 changed files with 3 additions and 1 deletions
|
@ -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" \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue