Home
last modified time | relevance | path

Searched refs:attr (Results 1 – 25 of 27) sorted by relevance

12

/build/soong/bp2build/
Dbzl_conversion_test.go86 "soong_module_name": attr.string(mandatory = True),
87 "soong_module_variant": attr.string(),
88 "soong_module_deps": attr.label_list(providers = [SoongModuleInfo]),
89 "arch_paths": attr.string_list(),
91 # "label": attr.string(),
92 # "bp2build_available": attr.bool(),
94 "bool_prop": attr.bool(),
95 "bool_ptr_prop": attr.bool(),
96 "int64_ptr_prop": attr.int(),
98 # "nested_prop": attr.string(),
[all …]
Dandroidbp_to_build_templates.go60 name = ctx.attr.soong_module_name,
61 type = ctx.attr.soong_module_type,
62 variant = ctx.attr.soong_module_variant,
69 "soong_module_name": attr.string(mandatory = True),
70 "soong_module_type": attr.string(mandatory = True),
71 "soong_module_variant": attr.string(),
72 "soong_module_deps": attr.label_list(providers = [SoongModuleInfo]),
Dbzl_conversion.go112 "soong_module_name": attr.string(mandatory = True),
113 "soong_module_variant": attr.string(),
114 "soong_module_deps": attr.label_list(providers = [SoongModuleInfo]),
/build/bazel/product_variables/
Dproduct_variables.bzl7 "Platform_version_name": ctx.attr.platform_version_name,
8 "Platform_sdk_version": str(ctx.attr.platform_sdk_version),
9 "Platform_sdk_codename": ctx.attr.platform_sdk_codename,
10 "Platform_sdk_final": str(1 if ctx.attr.platform_sdk_final else 0),
11 … "Platform_version_active_codenames": ",".join(ctx.attr.platform_version_active_codenames),
12 "Platform_vndk_version": ctx.attr.platform_vndk_version,
20 "platform_version_name": attr.string(default="S"),
21 "platform_sdk_version": attr.int(default=30),
22 "platform_sdk_codename": attr.string(default="S"),
23 "platform_sdk_final": attr.bool(default=False),
[all …]
/build/soong/scripts/
Dmanifest_fixer.py247 attr = application.getAttributeNodeNS(android_ns, 'usesNonSdkApi')
248 if attr is None:
249 attr = doc.createAttributeNS(android_ns, 'android:usesNonSdkApi')
250 attr.value = 'true'
251 application.setAttributeNode(attr)
267 attr = application.getAttributeNodeNS(android_ns, 'useEmbeddedDex')
268 if attr is None:
269 attr = doc.createAttributeNS(android_ns, 'android:useEmbeddedDex')
270 attr.value = 'true'
271 application.setAttributeNode(attr)
[all …]
Dmanifest.py38 attr = child.getAttributeNodeNS(namespace_uri, attr_name)
39 if attr is not None and attr.value == value:
60 attr = doc.createAttributeNS(minidom.XMLNS_NAMESPACE, 'xmlns:android')
61 attr.value = android_ns
62 manifest.setAttributeNode(attr)
Dmanifest_check_test.py28 def uses_library_xml(name, attr=''): argument
29 return '<uses-library android:name="%s"%s />' % (name, attr)
/build/pesto/experiments/prepare_bazel_test_env/data/templates/build/bazel/rules/
Dcc_test.bzl.template28 "{{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(
67 "_tradefed_script_help": attr.label(
70 "_tradefed_jars": attr.label(
73 "_template": attr.label(
[all …]
/build/bazel/rules/
Dcc_object.bzl46 for obj in ctx.attr.deps:
50 product_variables = ctx.attr._android_product_variables[platform_common.TemplateVariableInfo]
51 asflags = [flag.format(**product_variables.variables) for flag in ctx.attr.asflags]
61 includes = ctx.attr.includes,
64 user_compile_flags = ctx.attr.copts + asflags,
93 "srcs": attr.label_list(allow_files = constants.all_dot_exts),
94 "hdrs": attr.label_list(allow_files = constants.hdr_dot_exts),
95 "includes": attr.string_list(),
96 "copts": attr.string_list(),
97 "asflags": attr.string_list(),
[all …]
Dfull_cc_library.bzl79 static_files = ctx.attr.static[DefaultInfo].files.to_list()
80 shared_files = ctx.attr.shared[DefaultInfo].files.to_list()
85 ctx.attr.shared[CcSharedLibraryInfo],
86 ctx.attr.static[CcInfo],
96 "shared": attr.label(mandatory = True, providers = [CcSharedLibraryInfo]),
97 "static": attr.label(mandatory = True, providers = [CcInfo]),
Dstatic_libc.bzl9 include_dirs = ctx.attr.include_dirs
19 "include_dirs": attr.string_list(default = []),
20 "system_libraries": attr.label_list(default = [], allow_files = True),
Dcc_library_static.bzl58 if len(ctx.attr.deps) != 1:
61 main_target = ctx.attr.deps[0]
141 "deps": attr.label_list(providers = [CcInfo]),
142 "_cc_toolchain": attr.label(
/build/make/core/
Dproduct_config.rbc52 def __print_attr(attr, value):
59 print(attr, "=", repr(value))
61 print(attr, ":=", " ".join(value))
63 print(attr, "=", repr(value))
65 print(attr, ":=", value)
71 for attr, val in sorted(cfg.items()):
72 __print_attr(attr, val)
75 for attr, val in sorted(globals.items()):
76 if attr not in _globals_base:
77 __print_attr(attr, val)
[all …]
/build/bazel/rules_cc/examples/
Dexperimental_cc_shared_library.bzl88 for dep in ctx.attr.dynamic_deps:
221 for export in ctx.attr.roots:
267 for static_dep_path in ctx.attr.static_deps:
276 ctx.attr.exports_filter,
308 if ctx.attr._enable_permissions_check[BuildSettingInfo].value:
309 return ctx.attr.permissions
313 if ctx.attr.version_script == None:
332 for export in ctx.attr.roots:
341 if len(ctx.attr.preloaded_deps) != 0:
343 for preloaded_dep in ctx.attr.preloaded_deps:
[all …]
/build/soong/bazel/
Dproperties.go239 func (attr *LabelAttribute) GetValueForArch(arch string) Label {
242 return attr.Arm
244 return attr.Arm64
246 return attr.X86
248 return attr.X86_64
250 return attr.Value
256 func (attr *LabelAttribute) SetValueForArch(arch string, value Label) {
259 attr.Arm = value
261 attr.Arm64 = value
263 attr.X86 = value
[all …]
/build/make/tools/droiddoc/templates-pdk/assets/design/
Ddefault.js56 var prevHref = $prevLink.attr('href');
61 $('.prev-page-link').attr('href', prevHref).show();
81 $('.next-page-link').attr('href', $nextLink.attr('href')).show();
123 window.location.href = $(this).attr('href');
139 .text($target.attr('title'))
164 var id = $(this).attr('id');
/build/make/tools/droiddoc/templates-pdk/assets/
Dandroid-developer-reference.js19 $("#apiLevelSelector").attr("disabled","disabled");
33 $("#apiLevelSelector").attr("disabled","disabled");
35 $("#apiLevelCheckbox").attr("checked","checked");
39 minLevel = parseInt($("body").attr("class"));
48 var option = $("<option />").attr("value",""+SINCE_DATA[i]).append(""+SINCE_DATA[i]);
78 …is " + thing + ", your application must specify API Level \"" + $("body").attr("class") + "\" or h…
91 var className = obj.attr("class");
109 if (apiLevelNum > selectedLevelNum) obj.addClass("absent").attr("title","Requires API Level \""
Dandroid-developer-docs.js192 .attr('href', toRoot + "resources/browser.html?tag=" + topics[i].name)
224 .attr('href', toRoot + "resources/" + resource.path)
449 $(".toggle-img", li).attr("title", "hide pages");
454 $(".toggle-img", li).attr("title", "show pages");
583 $("#language").find("option[value='"+lang+"']").attr("selected",true);
588 var lang = $("#language").find(":selected").attr("value");
605 …$(".toggle-content-img", div).attr("title", "hide").attr("src", toRoot + "assets/images/triangle-o…
610 …$(".toggle-content-img", div).attr("title", "show").attr("src", toRoot + "assets/images/triangle-c…
/build/bazel/examples/queryview/
Dnocrt.txt1 attr(nocrt, 1, //...)
Dapex_available.txt1 attr(apex_available, //apex_available:platform, //...)
Dlibc.txt1 attr(module_name, \Alibc$, //bionic/libc:all)
/build/bazel/rules_cc/cc/
Dfind_cc_toolchain.bzl27 "_cc_toolchain": attr.label(
47 We advise to depend on both `_cc_toolchain` attr and on the toolchain type for
74 if hasattr(ctx.attr, "_cc_toolchain"):
75 return ctx.attr._cc_toolchain[cc_common.CcToolchainInfo]
/build/bazel/bazel_skylib/rules/
Dcommon_settings.bzl71 allowed_values = ctx.attr.values
73 if len(allowed_values) == 0 or value in ctx.attr.values:
82 "values": attr.string_list(
93 "values": attr.string_list(
/build/bazel/bazel_skylib/
Dbzl_library.bzl27 deps_files = [x.files for x in ctx.attr.deps]
48 "srcs": attr.label_list(
52 "deps": attr.label_list(
/build/soong/android/
Dbazel_handler.go376 def _config_node_transition_impl(settings, attr):
378 "//command_line_option:platforms": "@//build/bazel/platforms:android_%s" % attr.arch,
395 "arch" : attr.string(mandatory = True),
396 "deps" : attr.label_list(cfg = _config_node_transition),
397 …"_allowlist_function_transition": attr.label(default = "@bazel_tools//tools/allowlists/function_tr…
408 "deps" : attr.label_list(),
421 attrs = {"deps" : attr.label_list()},

12