Home
last modified time | relevance | path

Searched refs:bazel (Results 1 – 25 of 68) sorted by relevance

123

/aosp12/build/soong/cc/
H A Dbp2build.go105 srcs := bazel.LabelListAttribute{
108 staticDeps := bazel.LabelListAttribute{
143 srcs := bazel.LabelListAttribute{
166 copts bazel.StringListAttribute
167 srcs bazel.LabelListAttribute
168 includes bazel.StringListAttribute
173 var srcs bazel.LabelListAttribute
174 var copts bazel.StringListAttribute
211 var baseSrcsLabelList bazel.LabelList
253 …srcs.Value = bazel.SubtractBazelLabelList(srcs.Value, bazel.LabelList{Includes: srcsList.Excludes})
[all …]
H A Dobject.go115 Srcs bazel.LabelListAttribute
116 Hdrs bazel.LabelListAttribute
117 Deps bazel.LabelListAttribute
118 Copts bazel.StringListAttribute
162 var deps bazel.LabelListAttribute
165 deps = bazel.MakeLabelListAttribute(
180 … if newFlags, subbed := bazel.TryVariableSubstitutions(flags, prop.ProductConfigVariable); subbed {
194 props := bazel.BazelTargetModuleProperties{
H A Dlibrary_headers.go112 Copts bazel.StringListAttribute
113 Hdrs bazel.LabelListAttribute
114 Includes bazel.StringListAttribute
115 Deps bazel.LabelListAttribute
155 props := bazel.BazelTargetModuleProperties{
H A Dlibrary.go224 Srcs bazel.LabelListAttribute
225 Hdrs bazel.LabelListAttribute
226 Deps bazel.LabelListAttribute
227 Dynamic_deps bazel.LabelListAttribute
228 Whole_archive_deps bazel.LabelListAttribute
229 Copts bazel.StringListAttribute
230 Includes bazel.StringListAttribute
231 Linkopts bazel.StringListAttribute
290 var srcs bazel.LabelListAttribute
314 props := bazel.BazelTargetModuleProperties{
[all …]
/aosp12/build/bazel/platforms/
H A DBUILD.bazel21 "//build/bazel/platforms/arch:x86",
22 "//build/bazel/platforms/os:linux",
29 "//build/bazel/platforms/arch:x86_64",
30 "//build/bazel/platforms/os:linux",
39 "//build/bazel/platforms/arch:arm64",
47 "//build/bazel/platforms/arch:x86_64",
57 "//build/bazel/platforms/os:osx",
65 "//build/bazel/platforms/arch:x86",
66 "//build/bazel/platforms/os:windows",
83 "//build/bazel/platforms/arch:arm",
[all …]
/aosp12/build/bazel/ci/
H A Dbp2build.sh44 tools/bazel --max_idle_secs=5 build ${BUILD_FLAGS} --platforms //build/bazel/platforms:android_x86 …
45 tools/bazel --max_idle_secs=5 build ${BUILD_FLAGS} --platforms //build/bazel/platforms:android_x86_…
46 tools/bazel --max_idle_secs=5 build ${BUILD_FLAGS} --platforms //build/bazel/platforms:android_arm …
47 tools/bazel --max_idle_secs=5 build ${BUILD_FLAGS} --platforms //build/bazel/platforms:android_arm6…
50 tools/bazel --max_idle_secs=5 test ${BUILD_FLAGS} ${TEST_FLAGS} //build/bazel/tests/...
/aosp12/build/bazel/scripts/milestone-2/
H A Ddemo.sh31 ./demo.sh query -- runs the bazel query command for all targets in //bionic/libc, recursively.
32 ./demo.sh build -- runs the bazel build command for all targets in //bionic/libc, recursively.
57 function bazel() { function
71 bazel query //bionic/...
77 bazel build --platforms //build/bazel/platforms:android_x86 //bionic/...
78 bazel build --platforms //build/bazel/platforms:android_x86_64 //bionic/...
79 bazel build --platforms //build/bazel/platforms:android_arm //bionic/...
80 bazel build --platforms //build/bazel/platforms:android_arm64 //bionic/...
/aosp12/build/soong/android/
H A Dbazel_paths.go86 var labels bazel.LabelList
160 func transformSubpackagePath(ctx BazelConversionPathContext, path bazel.Label) bazel.Label {
161 var newPath bazel.Label
211 func transformSubpackagePaths(ctx BazelConversionPathContext, paths bazel.LabelList) bazel.LabelLis…
212 var newPaths bazel.LabelList
245 return bazel.LabelList{}
247 labels := bazel.LabelList{
248 Includes: []bazel.Label{},
266 var expandedPaths []bazel.Label
275 expandedPaths = append(expandedPaths, bazel.Label{Label: s})
[all …]
H A Dbazel_handler.go85 BuildStatementsToRegister() []bazel.BuildStatement
112 buildStatements []bazel.BuildStatement
150 func (m MockBazelContext) BuildStatementsToRegister() []bazel.BuildStatement {
151 return []bazel.BuildStatement{}
201 func (m noopBazelContext) BuildStatementsToRegister() []bazel.BuildStatement {
202 return []bazel.BuildStatement{}
306 runName bazel.RunName,
625 bazel.CqueryBuildRootRunName,
662 bazel.AqueryBuildRootRunName,
672 context.buildStatements, err = bazel.AqueryBuildStatements([]byte(aqueryOutput))
[all …]
/aosp12/build/soong/bp2build/
H A Dconfigurability.go21 for arch, selectKey := range bazel.PlatformArchMap {
26 for os, selectKey := range bazel.PlatformOsMap {
33 func getLabelValue(label bazel.LabelAttribute) (reflect.Value, selects, selects) {
39 for arch, selectKey := range bazel.PlatformArchMap {
56 for arch, selectKey := range bazel.PlatformArchMap {
61 for os, selectKey := range bazel.PlatformOsMap {
70 func prettyPrintAttribute(v bazel.Attribute, indent int) (string, error) {
75 case bazel.StringListAttribute:
78 case bazel.LabelListAttribute:
81 case bazel.LabelAttribute:
[all …]
H A Dtesting.go119 Arch_paths bazel.LabelListAttribute
143 paths := bazel.MakeLabelListAttribute(android.BazelLabelForModuleSrc(ctx, m.props.Arch_paths))
157 props := bazel.BazelTargetModuleProperties{
176 myLibraryProps := bazel.BazelTargetModuleProperties{
182 protoLibraryProps := bazel.BazelTargetModuleProperties{
188 myProtoLibraryProps := bazel.BazelTargetModuleProperties{
/aosp12/build/bazel/bazel_skylib/
H A DWORKSPACE10 …"https://mirror.bazel.build/github.com/bazelbuild/rules_pkg/releases/download/0.2.5/rules_pkg-0.2.…
21 …url = "https://github.com/bazelbuild/bazel-federation/releases/download/0.0.2/bazel_federation-0.0…
40 # bazel-skylib.
56 …"https://mirror.bazel.build/github.com/bazelbuild/rules_cc/archive/cb2dfba6746bfa3c3705185981f3109…
69 …"https://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/v0.21.0/bazel-ga…
70 …"https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.21.0/bazel-gazelle-v0.21.0.tar.g…
74 # gazelle:repository go_repository name=bazel_gazelle importpath=github.com/bazelbuild/bazel-gazell…
H A DREADME.md2 [`bazel-skylib`](https://github.com/bazelbuild/bazel-skylib)
5 Not all files in `bazel-skylib` are included. When a file in this directory diverges
6 from `bazel-skylib`, add a comment containing `Divergence from bazel-skylib` which
9 It should be a goal to follow HEAD `bazel-skylib` as closely as possible, with
/aosp12/build/bazel/rules_cc/cc/
H A Ddefs.bzl32 https://docs.bazel.build/versions/master/be/c-cpp.html#cc_binary
44 https://docs.bazel.build/versions/master/be/c-cpp.html#cc_test
56 https://docs.bazel.build/versions/master/be/c-cpp.html#cc_library
68 https://docs.bazel.build/versions/master/be/c-cpp.html#cc_import
80 https://docs.bazel.build/versions/master/be/c-cpp.html#cc_proto_library
92 https://docs.bazel.build/versions/master/be/c-cpp.html#fdo_prefetch_hints
104 https://docs.bazel.build/versions/master/be/c-cpp.html#fdo_profile
116 https://docs.bazel.build/versions/master/be/c-cpp.html#cc_toolchain
128 https://docs.bazel.build/versions/master/be/c-cpp.html#cc_toolchain_suite
140 https://docs.bazel.build/versions/master/be/objective-c.html#objc_library
[all …]
/aosp12/
H A DWORKSPACE3 load("//build/bazel/rules:lunch.bzl", "lunch")
4 load("//build/bazel/rules:soong_injection.bzl", "soong_injection_repository")
16 path = "build/bazel/rules_cc",
21 path = "build/bazel/bazel_skylib",
/aosp12/build/bazel/
H A Dbazel.WORKSPACE3 load("//build/bazel/rules:lunch.bzl", "lunch")
4 load("//build/bazel/rules:soong_injection.bzl", "soong_injection_repository")
16 path = "build/bazel/rules_cc",
21 path = "build/bazel/bazel_skylib",
H A Dcommon.bazelrc4 build --platforms //build/bazel/platforms:android_x86_64
54 # Run bazel query from the workspace, without cd'ing into out/soong/queryview
58 # Run bazel query from the workspace, without cd'ing into out/soong/workspace
75 build:results --remote_instance_name=projects/bazel-untrusted/instances/default_instance
76 build:results --project_id=bazel-untrusted
H A Ddarwin.bazelrc1 import %workspace%/build/bazel/common.bazelrc
3 build --host_platform //build/bazel/platforms:darwin_x86_64
H A Dlinux.bazelrc1 import %workspace%/build/bazel/common.bazelrc
3 build --host_platform //build/bazel/platforms:linux_x86_64
/aosp12/build/bazel/rules_cc/
H A DWORKSPACE9 …"https://mirror.bazel.build/github.com/bazelbuild/rules_pkg/releases/download/0.2.5/rules_pkg-0.2.…
19 strip_prefix = "bazel-federation-f0e5eda7f0cbfe67f126ef4dacb18c89039b0506",
21 …url = "https://github.com/bazelbuild/bazel-federation/archive/f0e5eda7f0cbfe67f126ef4dacb18c89039b…
48 "https://mirror.bazel.build/github.com/google/googletest/archive/release-1.10.0.tar.gz",
58 …"https://mirror.bazel.build/github.com/bazelbuild/rules_proto/archive/97d8af4dc474595af3900dd85cb3…
/aosp12/build/bazel/examples/queryview/
H A DREADME.md18 Then, run `bazel query` with the `queryview` config, and `--query_file` pointing
23 bazel query --config=queryview --query_file=build/bazel/examples/queries/android_app.txt
29 bazel query --config=queryview 'kind("android_app rule", //...)'
/aosp12/build/bazel/scripts/
H A Dqueryview-bottom-up.sh75 label_array=$(bazel query --config=queryview "deps($T)" --output=label $COMMON_BAZEL_OPTS 2>/dev/nu…
78 minrank_array=$(bazel query --config=queryview "deps($T)" --output=minrank $COMMON_BAZEL_OPTS 2>/de…
81 label_kind_array=$(bazel query --config=queryview "deps($T)" --output=label_kind $COMMON_BAZEL_OPTS…
H A Drun_presubmits.sh14 build/bazel/ci/bp2build.sh
18 build/bazel/ci/mixed_libc.sh
/aosp12/build/soong/tests/
H A Dlib.sh111 copy_directory build/bazel
113 symlink_directory prebuilts/bazel
117 symlink_file tools/bazel
121 tools/bazel "$@"
/aosp12/build/soong/python/
H A Dbinary.go39 Srcs bazel.LabelListAttribute
40 Data bazel.LabelListAttribute
105 Srcs: bazel.MakeLabelListAttribute(srcs),
106 Data: bazel.MakeLabelListAttribute(data),
110 props := bazel.BazelTargetModuleProperties{

123