/build/pesto/experiments/prepare_bazel_test_env/data/templates/build/bazel/rules/ |
D | cc_test.bzl.template | 21 script = ctx.actions.declare_file("%s.sh" % ctx.label.name) 26 "{{module_name}}": ctx.label.name, 27 "{{module_path}}": ctx.label.package, 28 "{{tradefed_launcher_module_path}}": ctx.attr._tradefed_launcher.label.package, 29 "{{tradefed_jars_module_path}}": ctx.attr._tradefed_jars.label.package, 30 "{{adb_path}}": ctx.attr._adb.label.package, 32 ctx.attr._launcher.label.package, 33 ctx.attr._launcher.label.name, 59 "_adb": attr.label( 63 "_tradefed_launcher": attr.label( [all …]
|
/build/make/tools/releasetools/ |
D | ota_metadata_pb2.py | 68 number=1, type=9, cpp_type=9, label=1, 75 number=2, type=9, cpp_type=9, label=3, 82 number=3, type=9, cpp_type=9, label=3, 89 number=4, type=9, cpp_type=9, label=1, 120 number=1, type=9, cpp_type=9, label=3, 127 number=2, type=9, cpp_type=9, label=3, 134 number=3, type=9, cpp_type=9, label=1, 141 number=4, type=3, cpp_type=2, label=1, 148 number=5, type=9, cpp_type=9, label=1, 155 number=6, type=9, cpp_type=9, label=1, [all …]
|
/build/soong/android/ |
D | bazel_handler.go | 55 label string member 66 GetOutputFiles(label string, archType ArchType) ([]string, bool) 70 GetCcInfo(label string, archType ArchType) (cquery.CcInfo, bool, error) 130 func (m MockBazelContext) GetOutputFiles(label string, archType ArchType) ([]string, bool) { 131 result, ok := m.LabelToOutputFiles[label] 135 func (m MockBazelContext) GetCcInfo(label string, archType ArchType) (cquery.CcInfo, bool, error) { 136 result, ok := m.LabelToCcInfo[label] 156 func (bazelCtx *bazelContext) GetOutputFiles(label string, archType ArchType) ([]string, bool) { 157 rawString, ok := bazelCtx.cquery(label, cquery.GetOutputFiles, archType) 166 func (bazelCtx *bazelContext) GetCcInfo(label string, archType ArchType) (cquery.CcInfo, bool, erro… [all …]
|
D | bazel_paths.go | 299 label := bazelModuleLabel(ctx, ctx.Module(), "") 300 if samePackage(label, otherLabel) { 319 func bazelShortLabel(label string) string { 320 i := strings.Index(label, ":") 321 return label[i:] 324 func bazelPackage(label string) string { 325 i := strings.Index(label, ":") 326 return label[0:i]
|
D | bazel_handler_test.go | 11 label := "//foo:bar" 16 g, ok := bazelContext.GetOutputFiles(label, arch) 24 g, ok = bazelContext.GetOutputFiles(label, arch)
|
/build/bazel/rules_cc/examples/ |
D | experimental_cc_shared_library.bzl | 29 "label": "Label of the target visited", 66 node_label = str(node.label) 92 "preloaded_deps".format(str(dep.label))) 222 direct_exports[str(export.label)] = True 268 static_dep_path_label = ctx.label.relative(static_dep_path) 275 ctx.label, 333 if str(export.label) in exports_map: 335 str(export.label)) 337 … _check_if_target_should_be_exported_without_filter(export.label, ctx.label, _get_permissions(ctx)) 344 preloaded_deps_direct_labels[str(preloaded_dep.label)] = True [all …]
|
/build/soong/genrule/ |
D | genrule.go | 113 label string member 217 tag := hostToolDependencyTag{label: tool} 227 func (c *Module) generateBazelBuildActions(ctx android.ModuleContext, label string) bool { 229 filePaths, ok := bazelCtx.GetOutputFiles(label, ctx.Arch().ArchType) 264 addLocationLabel := func(label string, loc location) { 266 firstLabel = label 268 if _, exists := locationLabels[label]; !exists { 269 locationLabels[label] = loc 272 label, locationLabels[label], loc) 310 addLocationLabel(tag.label, packagedToolLocation{specs[0]}) [all …]
|
D | genrule_test.go | 325 err: `default label ":empty" has no files`, 334 err: `default label ":tool_files" has multiple files`, 342 err: `unknown location label "missing"`, 350 err: `unknown locations label "missing"`, 359 err: `label ":empty" has no files`, 368 err: `label ":empty" has no files`, 377 err: `label ":ins" has multiple files`, 692 bazel_module: { label: "//foo/bar:bar" },
|
/build/make/tools/droiddoc/templates-pdk/assets/ |
D | search_autocomplete.js | 25 link.innerHTML = match.__hilabel || match.label; 143 s.label.toLowerCase().indexOf(text.toLowerCase()) != -1) { 200 var labelLower = result.label.toLowerCase(); 226 n = (a.label < b.label) ? -1 : 1; 241 gMatches[i].__hilabel = gMatches[i].label.replace(
|
/build/make/tools/ |
D | auto_gen_test_config.py | 73 label = instrumentation.attributes[ATTRIBUTE_LABEL].value 75 label = module 84 config = config.replace(PLACEHOLDER_LABEL, label)
|
/build/bazel/rules/ |
D | cc_library_static.bzl | 48 owner = ctx.label, 59 fail("the deps attribute should always contain exactly one label") 64 new_cc_info = _claim_ownership(ctx, main_target.label, main_target[CcInfo]) 77 output_file = ctx.actions.declare_file(ctx.label.name + ".a") 79 owner = ctx.label, 138 # This should really be a label attribute since it always contains a 142 "_cc_toolchain": attr.label(
|
D | cc_object.bzl | 56 name = ctx.label.name, 73 name = ctx.label.name + ".o", 99 "_cc_toolchain": attr.label( 103 "_android_product_variables": attr.label(
|
D | full_cc_library.bzl | 96 "shared": attr.label(mandatory = True, providers = [CcSharedLibraryInfo]), 97 "static": attr.label(mandatory = True, providers = [CcInfo]),
|
D | static_libc.bzl | 35 # Assume it's a label.
|
/build/soong/bazel/ |
D | properties.go | 71 for _, label := range ll.Includes { 72 dirMap[filepath.Dir(label.Label)] = true 144 for _, label := range haystack { 145 remainder[label] = true 147 for _, label := range needle { 148 delete(remainder, label) 152 for label, _ := range remainder { 153 labels = append(labels, label)
|
/build/soong/bp2build/ |
D | configurability.go | 33 func getLabelValue(label bazel.LabelAttribute) (reflect.Value, selects, selects) { 37 if label.HasConfigurableValues() { 40 archSelects[selectKey] = reflect.ValueOf(label.GetValueForArch(arch)) 43 value = reflect.ValueOf(label.Value)
|
D | build_conversion.go | 253 label := b.HandcraftedLabel() 254 pathToBuildFile := strings.TrimPrefix(label, "//") 445 } else if label, ok := propertyValue.Interface().(bazel.Label); ok { 446 return fmt.Sprintf("%q", label.Label), nil
|
/build/soong/cc/ |
D | library_headers.go | 53 func (h *libraryHeaderBazelHander) generateBazelBuildActions(ctx android.ModuleContext, label strin… 55 ccInfo, ok, err := bazelCtx.GetCcInfo(label, ctx.Arch().ArchType) 66 ctx.ModuleErrorf("expected exactly one output file for %q, but got %q", label, outputPaths)
|
D | object.go | 55 func (handler *objectBazelHandler) generateBazelBuildActions(ctx android.ModuleContext, label strin… 57 objPaths, ok := bazelCtx.GetOutputFiles(label, ctx.Arch().ArchType) 60 ctx.ModuleErrorf("expected exactly one object file for '%s', but got %s", label, objPaths)
|
D | object_test.go | 92 bazel_module: { label: "//foo/bar:bar" },
|
/build/bazel/rules_cc/cc/ |
D | find_cc_toolchain.bzl | 27 "_cc_toolchain": attr.label( 29 "@rules_cc//cc:current_cc_toolchain", # copybara-use-repo-external-label 43 "@rules_cc//cc:toolchain_type", # copybara-use-repo-external-label
|
/build/bazel/scripts/ |
D | queryview-bottom-up.sh | 75 label_array=$(bazel query --config=queryview "deps($T)" --output=label $COMMON_BAZEL_OPTS 2>/dev/nu…
|
/build/soong/java/ |
D | droiddoc.go | 450 for _, label := range j.properties.Arg_files { 451 var paths = android.PathsForModuleSrc(ctx, []string{label}) 452 if _, exists := argFilesMap[label]; !exists { 453 argFilesMap[label] = strings.Join(cmd.PathsForInputs(paths), " ") 454 argFileLabels = append(argFileLabels, label) 458 label, argFilesMap[label], paths) 477 label := strings.TrimSpace(strings.TrimPrefix(name, "location ")) 478 if paths, ok := argFilesMap[label]; ok { 482 label, strings.Join(argFileLabels, ", "))
|
/build/make/tools/product_config/src/com/android/build/config/ |
D | ErrorReporter.java | 72 Level(String label) { in Level() argument 73 mLabel = label; in Level()
|
/build/bazel/bazel_skylib/rules/ |
D | common_settings.bzl | 17 For label-typed settings, use the native label_flag and label_setting rules. 76 …fail("Error setting " + str(ctx.label) + ": invalid value '" + value + "'. Allowed values are " + …
|