forked from WebKit/WebKit-http
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove the need for defining USE_NEW_BUILD_SYSTEM
https://bugs.webkit.org/show_bug.cgi?id=215439 Reviewed by Darin Adler. When building WebKit for XCBuild, we currently require that the external build system (such as the Makefile, build-webkit, etc.) defines the USE_NEW_BUILD_SYSTEM=YES build setting. This build setting controls parts of our build instructions that are sensitive to when XCBuild or the Legacy build system are being used. Notably, we need to know when to use our custom “copy and modify” scripts with copying certain header files (used with the Legacy build system) vs. using the enhanced Copy Headers build phase that’s enabled with APPLY_RULES_IN_COPY_HEADERS=YES (introduced with and used by XCBuild). The choice of which method to copy headers is used is controlled by USE_NEW_BUILD_SYSTEM. There is no built-in build setting that we can probe to help us determine which approach to take when copying and modifying headers, which is why we need to define USE_NEW_BUILD_SYSTEM ourselves. But it turns out that we can *detect* which build system is being used by taking advantage of a subtle difference between the two systems. As noted in: https://developer.apple.com/documentation/xcode-release-notes/build-system-release-notes-for-xcode-10 “When an .xcconfig file contains multiple assignments of the same build setting, later assignments using $(inherited) or $(<setting_name>) will inherit from earlier assignments in the .xcconfig. The legacy build system caused every use of $(inherited) or $(<setting_name>) skip any other values defined within the .xcconfig.” This difference can be exploited as follows: WK_WHICH_BUILD_SYSTEM = not_ WK_WHICH_BUILD_SYSTEM = $(inherited)legacy WK_USE_NEW_BUILD_SYSTEM = $(WK_USE_NEW_BUILD_SYSTEM_$(WK_WHICH_BUILD_SYSTEM)) WK_USE_NEW_BUILD_SYSTEM_legacy = NO WK_USE_NEW_BUILD_SYSTEM_not_legacy = YES We can then use WK_USE_NEW_BUILD_SYSTEM where we used to use the externally-defined USE_NEW_BUILD_SYSTEM. .: * Makefile.shared: Source/JavaScriptCore: * Configurations/Base.xcconfig: * Configurations/JavaScriptCore.xcconfig: * JavaScriptCore.xcodeproj/project.pbxproj: Source/ThirdParty/ANGLE: * ANGLE.xcodeproj/project.pbxproj: * Configurations/ANGLE-dynamic.xcconfig: * Configurations/ANGLE-static.xcconfig: * Configurations/Base.xcconfig: Source/WebKit: No new tests -- no new or changed functionality. * Configurations/Base.xcconfig: * Configurations/WebKit.xcconfig: * WebKit.xcodeproj/project.pbxproj: Source/WebKitLegacy: * WebKitLegacy.xcodeproj/project.pbxproj: Source/WebKitLegacy/mac: * Configurations/Base.xcconfig: * Configurations/WebKitLegacy.xcconfig: Tools: * Scripts/build-webkit: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@265602 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
1 parent
66a3cb3
commit bb322c6
Showing
22 changed files
with
391 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,51 @@ | ||
2020-08-12 Keith Rollin <[email protected]> | ||
|
||
Remove the need for defining USE_NEW_BUILD_SYSTEM | ||
https://bugs.webkit.org/show_bug.cgi?id=215439 | ||
|
||
Reviewed by Darin Adler. | ||
|
||
When building WebKit for XCBuild, we currently require that the | ||
external build system (such as the Makefile, build-webkit, etc.) | ||
defines the USE_NEW_BUILD_SYSTEM=YES build setting. This build setting | ||
controls parts of our build instructions that are sensitive to when | ||
XCBuild or the Legacy build system are being used. Notably, we need to | ||
know when to use our custom “copy and modify” scripts with copying | ||
certain header files (used with the Legacy build system) vs. using the | ||
enhanced Copy Headers build phase that’s enabled with | ||
APPLY_RULES_IN_COPY_HEADERS=YES (introduced with and used by XCBuild). | ||
The choice of which method to copy headers is used is controlled by | ||
USE_NEW_BUILD_SYSTEM. | ||
|
||
There is no built-in build setting that we can probe to help us | ||
determine which approach to take when copying and modifying headers, | ||
which is why we need to define USE_NEW_BUILD_SYSTEM ourselves. But it | ||
turns out that we can *detect* which build system is being used by | ||
taking advantage of a subtle difference between the two systems. As | ||
noted in: | ||
|
||
https://developer.apple.com/documentation/xcode-release-notes/build-system-release-notes-for-xcode-10 | ||
|
||
“When an .xcconfig file contains multiple assignments of the same | ||
build setting, later assignments using $(inherited) or | ||
$(<setting_name>) will inherit from earlier assignments in the | ||
.xcconfig. The legacy build system caused every use of | ||
$(inherited) or $(<setting_name>) skip any other values defined | ||
within the .xcconfig.” | ||
|
||
This difference can be exploited as follows: | ||
|
||
WK_WHICH_BUILD_SYSTEM = not_ | ||
WK_WHICH_BUILD_SYSTEM = $(inherited)legacy | ||
WK_USE_NEW_BUILD_SYSTEM = $(WK_USE_NEW_BUILD_SYSTEM_$(WK_WHICH_BUILD_SYSTEM)) | ||
WK_USE_NEW_BUILD_SYSTEM_legacy = NO | ||
WK_USE_NEW_BUILD_SYSTEM_not_legacy = YES | ||
|
||
We can then use WK_USE_NEW_BUILD_SYSTEM where we used to use the | ||
externally-defined USE_NEW_BUILD_SYSTEM. | ||
|
||
* Makefile.shared: | ||
|
||
2020-08-11 Philippe Normand <[email protected]> | ||
|
||
[GStreamer] gst-full standalone library support | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,53 @@ | ||
2020-08-12 Keith Rollin <[email protected]> | ||
|
||
Remove the need for defining USE_NEW_BUILD_SYSTEM | ||
https://bugs.webkit.org/show_bug.cgi?id=215439 | ||
|
||
Reviewed by Darin Adler. | ||
|
||
When building WebKit for XCBuild, we currently require that the | ||
external build system (such as the Makefile, build-webkit, etc.) | ||
defines the USE_NEW_BUILD_SYSTEM=YES build setting. This build setting | ||
controls parts of our build instructions that are sensitive to when | ||
XCBuild or the Legacy build system are being used. Notably, we need to | ||
know when to use our custom “copy and modify” scripts with copying | ||
certain header files (used with the Legacy build system) vs. using the | ||
enhanced Copy Headers build phase that’s enabled with | ||
APPLY_RULES_IN_COPY_HEADERS=YES (introduced with and used by XCBuild). | ||
The choice of which method to copy headers is used is controlled by | ||
USE_NEW_BUILD_SYSTEM. | ||
|
||
There is no built-in build setting that we can probe to help us | ||
determine which approach to take when copying and modifying headers, | ||
which is why we need to define USE_NEW_BUILD_SYSTEM ourselves. But it | ||
turns out that we can *detect* which build system is being used by | ||
taking advantage of a subtle difference between the two systems. As | ||
noted in: | ||
|
||
https://developer.apple.com/documentation/xcode-release-notes/build-system-release-notes-for-xcode-10 | ||
|
||
“When an .xcconfig file contains multiple assignments of the same | ||
build setting, later assignments using $(inherited) or | ||
$(<setting_name>) will inherit from earlier assignments in the | ||
.xcconfig. The legacy build system caused every use of | ||
$(inherited) or $(<setting_name>) skip any other values defined | ||
within the .xcconfig.” | ||
|
||
This difference can be exploited as follows: | ||
|
||
WK_WHICH_BUILD_SYSTEM = not_ | ||
WK_WHICH_BUILD_SYSTEM = $(inherited)legacy | ||
WK_USE_NEW_BUILD_SYSTEM = $(WK_USE_NEW_BUILD_SYSTEM_$(WK_WHICH_BUILD_SYSTEM)) | ||
WK_USE_NEW_BUILD_SYSTEM_legacy = NO | ||
WK_USE_NEW_BUILD_SYSTEM_not_legacy = YES | ||
|
||
We can then use WK_USE_NEW_BUILD_SYSTEM where we used to use the | ||
externally-defined USE_NEW_BUILD_SYSTEM. | ||
|
||
* Configurations/Base.xcconfig: | ||
* Configurations/JavaScriptCore.xcconfig: | ||
* JavaScriptCore.xcodeproj/project.pbxproj: | ||
|
||
2020-08-12 Saam Barati <[email protected]> | ||
|
||
Inline cache Replace and Setters on PureForwardingProxy | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,54 @@ | ||
2020-08-12 Keith Rollin <[email protected]> | ||
|
||
Remove the need for defining USE_NEW_BUILD_SYSTEM | ||
https://bugs.webkit.org/show_bug.cgi?id=215439 | ||
|
||
Reviewed by Darin Adler. | ||
|
||
When building WebKit for XCBuild, we currently require that the | ||
external build system (such as the Makefile, build-webkit, etc.) | ||
defines the USE_NEW_BUILD_SYSTEM=YES build setting. This build setting | ||
controls parts of our build instructions that are sensitive to when | ||
XCBuild or the Legacy build system are being used. Notably, we need to | ||
know when to use our custom “copy and modify” scripts with copying | ||
certain header files (used with the Legacy build system) vs. using the | ||
enhanced Copy Headers build phase that’s enabled with | ||
APPLY_RULES_IN_COPY_HEADERS=YES (introduced with and used by XCBuild). | ||
The choice of which method to copy headers is used is controlled by | ||
USE_NEW_BUILD_SYSTEM. | ||
|
||
There is no built-in build setting that we can probe to help us | ||
determine which approach to take when copying and modifying headers, | ||
which is why we need to define USE_NEW_BUILD_SYSTEM ourselves. But it | ||
turns out that we can *detect* which build system is being used by | ||
taking advantage of a subtle difference between the two systems. As | ||
noted in: | ||
|
||
https://developer.apple.com/documentation/xcode-release-notes/build-system-release-notes-for-xcode-10 | ||
|
||
“When an .xcconfig file contains multiple assignments of the same | ||
build setting, later assignments using $(inherited) or | ||
$(<setting_name>) will inherit from earlier assignments in the | ||
.xcconfig. The legacy build system caused every use of | ||
$(inherited) or $(<setting_name>) skip any other values defined | ||
within the .xcconfig.” | ||
|
||
This difference can be exploited as follows: | ||
|
||
WK_WHICH_BUILD_SYSTEM = not_ | ||
WK_WHICH_BUILD_SYSTEM = $(inherited)legacy | ||
WK_USE_NEW_BUILD_SYSTEM = $(WK_USE_NEW_BUILD_SYSTEM_$(WK_WHICH_BUILD_SYSTEM)) | ||
WK_USE_NEW_BUILD_SYSTEM_legacy = NO | ||
WK_USE_NEW_BUILD_SYSTEM_not_legacy = YES | ||
|
||
We can then use WK_USE_NEW_BUILD_SYSTEM where we used to use the | ||
externally-defined USE_NEW_BUILD_SYSTEM. | ||
|
||
* ANGLE.xcodeproj/project.pbxproj: | ||
* Configurations/ANGLE-dynamic.xcconfig: | ||
* Configurations/ANGLE-static.xcconfig: | ||
* Configurations/Base.xcconfig: | ||
|
||
2020-08-07 Dean Jackson <[email protected]> | ||
|
||
ANGLE: No need to check for Catalyst in the iOS build | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,55 @@ | ||
2020-08-12 Keith Rollin <[email protected]> | ||
|
||
Remove the need for defining USE_NEW_BUILD_SYSTEM | ||
https://bugs.webkit.org/show_bug.cgi?id=215439 | ||
|
||
Reviewed by Darin Adler. | ||
|
||
When building WebKit for XCBuild, we currently require that the | ||
external build system (such as the Makefile, build-webkit, etc.) | ||
defines the USE_NEW_BUILD_SYSTEM=YES build setting. This build setting | ||
controls parts of our build instructions that are sensitive to when | ||
XCBuild or the Legacy build system are being used. Notably, we need to | ||
know when to use our custom “copy and modify” scripts with copying | ||
certain header files (used with the Legacy build system) vs. using the | ||
enhanced Copy Headers build phase that’s enabled with | ||
APPLY_RULES_IN_COPY_HEADERS=YES (introduced with and used by XCBuild). | ||
The choice of which method to copy headers is used is controlled by | ||
USE_NEW_BUILD_SYSTEM. | ||
|
||
There is no built-in build setting that we can probe to help us | ||
determine which approach to take when copying and modifying headers, | ||
which is why we need to define USE_NEW_BUILD_SYSTEM ourselves. But it | ||
turns out that we can *detect* which build system is being used by | ||
taking advantage of a subtle difference between the two systems. As | ||
noted in: | ||
|
||
https://developer.apple.com/documentation/xcode-release-notes/build-system-release-notes-for-xcode-10 | ||
|
||
“When an .xcconfig file contains multiple assignments of the same | ||
build setting, later assignments using $(inherited) or | ||
$(<setting_name>) will inherit from earlier assignments in the | ||
.xcconfig. The legacy build system caused every use of | ||
$(inherited) or $(<setting_name>) skip any other values defined | ||
within the .xcconfig.” | ||
|
||
This difference can be exploited as follows: | ||
|
||
WK_WHICH_BUILD_SYSTEM = not_ | ||
WK_WHICH_BUILD_SYSTEM = $(inherited)legacy | ||
WK_USE_NEW_BUILD_SYSTEM = $(WK_USE_NEW_BUILD_SYSTEM_$(WK_WHICH_BUILD_SYSTEM)) | ||
WK_USE_NEW_BUILD_SYSTEM_legacy = NO | ||
WK_USE_NEW_BUILD_SYSTEM_not_legacy = YES | ||
|
||
We can then use WK_USE_NEW_BUILD_SYSTEM where we used to use the | ||
externally-defined USE_NEW_BUILD_SYSTEM. | ||
|
||
No new tests -- no new or changed functionality. | ||
|
||
* Configurations/Base.xcconfig: | ||
* Configurations/WebKit.xcconfig: | ||
* WebKit.xcodeproj/project.pbxproj: | ||
|
||
2020-08-12 Alex Christensen <[email protected]> | ||
|
||
Fail preconnect requests to deprecated TLS instead of allowing application to show warning | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.