emscripten/third_party
Sam Clegg d8ec08a379
Make use of pathlib.Path when dealing with paths within emscripten. NFC (#14916)
This change is very much like that large change I made to the test
suite. See #14191 and #14175.

It enables is to use unix style paths rather than arrays of path
components which has several advantages.  As well as beeing more
readable and writable it also allows for things like `git grep
"musl/src"` to work as expected.  For an example of how much more
readable it makes the code see `tools/system_libs.py`.

This change was made almost exclusively with a bunch of `sed`
commands.

Because there is likely some minor performance overhead I did
some measurements.

Running `./tests/runner wasm2 --skip-slow`:

before:
real    1m10.403s
user    49m40.135s
sys     6m14.466s
after:
real    1m10.397s
user    49m43.849s
sys     6m10.698s

Running `./embuilder build libc --force`:

before:
real    0m5.597s
user    3m2.721s
sys     0m50.843s
after:
real    0m5.609s
user    3m0.998s
sys     0m49.796s
2021-08-20 09:42:56 -07:00
..
closure-compiler/node-externs Add missing Closure extern for ftruncateSync (#14877) 2021-08-16 15:51:44 -07:00
jni Remove deprecated function Pointer_stringify() (#8011) 2019-02-06 23:25:02 +02:00
leb128 Use third_party leb128 implementation. NFC (#13833) 2021-04-07 19:46:03 -07:00
ply
terser Support import(...) in ESTree->Terser conversion (#12365) 2020-09-29 11:15:30 -07:00
websockify Make use of pathlib.Path when dealing with paths within emscripten. NFC (#14916) 2021-08-20 09:42:56 -07:00
WebIDL.py Update link to source of WebIDL.py (#13597) 2021-03-04 08:23:46 -08:00
__init__.py
mini-lz4.js Move mini-lz4.js to third_party. NFC. (#12981) 2020-12-06 12:48:14 -08:00
stb_image.h Avoid compiling stb_image at link time (#13658) 2021-03-15 17:34:36 -07:00