зеркало из https://github.com/mozilla/gecko-dev.git
Define a global compiler and environment define, DETECT_WEBSHELL_LEAKS. This is used to compile in code that checks for webshell instances on shutdown and prints an error message to the console if webshells are being leaked.
This commit is contained in:
Родитель
ebc32d984f
Коммит
0076f7548d
|
@ -196,6 +196,12 @@ CFLAGS=$(CFLAGS) -DSTAND_ALONE_JAVA
|
|||
NECKO=1
|
||||
CFLAGS=$(CFLAGS) -DNECKO
|
||||
|
||||
# XXX We need to remove this before we ship.
|
||||
# This causes a static linkage between the webshell
|
||||
# and xpfe.f
|
||||
DETECT_WEBSHELL_LEAKS=1
|
||||
CFLAGS=$(CFLAGS) -DDETECT_WEBSHELL_LEAKS
|
||||
|
||||
!ifndef MOZ_JAVA
|
||||
MOZ_OJI = 1 # on by default now
|
||||
!endif
|
||||
|
|
Загрузка…
Ссылка в новой задаче