blob: 1753b184a26cd776b424961987201ab2feaebf0f [file] [edit]
use strict;
open(SRC, $ARGV[0]) or die "$!";
open(DST, '>', $ARGV[1]) or die "$!";
while (<SRC>) {
# This is a subset of the postprocessing transformations done by Xcode in
# `Source/WebKit/Scripts/postprocess-header-rule`. Add more as they become
# necessary for CMake.
s/<WebKitLegacy/<WebKit/g;
print DST $_;
}