Searched refs:attrs (Results 1 – 25 of 25) sorted by relevance
/build/bazel/rules_cc/cc/ |
D | defs.bzl | 22 def _add_tags(attrs): 23 if "tags" in attrs and attrs["tags"] != None: 24 attrs["tags"] = attrs["tags"] + [_MIGRATION_TAG] 26 attrs["tags"] = [_MIGRATION_TAG] 27 return attrs 29 def cc_binary(**attrs): 35 **attrs: Rule attributes 39 native.cc_binary(**_add_tags(attrs)) 41 def cc_test(**attrs): 47 **attrs: Rule attributes [all …]
|
D | find_cc_toolchain.bzl | 26 attrs = {
|
/build/soong/bazel/ |
D | properties.go | 322 func (attrs *LabelListAttribute) Append(other LabelListAttribute) { 324 this := attrs.GetValueForArch(arch) 327 attrs.SetValueForArch(arch, this) 331 this := attrs.GetValueForOS(os) 334 attrs.SetValueForOS(os, this) 337 attrs.Value.Append(other.Value) 342 func (attrs LabelListAttribute) HasConfigurableValues() bool { 344 if len(attrs.GetValueForArch(arch).Includes) > 0 { 350 if len(attrs.GetValueForOS(os).Includes) > 0 { 357 func (attrs *LabelListAttribute) archValuePtrs() map[string]*LabelList { [all …]
|
/build/soong/bp2build/ |
D | bzl_conversion.go | 43 attrs string member 72 shim.content += fmt.Sprintf(moduleRuleShim, r.name, r.attrs) 111 attrs := `{ 116 attrs += getAttributes(factory) 117 attrs += " }," 121 attrs: attrs, 225 attrs := "" 227 attrs += p.attributeString() 229 return attrs
|
D | testing.go | 151 attrs := &customBazelModuleAttributes{ 161 ctx.CreateBazelTargetModule(customBazelModuleFactory, m.Name(), props, attrs) 174 attrs := &customBazelModuleAttributes{} 180 ctx.CreateBazelTargetModule(customBazelModuleFactory, baseName, myLibraryProps, attrs) 186 …zelTargetModule(customBazelModuleFactory, baseName+"_proto_library_deps", protoLibraryProps, attrs) 192 …rgetModule(customBazelModuleFactory, baseName+"_my_proto_library_deps", myProtoLibraryProps, attrs)
|
D | bzl_conversion_test.go | 85 attrs = { 114 attrs = { 139 attrs = {
|
D | androidbp_to_build_templates.go | 68 attrs = { 125 attrs = %[2]s
|
/build/soong/scripts/ |
D | manifest_fixer_test.py | 74 attrs = '' 76 attrs += ' android:minSdkVersion="%s"' % (min) 78 attrs += ' android:targetSdkVersion="%s"' % (target) 80 attrs += ' ' + extra 81 return ' <uses-sdk%s/>\n' % (attrs) 247 attrs = '' 251 attrs += ' <application>\n %s </application>\n' % (meta_text) 253 return attrs
|
/build/soong/android/ |
D | filegroup.go | 62 attrs := &bazelFilegroupAttributes{ 68 ctx.CreateBazelTargetModule(BazelFileGroupFactory, fg.Name(), props, attrs)
|
D | bazel_handler.go | 394 attrs = { 407 attrs = { 421 attrs = {"deps" : attr.label_list()},
|
/build/soong/cc/ |
D | library_headers.go | 149 attrs := &bazelCcLibraryHeadersAttributes{ 160 ctx.CreateBazelTargetModule(BazelCcLibraryHeadersFactory, module.Name(), props, attrs)
|
D | object.go | 187 attrs := &bazelObjectAttributes{ 199 ctx.CreateBazelTargetModule(BazelObjectFactory, m.Name(), props, attrs)
|
D | library.go | 293 attrs := &bazelCcLibraryAttributes{ 319 ctx.CreateBazelTargetModule(BazelCcLibraryFactory, m.Name(), props, attrs) 2247 attrs := &bazelCcLibraryStaticAttributes{ 2263 ctx.CreateBazelTargetModule(BazelCcLibraryStaticFactory, module.Name(), props, attrs)
|
/build/bazel/product_variables/ |
D | product_variables.bzl | 19 attrs = {
|
/build/soong/python/ |
D | binary.go | 103 attrs := &bazelPythonBinaryAttributes{ 115 ctx.CreateBazelTargetModule(BazelPythonBinaryFactory, m.Name(), props, attrs)
|
/build/bazel/bazel_skylib/rules/ |
D | common_settings.bzl | 81 attrs = { 92 attrs = {
|
/build/bazel/rules/ |
D | static_libc.bzl | 18 attrs = {
|
D | full_cc_library.bzl | 95 attrs = {
|
D | cc_object.bzl | 92 attrs = {
|
D | cc_library_static.bzl | 137 attrs = {
|
/build/pesto/experiments/prepare_bazel_test_env/data/templates/build/bazel/rules/ |
D | cc_test.bzl.template | 58 attrs = {{
|
/build/bazel/bazel_skylib/ |
D | bzl_library.bzl | 47 attrs = {
|
/build/soong/genrule/ |
D | genrule.go | 879 attrs := &bazelGenruleAttributes{ 891 ctx.CreateBazelTargetModule(BazelGenruleFactory, m.Name(), props, attrs)
|
/build/bazel/rules_cc/examples/ |
D | experimental_cc_shared_library.bzl | 462 attrs = { 469 attrs = {
|
/build/make/tools/droiddoc/templates-pdk/assets/ |
D | android-developer-docs.css | 664 attrs, methods, etc. */
|