Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GTK][WPE] clear-webkit with derived-sources-only should not remove COG ninja file #28387

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Tools/Scripts/clean-webkit
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ def removeDerivedSources(fs):
if dirname == 'DerivedSources':
derived_sources.append(os.path.join(root, dirname))
for filename in files:
if filename.endswith(".ninja"):
# Don't remove build.ninja file for COG
if filename.endswith(".ninja") and root.find("cog") == -1:
path = os.path.join(root, filename)
ninja_files.append(path)
for each in derived_sources:
Expand Down