Bug 313841
| Summary: | [TestWebKitAPI] Export testing symbols in Production builds when FORCE_TOOL_INSTALL=YES | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | David Kilzer (:ddkilzer) <ddkilzer> |
| Component: | Tools / Tests | Assignee: | David Kilzer (:ddkilzer) <ddkilzer> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
David Kilzer (:ddkilzer)
Production builds that set `FORCE_TOOL_INSTALL=YES` fail to link TestWebKitAPI because `WK_BUILD_FOR_TESTING` in WebKitLegacy is only set to `YES` in DebugRelease.xcconfig, which is not used by Production builds. This means testing symbols are absent from WebKitLegacy.framework, causing linker errors in TestWebKitAPI.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/176042664>
David Kilzer (:ddkilzer)
Pull request: https://github.com/WebKit/WebKit/pull/64059
David Kilzer (:ddkilzer)
Duping to Bug 313900, which replaces this change by eliminating WK_BUILD_FOR_TESTING entirely instead of extending it to Production builds.
*** This bug has been marked as a duplicate of bug 313900 ***