Bug 16252

Summary: build-webkit --clean should remove generated files
Product: WebKit Reporter: Adam Roben (:aroben) <aroben>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: ahmad.saleem792, ap, bfulgham, emw, ryanhaddad
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Windows XP   

Adam Roben (:aroben)
Reported 2007-12-02 09:42:25 PST
build-webkit --clean on Windows does not remove some of the generated files the build creates, such as the files generated by gperf. See bug 16210 for one instance where this caused problems for someone. It's possible we could fix this by adding all the generated files to the .vcproj.
Attachments
Matt Lilek
Comment 1 2007-12-02 10:43:51 PST
Is there any reason that build-webkit doesn't see --clean and just blow away the entire WebKitBuild directory?
Mark Rowe (bdash)
Comment 2 2007-12-02 18:14:45 PST
Matt, it's sometimes desirable to clean only the debug or release configuration, leaving the other intact.
Brian Campbell
Comment 3 2009-06-27 18:32:57 PDT
It appears that build-webkit --clean also doesn't delete generated files on the Mac. I spent a while trying to hunt a problem down with build-webkit --filters, until I realized that the build-webkit --clean that I had run hadn't deleted WebKitBuild/Release/DerivedSources/WebCore/SVGNames.{cpp,h}.
Ahmad Saleem
Comment 4 2022-09-12 14:05:44 PDT
Is this needed anymore? Thanks!
Alexey Proskuryakov
Comment 5 2022-09-12 15:00:34 PDT
For both Xcode and Visual Studio, build-webkit implements cleaning by passing an option to xcodebuild or MSBuild. I don't know if any generated files are missed when cleaning now. Wouldn't be surprised if this was still broken.
Note You need to log in before you can comment on or make changes to this bug.