summaryrefslogtreecommitdiffstats
path: root/application/palemoon/app/moz.build
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2018-04-04 09:22:41 -0400
committerMatt A. Tobin <email@mattatobin.com>2018-04-04 09:22:41 -0400
commit199a592d86f0be9fa6852c55d26f99873bfdf5f3 (patch)
tree7b072499f86ac0170c3b21f5047c45f90fda12ec /application/palemoon/app/moz.build
parent20a62a90e6c320dafa8c22aabc5afcf2f532c93e (diff)
downloadUXP-199a592d86f0be9fa6852c55d26f99873bfdf5f3.tar
UXP-199a592d86f0be9fa6852c55d26f99873bfdf5f3.tar.gz
UXP-199a592d86f0be9fa6852c55d26f99873bfdf5f3.tar.lz
UXP-199a592d86f0be9fa6852c55d26f99873bfdf5f3.tar.xz
UXP-199a592d86f0be9fa6852c55d26f99873bfdf5f3.zip
[PALEMOON] Steal Basilisk's nsBrowserApp
Diffstat (limited to 'application/palemoon/app/moz.build')
-rw-r--r--application/palemoon/app/moz.build27
1 files changed, 3 insertions, 24 deletions
diff --git a/application/palemoon/app/moz.build b/application/palemoon/app/moz.build
index 28cd55a7e..f9955c097 100644
--- a/application/palemoon/app/moz.build
+++ b/application/palemoon/app/moz.build
@@ -7,10 +7,7 @@
DIRS += ['profile/extensions']
-if CONFIG['OS_ARCH'] == 'WINNT' and CONFIG['MOZ_ASAN']:
- GeckoProgram(CONFIG['MOZ_APP_NAME'])
-else:
- GeckoProgram(CONFIG['MOZ_APP_NAME'], msvcrt='static')
+GeckoProgram(CONFIG['MOZ_APP_NAME'])
JS_PREFERENCE_FILES += [
'profile/palemoon.js',
@@ -30,12 +27,6 @@ FINAL_TARGET_FILES.defaults.profile += ['profile/prefs.js']
DEFINES['APP_VERSION'] = CONFIG['MOZ_APP_VERSION']
-for var in ('MOZILLA_OFFICIAL', 'LIBXUL_SDK'):
- if CONFIG[var]:
- DEFINES[var] = True
-
-DEFINES['XPCOM_GLUE'] = True
-
LOCAL_INCLUDES += [
'!/build',
]
@@ -46,11 +37,9 @@ LOCAL_INCLUDES += [
'/xpcom/build',
]
-DELAYLOAD_DLLS += [
- 'mozglue.dll',
+USE_LIBS += [
+ 'mozglue',
]
-USE_STATIC_LIBS = True
-
if CONFIG['_MSC_VER']:
# Always enter a Windows program through wmain, whether or not we're
@@ -72,16 +61,6 @@ if CONFIG['OS_ARCH'] == 'WINNT':
if CONFIG['OS_ARCH'] == 'WINNT' and not CONFIG['GNU_CC']:
LDFLAGS += ['/HEAP:0x40000']
-if CONFIG['OS_ARCH'] == 'WINNT':
- USE_LIBS += [
- 'mozglue',
- 'xpcomglue_staticruntime',
- ]
-else:
- USE_LIBS += [
- 'xpcomglue',
- ]
-
DISABLE_STL_WRAPPING = True
if CONFIG['MOZ_LINKER']: