Skip to content

Commit 04d7aeb

Browse files
authored
[browser][coreCLR] fix incremental build (#122798)
1 parent eaad108 commit 04d7aeb

File tree

11 files changed

+3
-159
lines changed

11 files changed

+3
-159
lines changed

docs/workflow/building/coreclr/wasm.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,6 @@ cd ./artifacts/bin/coreclr/browser.wasm.Debug/corehost
8181
node ./main.mjs
8282
```
8383

84-
Note that paths to assemblies are in the `src/native/corehost/browserhost/sample/dotnet.boot.js`
85-
8684
## Debugging
8785

8886
### Chrome DevTools with DWARF Support

eng/native/version/copy_version_files.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Get-ChildItem -Path "$VersionFolder" -Filter "_version.*" | ForEach-Object {
1313
$current_contents = ""
1414
$is_placeholder_file = $false
1515
if (Test-Path -Path $version_file_destination) {
16-
$current_contents = Get-Content -Path $version_file_destination -Raw
16+
$current_contents = Get-Content -Path $version_file_destination
1717
$is_placeholder_file = $current_contents -match "@\(#\)Version N/A @Commit:"
1818
} else {
1919
$is_placeholder_file = $true

src/native/corehost/browserhost/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,4 +135,5 @@ install(TARGETS browserhost DESTINATION sharedFramework COMPONENT runtime)
135135
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/dotnet.native.wasm DESTINATION corehost COMPONENT runtime)
136136
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/dotnet.native.wasm DESTINATION sharedFramework COMPONENT runtime)
137137

138-
add_subdirectory(sample)
138+
set_source_files_properties(${BROWSERHOST_SOURCES} PROPERTIES OBJECT_DEPENDS
139+
"${JS_SYSTEM_NATIVE_BROWSER};${JS_SYSTEM_BROWSER_UTILS};${JS_SYSTEM_RUNTIME_INTEROPSERVICES_JAVASCRIPT_NATIVE};${JS_BROWSER_HOST};${JS_SYSTEM_NATIVE_BROWSER_EXPOST}")

src/native/corehost/browserhost/sample/CMakeLists.txt

Lines changed: 0 additions & 28 deletions
This file was deleted.

src/native/corehost/browserhost/sample/HelloWorld.cs

Lines changed: 0 additions & 16 deletions
This file was deleted.

src/native/corehost/browserhost/sample/HelloWorld.csproj

Lines changed: 0 additions & 11 deletions
This file was deleted.

src/native/corehost/browserhost/sample/ReadMe.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

src/native/corehost/browserhost/sample/dotnet.boot.js

Lines changed: 0 additions & 55 deletions
This file was deleted.

src/native/corehost/browserhost/sample/index.html

Lines changed: 0 additions & 19 deletions
This file was deleted.

src/native/corehost/browserhost/sample/main.mjs

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)