summaryrefslogtreecommitdiff
path: root/netwerk/cache2
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2022-09-04 11:50:24 +0000
committerMoonchild <moonchild@palemoon.org>2022-09-04 11:50:24 +0000
commit92452d76147e70960791f18a3db487ba9f73b446 (patch)
treede6f721496a1f4855043655012877c07cdafaa4d /netwerk/cache2
parent74124f150b7167b69f0f4ae6657489c5db556ad3 (diff)
downloaduxp-92452d76147e70960791f18a3db487ba9f73b446.tar.gz
Issue #80 - reinstated unified building for some large chunks of our code.
This should reduce compile complexity saving time and reducing linker stress.
Diffstat (limited to 'netwerk/cache2')
-rw-r--r--netwerk/cache2/moz.build8
1 files changed, 6 insertions, 2 deletions
diff --git a/netwerk/cache2/moz.build b/netwerk/cache2/moz.build
index bc8dd0e426..90473a1d29 100644
--- a/netwerk/cache2/moz.build
+++ b/netwerk/cache2/moz.build
@@ -20,8 +20,7 @@ EXPORTS += [
'CacheStorageService.h',
]
-SOURCES += [
- 'AppCacheStorage.cpp',
+UNIFIED_SOURCES += [
'CacheEntry.cpp',
'CacheFile.cpp',
'CacheFileChunk.cpp',
@@ -43,6 +42,11 @@ SOURCES += [
'OldWrappers.cpp',
]
+# AppCacheStorage.cpp cannot be built in unified mode because it uses plarena.h.
+SOURCES += [
+ 'AppCacheStorage.cpp',
+]
+
LOCAL_INCLUDES += [
'/netwerk/base',
'/netwerk/cache',