RESOLVED FIXED 183576
Add and adopt WK_ALTERNATE_FRAMEWORKS_DIR in WTF and bmalloc
https://bugs.webkit.org/show_bug.cgi?id=183576
Summary Add and adopt WK_ALTERNATE_FRAMEWORKS_DIR in WTF and bmalloc
Tim Horton
Reported 2018-03-12 13:40:28 PDT
Add and adopt WK_ALTERNATE_FRAMEWORKS_DIR in WTF
Attachments
Patch (3.39 KB, patch)
2018-03-12 16:54 PDT, Tim Horton
no flags
Patch (4.22 KB, patch)
2018-03-13 12:10 PDT, Tim Horton
no flags
Patch (7.22 KB, patch)
2018-03-13 14:41 PDT, Tim Horton
no flags
Patch (7.21 KB, patch)
2018-03-13 16:03 PDT, Tim Horton
no flags
Radar WebKit Bug Importer
Comment 1 2018-03-12 16:46:17 PDT
Tim Horton
Comment 2 2018-03-12 16:54:40 PDT
Tim Horton
Comment 3 2018-03-12 19:14:02 PDT
This isn’t quite sufficient.
Lucas Forschler
Comment 4 2018-03-13 09:31:04 PDT
WKBI was failing to import smart quotes u2019. Attempted fix, let's see if this comment goes through now.
Tim Horton
Comment 5 2018-03-13 12:10:32 PDT
mitz
Comment 6 2018-03-13 12:13:08 PDT
Comment on attachment 335709 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=335709&action=review > Source/WTF/Configurations/Base.xcconfig:137 > +WTF_INSTALL_PATH_PREFIX = $(WTF_INSTALL_PATH_PREFIX_$(WK_USE_ALTERNATE_FRAMEWORKS_DIR)); > +WTF_INSTALL_PATH_PREFIX_YES = $(WK_ALTERNATE_FRAMEWORKS_DIR)/; Is this going to be defined differently in other projects in the stack? If not, then maybe this can be WK_INSTALL_PATH_PREFIX?
Tim Horton
Comment 7 2018-03-13 12:14:12 PDT
(In reply to mitz from comment #6) > Comment on attachment 335709 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=335709&action=review > > > Source/WTF/Configurations/Base.xcconfig:137 > > +WTF_INSTALL_PATH_PREFIX = $(WTF_INSTALL_PATH_PREFIX_$(WK_USE_ALTERNATE_FRAMEWORKS_DIR)); > > +WTF_INSTALL_PATH_PREFIX_YES = $(WK_ALTERNATE_FRAMEWORKS_DIR)/; > > Is this going to be defined differently in other projects in the stack? If > not, then maybe this can be WK_INSTALL_PATH_PREFIX? The other projects will probably do some dance with WK_OVERRIDE_FRAMEWORKS_DIR instead of this.
mitz
Comment 8 2018-03-13 12:59:52 PDT
Comment on attachment 335709 [details] Patch I think this is wrong for bmalloc reasons which we discussed in person.
Tim Horton
Comment 9 2018-03-13 14:41:21 PDT
mitz
Comment 10 2018-03-13 14:48:00 PDT
Comment on attachment 335733 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=335733&action=review > Source/WTF/Configurations/Base.xcconfig:93 > +HEADER_SEARCH_PATHS = $(BUILT_PRODUCTS_DIR)/$(WTF_INSTALL_PATH_PREFIX)/usr/local/include $(DSTROOT)/$(WTF_INSTALL_PATH_PREFIX)/usr/local/include $(HEADER_SEARCH_PATHS); I think you can count on WTF_INSTALL_PATH_PREFIX to begin with a / if it’s nonempty. And you may change $(HEADER_SEARCH_PATHS) to $(inherited)! > Source/WTF/Configurations/Base.xcconfig:94 > +SYSTEM_HEADER_SEARCH_PATHS = $(inherited) $(SDK_DIR)/$(WTF_INSTALL_PATH_PREFIX)/usr/local/include; Don’t we want to search in the alternate location first? Things may exist in both locations. Ditto about the leading /. > Source/WTF/Configurations/Base.xcconfig:95 > +LIBRARY_SEARCH_PATHS = $(inherited) $(SDK_DIR)/$(WTF_INSTALL_PATH_PREFIX)/usr/local/lib; Ditto on both counts.
Tim Horton
Comment 11 2018-03-13 16:03:03 PDT
WebKit Commit Bot
Comment 12 2018-03-13 16:18:45 PDT
Comment on attachment 335740 [details] Patch Clearing flags on attachment: 335740 Committed r229591: <https://trac.webkit.org/changeset/229591>
WebKit Commit Bot
Comment 13 2018-03-13 16:18:47 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.