WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
222346
Fix linker warnings building gtest for macCatalyst
https://bugs.webkit.org/show_bug.cgi?id=222346
Summary
Fix linker warnings building gtest for macCatalyst
Tim Horton
Reported
2021-02-23 23:51:54 PST
Fix linker warnings building gtest for macCatalyst
Attachments
Patch
(2.31 KB, patch)
2021-02-23 23:52 PST
,
Tim Horton
no flags
Details
Formatted Diff
Diff
Patch
(1.46 KB, patch)
2021-02-24 11:51 PST
,
Tim Horton
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Tim Horton
Comment 1
2021-02-23 23:52:14 PST
Created
attachment 421388
[details]
Patch
Tim Horton
Comment 2
2021-02-23 23:52:18 PST
<
rdar://problem/74405116
>
Alexey Proskuryakov
Comment 3
2021-02-24 09:54:07 PST
Comment on
attachment 421388
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=421388&action=review
r=me too, with comments.
> Source/ThirdParty/gtest/xcode/Config/FrameworkTarget.xcconfig:22 > +INSTALL_PATH_SDK_VARIANT_macos = $(MACOS_UNZIPPERED_TWIN_PRIVATE_FRAMEWORK_INSTALL_PATH); > +INSTALL_PATH_SDK_VARIANT_iosmac = $(IOS_UNZIPPERED_TWIN_PRIVATE_FRAMEWORK_INSTALL_PATH);
This is not how we do this elsewhere (cf. WK_ALTERNATE_FRAMEWORKS_DIR). Do we need to modernize all other projects to use these constants? Do they exist on all OS versions we need?
> Source/ThirdParty/gtest/xcode/Config/General.xcconfig:11 > +#include "<DEVELOPER_DIR>/AppleInternal/XcodeConfig/PlatformSupport.xcconfig"
Shouldn't this be "include?"? It is in other projects, and obviously not everyone has it.
Alexey Proskuryakov
Comment 4
2021-02-24 09:56:28 PST
Also, I don't imagine that removing INSTALL_PATH altogether fixes the problem - or does it?
Tim Horton
Comment 5
2021-02-24 10:18:56 PST
Comment on
attachment 421388
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=421388&action=review
>> Source/ThirdParty/gtest/xcode/Config/FrameworkTarget.xcconfig:22 >> +INSTALL_PATH_SDK_VARIANT_iosmac = $(IOS_UNZIPPERED_TWIN_PRIVATE_FRAMEWORK_INSTALL_PATH); > > This is not how we do this elsewhere (cf. WK_ALTERNATE_FRAMEWORKS_DIR). Do we need to modernize all other projects to use these constants? Do they exist on all OS versions we need?
They do exist where we need them, and I don't think any of the other parts of this matter?
>> Source/ThirdParty/gtest/xcode/Config/General.xcconfig:11 >> +#include "<DEVELOPER_DIR>/AppleInternal/XcodeConfig/PlatformSupport.xcconfig" > > Shouldn't this be "include?"? It is in other projects, and obviously not everyone has it.
Yes, this is a good point.
Tim Horton
Comment 6
2021-02-24 10:19:18 PST
(In reply to Alexey Proskuryakov from
comment #4
)
> Also, I don't imagine that removing INSTALL_PATH altogether fixes the > problem - or does it?
I have not tried that!
Tim Horton
Comment 7
2021-02-24 11:45:41 PST
(In reply to Tim Horton from
comment #6
)
> (In reply to Alexey Proskuryakov from
comment #4
) > > Also, I don't imagine that removing INSTALL_PATH altogether fixes the > > problem - or does it? > > I have not tried that!
It does!
Tim Horton
Comment 8
2021-02-24 11:51:01 PST
Created
attachment 421435
[details]
Patch
Alexey Proskuryakov
Comment 9
2021-02-24 12:58:09 PST
Comment on
attachment 421435
[details]
Patch Yay.
EWS
Comment 10
2021-02-24 13:13:30 PST
Committed
r273430
: <
https://commits.webkit.org/r273430
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 421435
[details]
.
Alexey Proskuryakov
Comment 11
2021-02-24 16:41:09 PST
> They do exist where we need them, and I don't think any of the other parts of this matter?
Doesn't matter for landing the original patch, definitely doesn't matter for the final patch, matters for understanding what future cleanup is ahead of us. Using multiple ways to do the same thing forever wouldn't have been great.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug