Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
JavaScriptCore: WebKit on Windows should build optionally with an unv…
…ersioned ICU DLL https://bugs.webkit.org/show_bug.cgi?id=42722 <rdar://problem/8211743> JavaScriptCore needs to link against unversioned ICU Reviewed by Adam Roben. Dynamically create a new header, ICUVersion.h, as part of build-generated-files.sh. Header contains a preprocessor define (U_DISABLE_RENAMING) indicating to ICU whether the ICU API should be namespaced with the current ICU version number. Proper value is determined by checking for the presence of libicuuc.lib, the unversioned copy of ICU. To get the proper value for U_DISABLE_RENAMING into all source files, we force the include of ICUVersion.h (our generated header) via the compiler options. Since the versioned and unversioned ICU have different filenames (libicuuc.lib vs icuuc.lib) we copy the ICU lib to an intermediate location under obj with a common name. This allows us to link properly with either without adding a new build configuration. * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreCommon.vsprops: Copy ICU libs into a common location with a common name. Add additional library search path to pick up icu lib. Change ICU library filename specified to linker. Add forced include of ICUVersion.h. * JavaScriptCore.vcproj/JavaScriptCore/build-generated-files.sh: Generate ICUVersion.h * JavaScriptCore.vcproj/WTF/WTFCommon.vsprops: Add forced include of ICUVersion.h. * JavaScriptCore.vcproj/jsc/jscCommon.vsprops: Copy ICU libs into a common location with a common name. Add additional library search path to pick up icu lib. Change ICU library filename specified to linker. Add forced include of ICUVersion.h. * JavaScriptCore.vcproj/testapi/testapiCommon.vsprops: Copy ICU libs into a common location with a common name. Add additional library search path to pick up icu lib. Change ICU library filename specified to linker. Add forced include of ICUVersion.h. WebCore: WebKit on Windows should build optionally with an unversioned ICU DLL https://bugs.webkit.org/show_bug.cgi?id=42722 <rdar://problem/8211767> WebKit needs to link against unversioned ICU Reviewed by Adam Roben. To get the proper value for U_DISABLE_RENAMING into all source files, we force the include of ICUVersion.h (our generated header) via the compiler options. * WebCore.vcproj/WebCore.vcproj: Add forced include of ICUVersion.h. * WebCore.vcproj/WebCoreCommon.vsprops: Add forced include of ICUVersion.h. WebKit/win: WebKit on Windows should build optionally with an unversioned ICU DLL https://bugs.webkit.org/show_bug.cgi?id=42722 <rdar://problem/8211767> WebKit needs to link against unversioned ICU Reviewed by Adam Roben. To get the proper value for U_DISABLE_RENAMING into all source files, we force the include of ICUVersion.h (our generated header) via the compiler options. * WebKit.vcproj/WebKit.vcproj: Add forced include of ICUVersion.h. WebKit2: WebKit on Windows should build optionally with an unversioned ICU DLL https://bugs.webkit.org/show_bug.cgi?id=42722 <rdar://problem/8211767> WebKit needs to link against unversioned ICU Reviewed by Adam Roben. To get the proper value for U_DISABLE_RENAMING into all source files, we force the include of ICUVersion.h (our generated header) via the compiler options. Since the versioned and unversioned ICU have different filenames (libicuuc.lib vs icuuc.lib) we copy the ICU lib to an intermediate location under obj with a common name. This allows us to link properly with either without adding a new build configuration. * win/WebKit2Common.vsprops: Copy ICU libs into a common location with a common name. Add additional library search path to pick up icu lib. Change ICU library filename specified to linker. Add forced include of ICUVersion.h. Canonical link: https://commits.webkit.org/54670@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@63833 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Steve Falkenburg
committed
Jul 21, 2010
1 parent
e67572a
commit b8efbe916096463e7d12fb7c38585d037a36ebb5
Showing
13 changed files
with
158 additions
and
39 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
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
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
Oops, something went wrong.