Skip to content

Commit d3615fa

Browse files
committed
don't build browserhost for clr.runtime subset
1 parent cc08fbb commit d3615fa

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/coreclr/CMakeLists.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,8 @@ else()
7272
# WASM-TODO set GEN_PINVOKE to 1 once we generate them. static entrypoint.c prevents C linker from trimming, when IL trimming trims PInvokes
7373
set(GEN_PINVOKE 0)
7474
# WASM-TODO should we start using System.Native.Browser and System.Runtime.InteropServices.JavaScript.Native also for Mono ?
75-
set(BUILD_LIBS_NATIVE_BROWSER 1)
76-
add_subdirectory(${CLR_SRC_NATIVE_DIR}/corehost browserhost)
77-
add_dependencies(runtime browserhost)
75+
add_dependencies(runtime System.Native.Browser-Static)
76+
add_dependencies(runtime System.Runtime.InteropServices.JavaScript.Native-Static)
7877
endif()
7978
endif()
8079

0 commit comments

Comments
 (0)