[Webkit-unassigned] [Bug 235751] [XCBuild] Add headers-only dependencies to projects in Tools/

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 28 09:15:44 PST 2022


https://bugs.webkit.org/show_bug.cgi?id=235751

--- Comment #3 from Alexey Proskuryakov <ap at webkit.org> ---
Comment on attachment 450199
  --> https://bugs.webkit.org/attachment.cgi?id=450199
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=450199&action=review

> Source/ThirdParty/gtest/xcode/Config/StaticLibraryTarget.xcconfig:12
> +// Copy headers into /usr/local/include/gtest
> +PUBLIC_HEADERS_FOLDER_PATH = $(inherited)/gtest
> +PRIVATE_HEADERS_FOLDER_PATH = $(inherited)/gtest

Searching for _HEADERS_FOLDER_PATH in existing xcconfigs, it looks like we tend to do it slightly differently, without $inherited. We also always have a prefix - which maybe doesn't matter because we don't build gtest in production builds, but then I don't understand why these are the correct variables to use. If they don't affect anything in Xcode, and are only used by the project to set script phase dstPath, would it be more elegant to define our own variables?

> Tools/DumpRenderTree/mac/Configurations/DumpRenderTreeLibrary.xcconfig:33
> +EXCLUDED_SOURCE_FILE_NAMES = $(EXCLUDED_SOURCE_FILE_NAMES_$(WK_COCOA_TOUCH)) $(EXCLUDED_PRODUCT_DEPENDENCY_NAMES_$(WK_WHICH_BUILD_SYSTEM));

We don't need this in other xcconfigs in this directory?

Can this use $(inherited)?

> Tools/TestWebKitAPI/Configurations/TestWTFLibrary.xcconfig:30
> +EXCLUDED_SOURCE_FILE_NAMES = $(EXCLUDED_PRODUCT_DEPENDENCY_NAMES_$(WK_WHICH_BUILD_SYSTEM));

This overwrites EXCLUDED_SOURCE_FILE_NAMES from Base.xconfig AFAICT.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220128/7f9bfc0f/attachment-0001.htm>


More information about the webkit-unassigned mailing list