| Summary: | [Big Sur] WK2 failing to build with `error: reference to 'WebDocumentView' is ambiguous` | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Elliott Williams <emw> | ||||
| Component: | Tools / Tests | Assignee: | Elliott Williams <emw> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | ap, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=238213 | ||||||
| Attachments: |
|
||||||
|
Description
Elliott Williams
2022-03-25 10:30:17 PDT
Created attachment 455783 [details]
Patch
Comment on attachment 455783 [details]
Patch
Since the build rule script changes are hard to read, here they are expanded:
+set -e
if [ "${WK_PLATFORM_NAME}" != macosx ]; then
echo "#import <WebKitLegacy/${INPUT_FILE_NAME}>" > "${SCRIPT_OUTPUT_FILE_0}"
else
"${SCRIPT_INPUT_FILE_0}"
fi
+echo "#import <WebKit/${INPUT_FILE_NAME}>" > "${SCRIPT_OUTPUT_FILE_1}"
+echo "#import <WebKit/${INPUT_FILE_NAME}>" > "${SCRIPT_OUTPUT_FILE_2}"
There are now two build rules, because any source file migrated from WebCore need special treatment. Since they've been migrated twice, they have two valid imports, <WebCore/foo> and <WebKitLegacy/foo>, that should be forwarded to <WebKit/foo>.
Committed r291900 (248893@main): <https://commits.webkit.org/248893@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 455783 [details]. |