Commit b5a4311f authored by Piotr Sikora's avatar Piotr Sikora Committed by V8 LUCI CQ

[bazel] Generate inspector files without building inspector.

While there, make sure to exit on failures (e.g. missing tools).
Signed-off-by: 's avatarPiotr Sikora <piotrsikora@google.com>
Change-Id: Ie84425bbedefc8c37cf12afbf0ad541caa125ac0
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3333634Reviewed-by: 's avatarVictor Gomes <victorgomes@chromium.org>
Cr-Commit-Position: refs/heads/main@{#78388}
parent 12735236
......@@ -2,13 +2,15 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
set -e
BAZEL_OUT=$1
# Create a default GN output folder
gn gen out/inspector
# Generate inspector files
autoninja -C out/inspector src/inspector:inspector
autoninja -C out/inspector src/inspector:protocol_generated_sources
# Create directories in bazel output folder
mkdir -p $BAZEL_OUT/include/inspector
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment