allow macs with low memory to build optimized by setting the |lowmem| option. bug 72945. r=peterv/sr=shaver.
git-svn-id: svn://10.0.0.236/trunk@90570 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
6f39a499a2
commit
e4b5accaab
@ -221,6 +221,7 @@ sub SetOptionDefines($)
|
||||
$optiondefines->{"carbon"}{"TARGET_CARBON"} = 1;
|
||||
$optiondefines->{"cache"}{"MOZ_NEW_CACHE"} = 1;
|
||||
$optiondefines->{"soap"}{"MOZ_SOAP"} = 1;
|
||||
$optiondefines->{"lowmem"}{"MOZ_MAC_LOWMEM"} = 1;
|
||||
$optiondefines->{"ldap_experimental"}{"MOZ_LDAP_XPCOM_EXPERIMENTAL"} = 1;
|
||||
$optiondefines->{"useimg2"}{"USE_IMG2"} = 1;
|
||||
}
|
||||
|
||||
@ -55,6 +55,7 @@ embedding_test 1
|
||||
carbon 0
|
||||
cache 1
|
||||
useimg2 1
|
||||
lowmem 0
|
||||
|
||||
filepath_flags
|
||||
idepath ":CodeWarrior IDE Path.txt"
|
||||
|
||||
@ -23,6 +23,11 @@
|
||||
* Gagan Saksena <gagan@netscape.com>
|
||||
*/
|
||||
|
||||
/* build on macs with low memory */
|
||||
#if defined(XP_MAC) && defined(MOZ_MAC_LOWMEM)
|
||||
#pragma optimization_level 1
|
||||
#endif
|
||||
|
||||
#include <string.h>
|
||||
#include "nsCOMPtr.h"
|
||||
#include "nsIFileSpec.h"
|
||||
|
||||
@ -21,6 +21,11 @@
|
||||
* Pierre Phaneuf <pp@ludusdesign.com>
|
||||
*/
|
||||
|
||||
/* build on macs with low memory */
|
||||
#if defined(XP_MAC) && defined(MOZ_MAC_LOWMEM)
|
||||
#pragma optimization_level 1
|
||||
#endif
|
||||
|
||||
#include "nsHTMLEditRules.h"
|
||||
|
||||
#include "nsEditor.h"
|
||||
|
||||
@ -21,6 +21,11 @@
|
||||
* Pierre Phaneuf <pp@ludusdesign.com>
|
||||
*/
|
||||
|
||||
/* build on macs with low memory */
|
||||
#if defined(XP_MAC) && defined(MOZ_MAC_LOWMEM)
|
||||
#pragma optimization_level 1
|
||||
#endif
|
||||
|
||||
#include "nsHTMLEditRules.h"
|
||||
|
||||
#include "nsEditor.h"
|
||||
|
||||
@ -32,6 +32,11 @@
|
||||
* file under either the NPL or the GPL.
|
||||
*/
|
||||
|
||||
/* build on macs with low memory */
|
||||
#if defined(XP_MAC) && defined(MOZ_MAC_LOWMEM)
|
||||
#pragma optimization_level 1
|
||||
#endif
|
||||
|
||||
/*
|
||||
* JavaScript bytecode interpreter.
|
||||
*/
|
||||
|
||||
@ -23,6 +23,11 @@
|
||||
* Gagan Saksena <gagan@netscape.com>
|
||||
*/
|
||||
|
||||
/* build on macs with low memory */
|
||||
#if defined(XP_MAC) && defined(MOZ_MAC_LOWMEM)
|
||||
#pragma optimization_level 1
|
||||
#endif
|
||||
|
||||
#include <string.h>
|
||||
#include "nsCOMPtr.h"
|
||||
#include "nsIFileSpec.h"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user