Closed Bug 1345998 Opened 9 years ago Closed 9 years ago

Clean up some unused libs and delayloads in xul.dll.

Categories

(Firefox Build System :: General, enhancement)

enhancement
Not set
normal

Tracking

(firefox55 fixed)

RESOLVED FIXED
mozilla55
Tracking Status
firefox55 --- fixed

People

(Reporter: away, Assigned: away)

Details

Attachments

(1 file)

Attached patch delayload — — Splinter Review
1:51.63 LINK : warning LNK4199: /DELAYLOAD:dbghelp.dll ignored; no imports found from dbghelp.dll 1:51.63 LINK : warning LNK4199: /DELAYLOAD:PowrProf.dll ignored; no imports found from PowrProf.dll 1:51.63 LINK : warning LNK4199: /DELAYLOAD:rasapi32.dll ignored; no imports found from rasapi32.dll 1:51.63 LINK : warning LNK4199: /DELAYLOAD:rasdlg.dll ignored; no imports found from rasdlg.dll
Attachment #8845623 - Flags: review?(mh+mozilla)
It looks like windowscodecs.lib can go as well.
Comment on attachment 8845623 [details] [diff] [review] delayload Review of attachment 8845623 [details] [diff] [review]: ----------------------------------------------------------------- ::: toolkit/library/moz.build @@ -23,5 @@ > SHARED_LIBRARY_NAME = 'xul' > > DELAYLOAD_DLLS += [ > 'comdlg32.dll', > - 'dbghelp.dll', fun fact: the dbghelp dependency moved to mozglue.dll when stackwalk moved there 2 years ago... but it doesn't have a delayload there. @@ -28,3 @@ > 'netapi32.dll', > - 'PowrProf.dll', > - 'rasapi32.dll', rasapi and rasdlg are leftover from bug 1236969. You can also remove rasdlg.h, raserror.h and ras.h from config/system_headers, although, for some reason the latter is used in toolkit/system/windowsproxy/nsWindowsSystemProxySettings.cpp, but it doesn't look like it's used for anything that would require the header to be in config/system_headers (which is also why there's no dependency on the libs).
Attachment #8845623 - Flags: review?(mh+mozilla) → review+
Pushed by dmajor@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/c26f90d92f42 Clean up some unused libs and delayloads in xul.dll. r=glandium
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: