build,deps: refactor and fix v8.gyp
- Make inspector.gypi and v8_external_snapshot.gypi includible targets.
- Make
v8_dump_build_config
an action - Better separate
js2c
andnatives_blob
- process action outputs as sources
- trigger v8.gyp:postmortem-metadata from v8.gyp
Refs: https://github.com/nodejs/node/pull/23156
/CC @nodejs/build-files @nodejs/gyp
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines