Add skeleton for UI (Node + TypeScript + WASM + build integration)
This CL checks in a basic skeleton to develop the UI, introducing
- NodeJS binary, pulled in via tools/install-build-deps --ui
- WASM toolchain
- TypeScript compiler
- Protobuf.js library dependency
- Basic build file plumbing
- ui/run-dev-server
For the moment, it just introduced a hello world TypeScript file
that loads a hello world WASM library.
All it takes to build and bundle everything is:
$ ninja -C out/xxx ui
$ ui/run-dev-server
Bug: 73626618
Change-Id: I44a628c3dc8b36d1e9267f43f25f256761c7e90f
diff --git a/tools/install-build-deps b/tools/install-build-deps
index 5e32b5b..a665a42 100755
--- a/tools/install-build-deps
+++ b/tools/install-build-deps
@@ -188,13 +188,13 @@
UI_DEPS = [
('buildtools/nodejs.tgz',
- 'https://storage.googleapis.com/perfetto/node-v8.9.1-darwin-x64.tar.gz',
- 'b9ec6fe9701d385e385886a4b171ba02bb6aead7',
+ 'https://storage.googleapis.com/perfetto/node-v8.11.1-darwin-x64.tar.gz',
+ '01effb57fa711aa258d7aab26c6615e1f8a64b1a',
'darwin'
),
('buildtools/nodejs.tgz',
- 'https://storage.googleapis.com/perfetto/node-v8.9.1-linux-x64.tar.xz',
- 'eaec5de2af934f7ebc7f9597983e71c5d5a9a726',
+ 'https://storage.googleapis.com/perfetto/node-v8.11.1-linux-x64.tar.xz',
+ '04c2e703b042ecfdc9deb32e4797a41c41482966',
'linux2'
),
('buildtools/emsdk/emscripten.tgz',