| Summary: | [iOS] WTF fails to build with public SDK due to missing header CPAggregateDictionary.h | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Daniel Bates <dbates> | ||||||||
| Component: | Tools / Tests | Assignee: | Daniel Bates <dbates> | ||||||||
| Status: | RESOLVED FIXED | ||||||||||
| Severity: | Normal | CC: | barraclough, benjamin, cdumez, cmarcelo, commit-queue, ddkilzer | ||||||||
| Priority: | P2 | ||||||||||
| Version: | 528+ (Nightly build) | ||||||||||
| Hardware: | iPhone / iPad | ||||||||||
| OS: | iOS 8.1 | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Daniel Bates
2014-12-16 12:34:49 PST
Created attachment 243377 [details]
Patch
Comment on attachment 243377 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=243377&action=review > Source/WTF/wtf/ios/FeatureCounter.mm:29 > #if PLATFORM(IOS) Why cannot we just and "&& USE(APPLE_INTERNAL_SDK)" here? (In reply to comment #2) > Comment on attachment 243377 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=243377&action=review > > > Source/WTF/wtf/ios/FeatureCounter.mm:29 > > #if PLATFORM(IOS) > > Why cannot we just and "&& USE(APPLE_INTERNAL_SDK)" here? We can. I assumed we wanted to count features in WebKit built with the public SDK. Comment on attachment 243377 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=243377&action=review >>> Source/WTF/wtf/ios/FeatureCounter.mm:29 >>> #if PLATFORM(IOS) >> >> Why cannot we just and "&& USE(APPLE_INTERNAL_SDK)" here? > > We can. I assumed we wanted to count features in WebKit built with the public SDK. I don't believe we want to do feature counting for anything else than Safari / MobileSafari at the moment. Created attachment 243384 [details]
Patch
Comment on attachment 243384 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=243384&action=review > Source/WTF/ChangeLog:9 > + as we only interested in counting features in builds of iOS WebKit that were built we only => we are only Comment on attachment 243384 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=243384&action=review > Source/WTF/wtf/ios/FeatureCounter.mm:29 > +#if PLATFORM(IOS) && USE(APPLE_INTERNAL_SDK) The #endif comment should be updated. We should also update the #if check in FeatureCounter.cpp otherwise we are going to get linking errors with the public SDK on iOS Created attachment 243387 [details]
Patch
Comment on attachment 243387 [details]
Patch
r=me, thanks.
Comment on attachment 243387 [details] Patch Clearing flags on attachment: 243387 Committed r177394: <http://trac.webkit.org/changeset/177394> All reviewed patches have been landed. Closing bug. |