mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-10-26 14:57:54 +03:00
ebdb92eef6
LibLocale was split off from LibUnicode a couple years ago to reduce the number of applications on SerenityOS that depend on CLDR data. Now that we use ICU, both LibUnicode and LibLocale are actually linking in this data. And since vcpkg gives us static libraries, both libraries are over 30MB in size. This patch reverts the separation and merges LibLocale into LibUnicode again. We now have just one library that includes the ICU data. Further, this will let LibUnicode share the locale cache that previously would only exist in LibLocale.
18 lines
708 B
CMake
18 lines
708 B
CMake
serenity_testjs_test(test-js.cpp test-js LIBS LibUnicode)
|
|
|
|
install(TARGETS test-js RUNTIME DESTINATION bin OPTIONAL)
|
|
|
|
serenity_test(test-invalid-unicode-js.cpp LibJS LIBS LibJS LibUnicode)
|
|
|
|
serenity_test(test-value-js.cpp LibJS LIBS LibJS LibUnicode)
|
|
|
|
add_executable(test262-runner test262-runner.cpp)
|
|
target_link_libraries(test262-runner PRIVATE LibJS LibCore LibUnicode)
|
|
serenity_set_implicit_links(test262-runner)
|
|
install(TARGETS test262-runner RUNTIME DESTINATION bin OPTIONAL)
|
|
|
|
add_executable(test-test262 test-test262.cpp)
|
|
target_link_libraries(test-test262 PRIVATE LibMain LibCore LibFileSystem)
|
|
serenity_set_implicit_links(test-test262)
|
|
install(TARGETS test-test262 RUNTIME DESTINATION bin OPTIONAL)
|