0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-30 15:30:56 +01:00
nodejs/tools/inspector_protocol
Ben Noordhuis 608878c956
build: fix inspector dependency resolution
It was reported that parallel builds on Windows sometimes error because
of missing intermediate files.

On closer inspection I noticed that some files are copied from src/ to
the intermediate build directory in a way where they don't participate
in dependency resolution. Put another way, the build system doesn't
know to wait for the copy to complete because we don't tell it to.

Fix that by not copying around files but instead making the script that
processes them a little smarter about where to find them and where to
store the results.

PR-URL: https://github.com/nodejs/node/pull/27026
Fixes: https://github.com/nodejs/node/issues/27025
Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
2019-04-04 16:02:23 +02:00
..
lib
templates
check_protocol_compatibility.py
code_generator.py build: fix inspector dependency resolution 2019-04-04 16:02:23 +02:00
concatenate_protocols.py
convert_protocol_to_json.py
inspector_protocol.gni
inspector_protocol.gypi
LICENSE
OWNERS
pdl.py
README.node

Name: inspector protocol
Short Name: inspector_protocol
URL: https://chromium.googlesource.com/deps/inspector_protocol/
Version: 0
Revision: f67ec5180f476830e839226b5ca948e43070fdab
License: BSD
License File: LICENSE
Security Critical: no

Description:
src/inspector uses these scripts to generate handlers from protocol
description.

Local modifications:
- This only includes the lib/ and templates/ directories, scripts, build
  and the LICENSE files.