• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# buildifier: disable=module-docstring
2# buildifier: disable=function-docstring
3def exercise_the_api():
4    _var1 = android_common.create_device_broker_info("")
5    _var2 = ApkInfo
6    _var3 = AndroidInstrumentationInfo
7    _var4 = AndroidDeviceBrokerInfo
8    _var5 = AndroidResourcesInfo
9    _var6 = AndroidNativeLibsInfo
10    _var7 = AndroidSdkInfo
11    _var8 = android_data
12
13exercise_the_api()
14
15def my_rule_impl(ctx):
16    return []
17
18android_related_rule = rule(
19    implementation = my_rule_impl,
20    doc = "This rule does android-related things.",
21    attrs = {
22        "first": attr.label(mandatory = True, allow_single_file = True),
23        "second": attr.string_dict(mandatory = True),
24        "third": attr.output(mandatory = True),
25        "fourth": attr.bool(default = False, mandatory = False),
26    },
27)
28