diff options
author | Ankit Jain <radical@gmail.com> | 2021-05-28 03:21:04 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-28 03:21:04 +0300 |
commit | 6722c0b27bc5869bdeef2c5de0f4e9ec38ad748b (patch) | |
tree | dd9f04a34d8ff1687af17f559243224f82f46c58 /eng/liveBuilds.targets | |
parent | 41466ffdf35ef22870126ef313043d440b8f8c55 (diff) |
[wasm] Use rsp file for emcc default flags, and a props file instead of txt (#52941)
Co-authored-by: Larry Ewing <lewing@microsoft.com>
`emcc-default.rsp`:
- this replaces `emcc-flags.txt` which was generated at wasm build time
as the default set of flags.
`Emcc.props`:
- this replaces `emcc-version.txt` which was generated at wasm build
time, and contained the output of `emcc --version`, eg:
`emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 2.0.12 (d0e647bf266caad50943e78c9841e05e9c499a5d)`
- Instead of this, we now generate `Emcc.props`, which has:
`$(RuntimeEmccVersionRaw)` - full version string (`emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 2.0.12 (d0e647bf266caad50943e78c9841e05e9c499a5d)`)
`$(RuntimeEmccVersion)` - parsed version (`2.0.12`)
`$(RuntimeEmccVersionHash)` - parsed hash (`d0e647bf266caad50943e78c9841e05e9c499a5d`)
- these might be useful for nugets with native libraries for use with
wasm, for example
- Also, extracted `WasmApp.Native.targets` from `WasmApp.targets`
Diffstat (limited to 'eng/liveBuilds.targets')
-rw-r--r-- | eng/liveBuilds.targets | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eng/liveBuilds.targets b/eng/liveBuilds.targets index 66da71ac53f..11ea3bf8f3a 100644 --- a/eng/liveBuilds.targets +++ b/eng/liveBuilds.targets @@ -175,8 +175,8 @@ Include=" $(LibrariesNativeArtifactsPath)src\*.c; $(LibrariesNativeArtifactsPath)src\*.js; - $(LibrariesNativeArtifactsPath)src\emcc-flags.txt; - $(LibrariesNativeArtifactsPath)src\emcc-version.txt;" + $(LibrariesNativeArtifactsPath)src\emcc-default.rsp; + $(LibrariesNativeArtifactsPath)src\Emcc.props;" NativeSubDirectory="src" IsNative="true" /> <LibrariesRuntimeFiles Condition="'$(TargetOS)' == 'Browser'" |