def android_binary(
*,
name: str,
default_target_platform: None | str = None,
target_compatible_with: list[str] = [],
compatible_with: list[str] = [],
exec_compatible_with: list[str] = [],
visibility: list[str] = [],
within_view: list[str] = ["PUBLIC"],
metadata: OpaqueMetadata = {},
tests: list[str] = [],
modifiers: OpaqueMetadata = [],
_android_toolchain: str = "gh_facebook_buck2_shims_meta//:android",
_apple_platforms: dict[str, str] = {},
_cxx_toolchain: str = gh_facebook_buck2_shims_meta//:android-hack,
_dex_toolchain: str = "gh_facebook_buck2_shims_meta//:dex",
_exec_os_type: str = "prelude//os_lookup/targets:os_lookup",
_is_building_android_binary: bool = True,
_is_force_single_cpu: bool = False,
_is_force_single_default_cpu: bool = False,
_java_toolchain: str = "gh_facebook_buck2_shims_meta//:java_for_android",
aapt2_keep_raw_values: bool = False,
aapt2_locale_filtering: bool = False,
aapt2_preferred_density: None | str = None,
additional_aapt_params: list[str] = [],
allow_r_dot_java_in_secondary_dex: bool = False,
allowed_duplicate_resource_types: list[str] = [],
android_sdk_proguard_config: None | str = None,
application_module_blocklist: None | list[str] = None,
application_module_configs: dict[str, list[str]] = {},
application_module_dependencies: None | dict[str, list[str]] = None,
asset_compression_algorithm: None | str = None,
banned_duplicate_resource_types: list[str] = [],
build_config_values: list[str] = [],
build_config_values_file: None | str = None,
build_string_source_map: bool = False,
compiled_resource_apks: list[str] = [],
compress_asset_libraries: bool = False,
constraint_overrides: list[str] = [],
contacts: list[str] = [],
cpu_filters: list[str] = [],
default_host_platform: None | str = None,
default_module_manifest_skeleton: None | str = None,
deps: list[str] = [],
dex_compression: None | str = None,
dex_group_lib_limit: int = 0,
disable_pre_dex: bool = False,
duplicate_class_checker_enabled: bool = False,
duplicate_resource_behavior: str = "allow_by_default",
duplicate_resource_whitelist: None | str = None,
enable_bootstrap_dexes: bool = False,
enable_relinker: bool = False,
exopackage_modes: list[str] = [],
extra_filtered_resources: list[str] = [],
extra_no_compress_asset_extensions: list[str] = [],
field_ref_count_buffer_space: int = 0,
ignore_aapt_proguard_config: bool = False,
includes_vector_drawables: bool = False,
is_cacheable: bool = False,
is_voltron_language_pack_enabled: bool = False,
keystore: str,
labels: list[str] = [],
licenses: list[str] = [],
linear_alloc_hard_limit: int = 4194304,
locales: list[str] = [],
manifest: None | str = None,
manifest_entries: dict[str, typing.Any] = {},
manifest_skeleton: None | str = None,
method_ref_count_buffer_space: int = 0,
min_sdk_version: None | int = None,
minimize_primary_dex_size: bool = False,
module_manifest_skeleton: dict[str, str] = {},
native_library_bolt_args: None | dict[str, list[str]] = None,
native_library_merge_code_generator: None | str = None,
native_library_merge_glue: None | str = None,
native_library_merge_linker_args: None | dict[str, list[str]] = None,
native_library_merge_linker_args_all: list[str] = [],
native_library_merge_map: None | dict[str, list[str]] = None,
native_library_merge_non_asset_libs: bool = False,
native_library_merge_sequence: None | list = None,
native_library_merge_sequence_blocklist: None | list[str] = None,
native_library_pick_first: list[str] = [],
no_auto_add_overlay_resources: bool = False,
no_auto_version_resources: bool = False,
no_dx: list[str] = [],
no_version_transitions_resources: bool = False,
optimization_passes: int = 1,
package_asset_libraries: bool = False,
package_type: str = "debug",
packaged_locales: list[str] = [],
packaging_options: dict[str, list[str]] = {},
platform_override: None | str = None,
post_filter_resources_cmd: None | str = None,
preprocess_java_classes_bash: None | str = None,
preprocess_java_classes_cmd: None | str = None,
preprocess_java_classes_deps: list[str] = [],
primary_dex_patterns: list[str] = [],
proguard_config: None | str = None,
proguard_jvm_args: list[str] = [],
relinker_extra_args: list[str] = [],
relinker_extra_deps: list[str] = [],
relinker_whitelist: list[str] = [],
resource_compression: str = "disabled",
resource_filter: list[str] = [],
resource_stable_ids: None | str = None,
resource_union_package: None | str = None,
secondary_dex_weight_limit: None | int = None,
skip_crunch_pngs: None | bool = None,
skip_proguard: bool = False,
strip_libraries: bool = True,
trim_resource_ids: bool = False,
use_split_dex: bool = False,
validation_deps: list[str] = [],
xz_compression_level: int = 4,
) -> None