blob: 3755dc06932d9dc895cde54a4de9fb297a6e90ca [file] [log] [blame]
# Copyright 2022 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/bazel/bazel_action.gni")
# Build all examples with Bazel all at once.
# This invokes a stamp_group() Bazel targets that depends on all
# other example targets directly in the Bazel graph.
bazel_action("examples") {
command = "build"
testonly = true
bazel_targets = [ ":examples" ]
copy_outputs = [
{
bazel = "{{BAZEL_TARGET_OUT_DIR}}/examples.bazel_stamp"
ninja = "examples.bazel_stamp"
},
]
}