Bug 139286 - FeatureDefines.xcconfig: Workaround bug in Xcode 5.1.1 when defining ENABLE_WEB_REPLAY
Summary: FeatureDefines.xcconfig: Workaround bug in Xcode 5.1.1 when defining ENABLE_W...
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.8
: P2 Normal
Assignee: David Kilzer (:ddkilzer)
Depends on: 138813
  Show dependency treegraph
Reported: 2014-12-04 21:13 PST by David Kilzer (:ddkilzer)
Modified: 2014-12-05 09:55 PST (History)
7 users (show)

See Also:

Patch v1 (6.54 KB, patch)
2014-12-04 21:19 PST, David Kilzer (:ddkilzer)
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Kilzer (:ddkilzer) 2014-12-04 21:13:08 PST
Xcode 5.1.1 has a bug where using an SDK selector ([sdk=macosx*]) on the LHS of a variable definition and a sub-variable expression on the RHS causes the entire expression to be ignored.

In other words, when building with Xcode 5.1.1 on 10.8, this line in FeatureDefines.xcconfig is completely ignored:


The workaround is to switch back to using PLATFORM_NAME and remove the SDK selector as long as 10.8 is supported.
Comment 1 David Kilzer (:ddkilzer) 2014-12-04 21:19:14 PST
Created attachment 242615 [details]
Patch v1
Comment 2 WebKit Commit Bot 2014-12-05 09:55:03 PST
Comment on attachment 242615 [details]
Patch v1

Clearing flags on attachment: 242615

Committed r176846: <http://trac.webkit.org/changeset/176846>
Comment 3 WebKit Commit Bot 2014-12-05 09:55:06 PST
All reviewed patches have been landed.  Closing bug.