-
Notifications
You must be signed in to change notification settings - Fork 40
Expand file tree
/
Copy pathBUILD.bazel
More file actions
93 lines (87 loc) · 3.34 KB
/
Copy pathBUILD.bazel
File metadata and controls
93 lines (87 loc) · 3.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
# SPDX-FileCopyrightText: Copyright (c) NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
load("@gazelle//:def.bzl", "gazelle")
exports_files(
["BUILD.bazel"],
visibility = ["//src/libraries/go/lib:__pkg__"],
)
package_group(
name = "java_notice_consumers",
packages = [
"//src/control-plane-services/...",
"//src/libraries/java/...",
],
)
# Root module identity, third-party lock, and NOTICE index consumed by Java
# NOTICE generation and verification under the stable Java component paths.
exports_files(
[
"MODULE.bazel",
"NOTICE",
"maven_install.json",
],
visibility = [":java_notice_consumers"],
)
# Gazelle manages only the native Go subtrees listed in go.work.bazel.
# nv-boot-parent and Cloud Tasks are also owned by the root Bazel module, but
# their checked-in Java BUILD files are maintained manually and remain outside
# Gazelle's scope. Other upstream-owned subtrees stay excluded so Gazelle does
# not descend into vendored directories.
#
# When onboarding another subtree, remove only the exclusions needed by its
# language-specific build integration.
# gazelle:exclude .bazel-cache
# gazelle:exclude .worktrees
# gazelle:exclude .cursor
# gazelle:exclude .claude
# gazelle:exclude .codex
# gazelle:exclude ai-tooling
# gazelle:exclude bazel-bin
# gazelle:exclude bazel-nvcf
# gazelle:exclude bazel-out
# gazelle:exclude bazel-testlogs
# gazelle:exclude ci
# gazelle:exclude deploy
# gazelle:exclude docs
# gazelle:exclude examples
# gazelle:exclude fern
# gazelle:exclude infra
# gazelle:exclude migrations
# gazelle:exclude platforms
# gazelle:exclude rules
# src/compute-plane-services is excluded per-subtree rather than wholesale:
# nvsnap is part of the root module and Gazelle must manage its BUILD files.
# gazelle:exclude src/compute-plane-services/byoo-otel-collector
# gazelle:exclude src/compute-plane-services/ess-agent
# gazelle:exclude src/compute-plane-services/image-credential-helper
# gazelle:exclude src/compute-plane-services/nvca
# gazelle:exclude src/compute-plane-services/nvcf-unbound
# gazelle:exclude src/compute-plane-services/worker-init
# gazelle:exclude src/compute-plane-services/worker-llm-credentials
# gazelle:exclude src/compute-plane-services/worker-task
# gazelle:exclude src/compute-plane-services/worker-utils
# gazelle:exclude src/control-plane-services
# gazelle:exclude src/invocation-plane-services
# gazelle:exclude src/libraries/python
# gazelle:exclude src/libraries/ts
# gazelle:exclude tools
# Gazelle: auto-generate BUILD files for Go packages.
# Usage:
# bazel run //:gazelle - generate or update BUILD files
# bazel run //:gazelle -- update-repos - sync go.mod deps into MODULE.bazel
gazelle(
name = "gazelle",
prefix = "github.com/NVIDIA/nvcf",
)