android

Provides access to information about Android rules. Every Android-related target provides this struct, accessible as a android field on a target.

aar

File AndroidSkylarkApiProvider.aar

Returns the aar output of this target. May return None.

apk

File AndroidSkylarkApiProvider.apk

Returns an APK produced by this target. May return None.

apks_under_test

ImmutableCollection AndroidSkylarkApiProvider.apks_under_test

Returns a collection of APKs that this target tests. May return None.

defines_resources

bool AndroidSkylarkApiProvider.defines_resources

Returns True if the target defines any Android resources directly.

idl

AndroidSkylarkIdlInfo AndroidSkylarkApiProvider.idl

Returns information about IDL files associated with this target.

java_package

string AndroidSkylarkApiProvider.java_package

Returns a java package for this target. May return None.

manifest

File AndroidSkylarkApiProvider.manifest

Returns a manifest file for this target. May return None.

merged_manifest

File AndroidSkylarkApiProvider.merged_manifest

Returns a manifest file for this target after all processing, e.g.: merging, etc. May return None.

native_libs

dict AndroidSkylarkApiProvider.native_libs

Returns the native libraries as a dictionary of the libraries' architecture as a string to a set of the native library files, or the empty dictionary if there are no native libraries.

resource_apk

File AndroidSkylarkApiProvider.resource_apk

Returns the resources container for the target.

resource_jar

java_output AndroidSkylarkApiProvider.resource_jar

Returns a jar file for classes generated from resources. May return None.

resources

depset AndroidSkylarkApiProvider.resources

Returns resources defined by this target.