|
25 | 25 | <!-- ARM does not support ICU until we figure out how to link icudtXXl.dat without genccode.exe --> |
26 | 26 | <ChakraICU Condition="'$(Platform)'=='ARM'">false</ChakraICU> |
27 | 27 |
|
28 | | - <WindowsICU Condition="'$(WindowsICU)'==''">false</WindowsICU> |
29 | | - |
30 | | - <UseICU Condition="'$(UseICU)'==''">false</UseICU> |
31 | | - <UseICU Condition="'$(BuildLite)'=='true'">false</UseICU> |
32 | | - <UseICU Condition="'$(ChakraICU)'!='false' OR '$(WindowsICU)'=='true'">true</UseICU> |
33 | | - </PropertyGroup> |
34 | | - <PropertyGroup Condition="'$(WindowsICU)'=='true'"> |
35 | | - <IcuLibraryDependencies>icuuc.lib;icuin.lib</IcuLibraryDependencies> |
| 28 | + <IcuLibraryDependencies Condition="'$(ChakraICU)'=='windows'">icuuc.lib;icuin.lib</IcuLibraryDependencies> |
36 | 29 | </PropertyGroup> |
37 | 30 | <Import Condition="'$(ChakraICU)'!='false' AND exists('$(ChakraCoreRootDirectory)deps\Chakra.ICU\Chakra.ICU.props')" Project="$(ChakraCoreRootDirectory)deps\Chakra.ICU\Chakra.ICU.props" /> |
38 | 31 | <ItemDefinitionGroup> |
|
56 | 49 | %(PreprocessorDefinitions); |
57 | 50 | CHAKRACORE_LITE |
58 | 51 | </PreprocessorDefinitions> |
59 | | - <PreprocessorDefinitions Condition="'$(UseICU)'=='true'"> |
| 52 | + <PreprocessorDefinitions Condition="'$(ChakraICU)'!='false'"> |
60 | 53 | %(PreprocessorDefinitions); |
61 | 54 | HAS_ICU; |
62 | 55 | U_DISABLE_RENAMING=1; <!-- Disable renaming to maintain compatibility with Windows Kit ICU's icuuc/icuin.lib --> |
63 | 56 | </PreprocessorDefinitions> |
64 | | - <PreprocessorDefinitions Condition="'$(EnableIntl)'=='true' AND '$(UseICU)'=='true'"> |
| 57 | + <PreprocessorDefinitions Condition="'$(EnableIntl)'=='true' AND '$(ChakraICU)'!='false'"> |
65 | 58 | %(PreprocessorDefinitions); |
66 | 59 | INTL_ICU=1 |
67 | 60 | </PreprocessorDefinitions> |
68 | 61 | <PreprocessorDefinitions Condition="'$(ChakraICU)'=='static'"> |
69 | 62 | %(PreprocessorDefinitions); |
70 | 63 | U_STATIC_IMPLEMENTATION=1 |
71 | 64 | </PreprocessorDefinitions> |
72 | | - <PreprocessorDefinitions Condition="'$(WindowsICU)'=='true'"> |
| 65 | + <PreprocessorDefinitions Condition="'$(ChakraICU)'=='windows'"> |
73 | 66 | %(PreprocessorDefinitions); |
74 | 67 | WINDOWS10_ICU |
75 | 68 | </PreprocessorDefinitions> |
76 | | - <PreprocessorDefinitions Condition="'$(WindowsICU)'=='false'"> |
| 69 | + <PreprocessorDefinitions Condition="'$(ChakraICU)'!='windows' AND '$(ChakraICU)'!='false'"> |
77 | 70 | %(PreprocessorDefinitions); |
78 | 71 | ICU_VERSION=$(IcuVersionMajor) |
79 | 72 | </PreprocessorDefinitions> |
|
0 commit comments