Bug 16252 - build-webkit --clean should remove generated files
Summary: build-webkit --clean should remove generated files
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Windows XP
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-02 09:42 PST by Adam Roben (:aroben)
Modified: 2022-09-12 15:00 PDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Roben (:aroben) 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.
Comment 1 Matt Lilek 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?
Comment 2 Mark Rowe (bdash) 2007-12-02 18:14:45 PST
Matt, it's sometimes desirable to clean only the debug or release configuration, leaving the other intact.
Comment 3 Brian Campbell 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}.
Comment 4 Ahmad Saleem 2022-09-12 14:05:44 PDT
Is this needed anymore? Thanks!
Comment 5 Alexey Proskuryakov 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.