all_apex_certs
all_apex_certs is a singleton module that collects the certs of all apexes in the tree.
It provides two types of output files
1. .pem: This is usually the checked-in x509 certificate in PEM format
2. .der: This is DER format of the certificate, and is generated from the PEM certificate using `openssl x509`
name
,
arch
,
compile_multilib
,
debug_ramdisk
,
device_specific
,
dist
,
dists
,
enabled
,
host_required
,
init_rc
,
licenses
,
multilib
,
native_bridge_supported
,
no_full_install
,
odm_dlkm_specific
,
overrides
,
owner
,
product_specific
,
product_variables.debuggable
,
product_variables.release_aidl_use_unfrozen
,
product_variables.selinuxignoreneverallows
,
product_variables.unbundled_build
,
proprietary
,
ramdisk
,
recovery
,
required
,
soc_specific
,
system_dlkm_specific
,
system_ext_specific
,
target
,
target.android
,
target.host
,
target_required
,
team
,
use_generic_config
,
vendor
,
vendor_dlkm_specific
,
vendor_ramdisk
,
vintf_fragment_modules
,
vintf_fragments
,
visibility
name
string, The name of the module. Must be unique across all modules.
Default: all_apex_certs
arch
interface
compile_multilib
string, control whether this module compiles for 32-bit, 64-bit, or both. Possible values
are "32" (compile for 32-bit only), "64" (compile for 64-bit only), "both" (compile for both
architectures), or "first" (compile for 64-bit on a 64-bit platform, and 32-bit on a 32-bit
platform).
debug_ramdisk
bool, Whether this module is installed to debug ramdisk
device_specific
bool, whether this module is specific to a device, not only for SoC, but also for off-chip
peripherals. When set to true, it is installed into /odm (or /vendor/odm if odm partition
does not exist, or /system/vendor/odm if both odm and vendor partitions do not exist).
This implies `soc_specific:true`.
⊕dist
Dist
configuration to distribute output files from this module to the distribution
directory (default: $OUT/dist, configurable with $DIST_DIR)
targets
list of string, Copy the output of this module to the $DIST_DIR when `dist` is specified on the
command line and any of these targets are also on the command line, or otherwise
built
dest
string, The name of the output artifact. This defaults to the basename of the output of
the module.
dir
string, The directory within the dist directory to store the artifact. Defaults to the
top level directory ("").
suffix
string, A suffix to add to the artifact file name (before any extension).
append_artifact_with_product
bool, If true, then the artifact file will be appended with _<product name>. For
example, if the product is coral and the module is an android_app module
of name foo, then the artifact would be foo_coral.apk. If false, there is
no change to the artifact file name.
prepend_artifact_with_product
bool, If true, then the artifact file will be prepended with <product name>-. For
example, if the product is coral and the module is an android_app module
of name foo, then the artifact would be coral-foo.apk. If false, there is
no change to the artifact file name.
tag
string, A string tag to select the OutputFiles associated with the tag.
If no tag is specified then it will select the default dist paths provided
by the module type. If a tag of "" is specified then it will return the
default output files provided by the modules, i.e. the result of calling
OutputFiles("").
dists
list of Dist, a list of configurations to distribute output files from this module to the
distribution directory (default: $OUT/dist, configurable with $DIST_DIR)
enabled
configurable bool, emit build rules for this module
Disabling a module should only be done for those modules that cannot be built
in the current environment. Modules that can build in the current environment
but are not usually required (e.g. superceded by a prebuilt) should not be
disabled as that will prevent them from being built by the checkbuild target
and so prevent early detection of changes that have broken those modules.
host_required
list of string, names of other modules to install on host if this module is installed
init_rc
configurable list of string, init.rc files to be installed if this module is installed
licenses
list of string, Describes the licenses applicable to this module. Must reference license modules.
multilib
interface
native_bridge_supported
bool, Whether this module is built for non-native architectures (also known as native bridge binary)
no_full_install
bool, When set to true, this module is not installed to the full install path (ex: under
out/target/product/<name>/<partition>). It can be installed only to the packaging
modules like android_filesystem.
odm_dlkm_specific
bool, Install to partition odm_dlkm when set to true.
overrides
list of string, List of module names that are prevented from being installed when this module gets
installed.
owner
string, vendor who owns this module
product_specific
bool, whether this module is specific to a software configuration of a product (e.g. country,
network operator, etc). When set to true, it is installed into /product (or
/system/product if product partition does not exist).
⊕product_variables.debuggable
⊕init_rc
⊕required
⊕host_required
⊕target_required
⊕product_variables.release_aidl_use_unfrozen
⊕required
⊕vintf_fragment_modules
⊕product_variables.selinuxignoreneverallows
⊕product_variables.unbundled_build
⊕enabled
Configurable[bool]
Configurable[bool]
proptools.Configurable[bool]
proprietary
bool, whether this is a proprietary vendor module, and should be installed into /vendor
ramdisk
bool, Whether this module is installed to ramdisk
recovery
bool, Whether this module is installed to recovery partition
required
configurable list of string, names of other modules to install if this module is installed
soc_specific
bool, whether this module is specific to an SoC (System-On-a-Chip). When set to true,
it is installed into /vendor (or /system/vendor if vendor partition does not exist).
system_dlkm_specific
bool, Install to partition system_dlkm when set to true.
system_ext_specific
bool, whether this module extends system. When set to true, it is installed into /system_ext
(or /system/system_ext if system_ext partition does not exist).
target
interface
⊕target.android
compile_multilib
string
enabled
bool
⊕target.host
target_required
list of string, names of other modules to install on target if this module is installed
team
string, The team (defined by the owner/vendor) who owns the property.
use_generic_config
bool, Set to true if this module must be generic and does not require product-specific information.
To be included in the system image, this property must be set to true.
vendor
bool, whether this module is specific to an SoC (System-On-a-Chip). When set to true,
it is installed into /vendor (or /system/vendor if vendor partition does not exist).
Use `soc_specific` instead for better meaning.
vendor_dlkm_specific
bool, Install to partition vendor_dlkm when set to true.
vendor_ramdisk
bool, Whether this module is installed to vendor ramdisk
vintf_fragment_modules
configurable list of string, vintf_fragment Modules required from this module.
vintf_fragments
configurable list of string, VINTF manifest fragments to be installed if this module is installed
visibility
list of string, Controls the visibility of this module to other modules. Allowable values are one or more of
these formats:
["//visibility:public"]: Anyone can use this module.
["//visibility:private"]: Only rules in the module's package (not its subpackages) can use
this module.
["//visibility:override"]: Discards any rules inherited from defaults or a creating module.
Can only be used at the beginning of a list of visibility rules.
["//some/package:__pkg__", "//other/package:__pkg__"]: Only modules in some/package and
other/package (defined in some/package/*.bp and other/package/*.bp) have access to
this module. Note that sub-packages do not have access to the rule; for example,
//some/package/foo:bar or //other/package/testing:bla wouldn't have access. __pkg__
is a special module and must be used verbatim. It represents all of the modules in the
package.
["//project:__subpackages__", "//other:__subpackages__"]: Only modules in packages project
or other or in one of their sub-packages have access to this module. For example,
//project:rule, //project/library:lib or //other/testing/internal:munge are allowed
to depend on this rule (but not //independent:evil)
["//project"]: This is shorthand for ["//project:__pkg__"]
[":__subpackages__"]: This is shorthand for ["//project:__subpackages__"] where
//project is the module's package. e.g. using [":__subpackages__"] in
packages/apps/Settings/Android.bp is equivalent to
//packages/apps/Settings:__subpackages__.
["//visibility:legacy_public"]: The default visibility, behaves as //visibility:public
for now. It is an error if it is used in a module.
If a module does not specify the `visibility` property then it uses the
`default_visibility` property of the `package` module in the module's package.
If the `default_visibility` property is not set for the module's package then
it will use the `default_visibility` of its closest ancestor package for which
a `default_visibility` property is specified.
If no `default_visibility` property can be found then the module uses the
global default of `//visibility:legacy_public`.
The `visibility` property has no effect on a defaults module although it does
apply to any non-defaults module that uses it. To set the visibility of a
defaults module, use the `defaults_visibility` property on the defaults module;
not to be confused with the `default_visibility` property on the package module.
See https://android.googlesource.com/platform/build/soong/+/main/README.md#visibility for
more details.
Default: [//cts/tests/tests/security //cts/hostsidetests/appsecurity]
apex
apex packages other modules into an APEX file which is a packaging format for system-level
components like binaries, shared libraries, etc.
name
,
defaults
,
allowed_files
,
androidManifest
,
apex_available_name
,
apps
,
arch
,
arch.arm
,
arch.arm64
,
arch.riscv64
,
arch.x86
,
arch.x86_64
,
binaries
,
bootclasspath_fragments
,
bpfs
,
canned_fs_config
,
certificate
,
compat_configs
,
compile_multilib
,
compressible
,
custom_sign_tool
,
debug_ramdisk
,
device_specific
,
dist
,
dists
,
dynamic_common_lib_apex
,
enabled
,
exclude_binaries
,
exclude_filesystems
,
exclude_jni_libs
,
exclude_native_shared_libs
,
exclude_prebuilts
,
exclude_rust_dyn_libs
,
exclude_tests
,
file_contexts
,
filesystems
,
future_updatable
,
host_required
,
ignore_system_library_special_case
,
init_rc
,
installable
,
java_libs
,
jni_libs
,
key
,
licenses
,
logging_parent
,
manifest
,
min_sdk_version
,
multilib
,
multilib.both
,
multilib.first
,
multilib.lib32
,
multilib.lib64
,
multilib.prefer32
,
native_bridge_supported
,
native_shared_libs
,
no_full_install
,
odm_dlkm_specific
,
overrides
,
owner
,
package_name
,
payload_fs_type
,
platform_apis
,
prebuilts
,
product_specific
,
product_variables.debuggable
,
product_variables.release_aidl_use_unfrozen
,
product_variables.selinuxignoreneverallows
,
product_variables.unbundled_build
,
proprietary
,
ramdisk
,
recovery
,
required
,
rros
,
rust_dyn_libs
,
sh_binaries
,
soc_specific
,
system_dlkm_specific
,
system_ext_specific
,
systemserverclasspath_fragments
,
target
,
target.android
,
target.host
,
target.linux_bionic
,
target.linux_glibc
,
target_required
,
team
,
test_only_force_compression
,
test_only_unsigned_payload
,
tests
,
trim_against
,
unwanted_transitive_deps
,
updatable
,
use_generic_config
,
variant_version
,
vendor
,
vendor_dlkm_specific
,
vendor_ramdisk
,
vintf_fragment_modules
,
vintf_fragments
,
visibility
name
string, The name of the module. Must be unique across all modules.
defaults
list of string
allowed_files
string, A txt file containing list of files that are allowed to be included in this APEX.
androidManifest
configurable string, AndroidManifest.xml file used for the zip container of this APEX bundle. If unspecified,
a default one is automatically generated.
apex_available_name
string, Name that dependencies can specify in their apex_available properties to refer to this module.
If not specified, this defaults to Soong module name. This must be the name of a Soong module.
apps
configurable list of string, List of APKs that are embedded inside this APEX.
arch
interface
⊕arch.arm
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕arch.arm64
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕arch.riscv64
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕arch.x86
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕arch.x86_64
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
bootclasspath_fragments
configurable list of string, List of bootclasspath fragments that are embedded inside this APEX bundle.
bpfs
configurable list of string, List of BPF programs inside this APEX bundle.
canned_fs_config
configurable string, Path to the canned fs config file for customizing file's
uid/gid/mod/capabilities. The content of this file is appended to the
default config, so that the custom entries are preferred. The format is
/<path_or_glob> <uid> <gid> <mode> [capabilities=0x<cap>], where
path_or_glob is a path or glob pattern for a file or set of files,
uid/gid are numerial values of user ID and group ID, mode is octal value
for the file mode, and cap is hexadecimal value for the capability.
certificate
string, Specifies the certificate and the private key to sign the zip container of this APEX. If
this is "foo", foo.x509.pem and foo.pk8 under PRODUCT_DEFAULT_DEV_CERTIFICATE are used
as the certificate and the private key, respectively. If this is ":module", then the
certificate and the private key are provided from the android_app_certificate module
named "module".
compat_configs
list of string, List of platform_compat_config files that are embedded inside this APEX bundle.
compile_multilib
string, control whether this module compiles for 32-bit, 64-bit, or both. Possible values
are "32" (compile for 32-bit only), "64" (compile for 64-bit only), "both" (compile for both
architectures), or "first" (compile for 64-bit on a 64-bit platform, and 32-bit on a 32-bit
platform).
compressible
bool, Whether this APEX can be compressed or not. Setting this property to false means this
APEX will never be compressed. When set to true, APEX will be compressed if other
conditions, e.g., target device needs to support APEX compression, are also fulfilled.
Default: false.
custom_sign_tool
string, Put extra tags (signer=<value>) to apexkeys.txt, so that release tools can sign this apex
with the tool to sign payload contents.
debug_ramdisk
bool, Whether this module is installed to debug ramdisk
device_specific
bool, whether this module is specific to a device, not only for SoC, but also for off-chip
peripherals. When set to true, it is installed into /odm (or /vendor/odm if odm partition
does not exist, or /system/vendor/odm if both odm and vendor partitions do not exist).
This implies `soc_specific:true`.
⊕dist
Dist
configuration to distribute output files from this module to the distribution
directory (default: $OUT/dist, configurable with $DIST_DIR)
targets
list of string, Copy the output of this module to the $DIST_DIR when `dist` is specified on the
command line and any of these targets are also on the command line, or otherwise
built
dest
string, The name of the output artifact. This defaults to the basename of the output of
the module.
dir
string, The directory within the dist directory to store the artifact. Defaults to the
top level directory ("").
suffix
string, A suffix to add to the artifact file name (before any extension).
append_artifact_with_product
bool, If true, then the artifact file will be appended with _<product name>. For
example, if the product is coral and the module is an android_app module
of name foo, then the artifact would be foo_coral.apk. If false, there is
no change to the artifact file name.
prepend_artifact_with_product
bool, If true, then the artifact file will be prepended with <product name>-. For
example, if the product is coral and the module is an android_app module
of name foo, then the artifact would be coral-foo.apk. If false, there is
no change to the artifact file name.
tag
string, A string tag to select the OutputFiles associated with the tag.
If no tag is specified then it will select the default dist paths provided
by the module type. If a tag of "" is specified then it will return the
default output files provided by the modules, i.e. the result of calling
OutputFiles("").
dists
list of Dist, a list of configurations to distribute output files from this module to the
distribution directory (default: $OUT/dist, configurable with $DIST_DIR)
dynamic_common_lib_apex
bool, Whether this is a dynamic common lib apex, if so the native shared libs will be placed
in a special way that include the digest of the lib file under /lib(64)?
enabled
configurable bool, emit build rules for this module
Disabling a module should only be done for those modules that cannot be built
in the current environment. Modules that can build in the current environment
but are not usually required (e.g. superceded by a prebuilt) should not be
disabled as that will prevent them from being built by the checkbuild target
and so prevent early detection of changes that have broken those modules.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
file_contexts
string, Determines the file contexts file for setting the security contexts to files in this APEX
bundle. For platform APEXes, this should points to a file under /system/sepolicy Default:
/system/sepolicy/apex/<module_name>_file_contexts.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
future_updatable
bool, Marks that this APEX is designed to be updatable in the future, although it's not
updatable yet. This is used to mimic some of the build behaviors that are applied only to
updatable APEXes. Currently, this disables the size optimization, so that the size of
APEX will not increase when the APEX is actually marked as truly updatable. Default is
false.
host_required
list of string, names of other modules to install on host if this module is installed
ignore_system_library_special_case
bool, For telling the APEX to ignore special handling for system libraries such as bionic.
Default is false.
init_rc
configurable list of string, init.rc files to be installed if this module is installed
installable
bool, Whether this APEX is installable to one of the partitions like system, vendor, etc.
Default: true.
java_libs
list of string, List of java libraries that are embedded inside this APEX bundle.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
key
string, Name of the apex_key module that provides the private key to sign this APEX bundle.
licenses
list of string, Describes the licenses applicable to this module. Must reference license modules.
logging_parent
string, Logging parent value.
manifest
string, Json manifest file describing meta info of this APEX bundle. Refer to
system/apex/proto/apex_manifest.proto for the schema. Default: "apex_manifest.json"
min_sdk_version
string, The minimum SDK version that this APEX must support at minimum. This is usually set to
the SDK version that the APEX was first introduced.
multilib
interface
⊕multilib.both
ApexNativeDependencies
Native dependencies whose compile_multilib is "both"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.first
ApexNativeDependencies
Native dependencies whose compile_multilib is "first"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.lib32
ApexNativeDependencies
Native dependencies whose compile_multilib is "32"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.lib64
ApexNativeDependencies
Native dependencies whose compile_multilib is "64"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.prefer32
ApexNativeDependencies
Native dependencies whose compile_multilib is "prefer32"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
native_bridge_supported
bool, Whether this module is built for non-native architectures (also known as native bridge binary)
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
no_full_install
bool, When set to true, this module is not installed to the full install path (ex: under
out/target/product/<name>/<partition>). It can be installed only to the packaging
modules like android_filesystem.
odm_dlkm_specific
bool, Install to partition odm_dlkm when set to true.
overrides
list of string, List of module names that are prevented from being installed when this module gets
installed.
owner
string, vendor who owns this module
package_name
configurable string, Apex Container package name. Override value for attribute package:name in
AndroidManifest.xml
payload_fs_type
string, The type of filesystem to use. Either 'ext4', 'f2fs' or 'erofs'. Default 'ext4'.
platform_apis
bool, Whether this APEX can use platform APIs or not. Can be set to true only when `updatable:
false`. Default is false.
prebuilts
configurable list of string, List of prebuilt files that are embedded inside this APEX bundle.
product_specific
bool, whether this module is specific to a software configuration of a product (e.g. country,
network operator, etc). When set to true, it is installed into /product (or
/system/product if product partition does not exist).
⊕product_variables.debuggable
⊕init_rc
⊕required
⊕host_required
⊕target_required
⊕jni_libs
⊕product_variables.release_aidl_use_unfrozen
⊕required
⊕vintf_fragment_modules
⊕product_variables.selinuxignoreneverallows
⊕product_variables.unbundled_build
⊕enabled
Configurable[bool]
Configurable[bool]
proptools.Configurable[bool]
proprietary
bool, whether this is a proprietary vendor module, and should be installed into /vendor
ramdisk
bool, Whether this module is installed to ramdisk
recovery
bool, Whether this module is installed to recovery partition
required
configurable list of string, names of other modules to install if this module is installed
rros
list of string, List of runtime resource overlays (RROs) that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
sh_binaries
list of string, List of sh binaries that are embedded inside this APEX bundle.
soc_specific
bool, whether this module is specific to an SoC (System-On-a-Chip). When set to true,
it is installed into /vendor (or /system/vendor if vendor partition does not exist).
system_dlkm_specific
bool, Install to partition system_dlkm when set to true.
system_ext_specific
bool, whether this module extends system. When set to true, it is installed into /system_ext
(or /system/system_ext if system_ext partition does not exist).
systemserverclasspath_fragments
configurable list of string, List of systemserverclasspath fragments that are embedded inside this APEX bundle.
target
interface
⊕target.android
compile_multilib
string
enabled
bool
⊕multilib.first
ApexNativeDependencies
Native dependencies whose compile_multilib is "first"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.both
ApexNativeDependencies
Native dependencies whose compile_multilib is "both"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.prefer32
ApexNativeDependencies
Native dependencies whose compile_multilib is "prefer32"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.lib32
ApexNativeDependencies
Native dependencies whose compile_multilib is "32"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.lib64
ApexNativeDependencies
Native dependencies whose compile_multilib is "64"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕target.host
compile_multilib
string
⊕multilib.first
ApexNativeDependencies
Native dependencies whose compile_multilib is "first"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.both
ApexNativeDependencies
Native dependencies whose compile_multilib is "both"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.prefer32
ApexNativeDependencies
Native dependencies whose compile_multilib is "prefer32"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.lib32
ApexNativeDependencies
Native dependencies whose compile_multilib is "32"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.lib64
ApexNativeDependencies
Native dependencies whose compile_multilib is "64"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕target.linux_bionic
Multilib properties only for host linux_bionic.
⊕multilib.first
ApexNativeDependencies
Native dependencies whose compile_multilib is "first"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.both
ApexNativeDependencies
Native dependencies whose compile_multilib is "both"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.prefer32
ApexNativeDependencies
Native dependencies whose compile_multilib is "prefer32"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.lib32
ApexNativeDependencies
Native dependencies whose compile_multilib is "32"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.lib64
ApexNativeDependencies
Native dependencies whose compile_multilib is "64"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕target.linux_glibc
Multilib properties only for host linux_glibc.
⊕multilib.first
ApexNativeDependencies
Native dependencies whose compile_multilib is "first"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.both
ApexNativeDependencies
Native dependencies whose compile_multilib is "both"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.prefer32
ApexNativeDependencies
Native dependencies whose compile_multilib is "prefer32"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.lib32
ApexNativeDependencies
Native dependencies whose compile_multilib is "32"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.lib64
ApexNativeDependencies
Native dependencies whose compile_multilib is "64"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
target_required
list of string, names of other modules to install on target if this module is installed
team
string, The team (defined by the owner/vendor) who owns the property.
test_only_force_compression
bool, Whenever apex should be compressed, regardless of product flag used. Should be only
used in tests.
test_only_unsigned_payload
bool, Whenever apex_payload.img of the APEX should not be dm-verity signed. Should be only
used in tests.
tests
list of string, List of native tests that are embedded inside this APEX.
trim_against
string, Trim against a specific Dynamic Common Lib APEX
unwanted_transitive_deps
list of string, List of module names which we don't want to add as transitive deps. This can be used as
a workaround when the current implementation collects more than necessary. For example,
Rust binaries with prefer_rlib:true add unnecessary dependencies.
updatable
bool, Whether this APEX is considered updatable or not. When set to true, this will enforce
additional rules for making sure that the APEX is truly updatable. To be updatable,
min_sdk_version should be set as well. This will also disable the size optimizations like
symlinking to the system libs. Default is true.
use_generic_config
bool, Set to true if this module must be generic and does not require product-specific information.
To be included in the system image, this property must be set to true.
variant_version
string, Variant version of the mainline module. Must be an integer between 0-9
vendor
bool, whether this module is specific to an SoC (System-On-a-Chip). When set to true,
it is installed into /vendor (or /system/vendor if vendor partition does not exist).
Use `soc_specific` instead for better meaning.
vendor_dlkm_specific
bool, Install to partition vendor_dlkm when set to true.
vendor_ramdisk
bool, Whether this module is installed to vendor ramdisk
vintf_fragment_modules
configurable list of string, vintf_fragment Modules required from this module.
vintf_fragments
configurable list of string, VINTF manifest fragments to be installed if this module is installed
visibility
list of string, Controls the visibility of this module to other modules. Allowable values are one or more of
these formats:
["//visibility:public"]: Anyone can use this module.
["//visibility:private"]: Only rules in the module's package (not its subpackages) can use
this module.
["//visibility:override"]: Discards any rules inherited from defaults or a creating module.
Can only be used at the beginning of a list of visibility rules.
["//some/package:__pkg__", "//other/package:__pkg__"]: Only modules in some/package and
other/package (defined in some/package/*.bp and other/package/*.bp) have access to
this module. Note that sub-packages do not have access to the rule; for example,
//some/package/foo:bar or //other/package/testing:bla wouldn't have access. __pkg__
is a special module and must be used verbatim. It represents all of the modules in the
package.
["//project:__subpackages__", "//other:__subpackages__"]: Only modules in packages project
or other or in one of their sub-packages have access to this module. For example,
//project:rule, //project/library:lib or //other/testing/internal:munge are allowed
to depend on this rule (but not //independent:evil)
["//project"]: This is shorthand for ["//project:__pkg__"]
[":__subpackages__"]: This is shorthand for ["//project:__subpackages__"] where
//project is the module's package. e.g. using [":__subpackages__"] in
packages/apps/Settings/Android.bp is equivalent to
//packages/apps/Settings:__subpackages__.
["//visibility:legacy_public"]: The default visibility, behaves as //visibility:public
for now. It is an error if it is used in a module.
If a module does not specify the `visibility` property then it uses the
`default_visibility` property of the `package` module in the module's package.
If the `default_visibility` property is not set for the module's package then
it will use the `default_visibility` of its closest ancestor package for which
a `default_visibility` property is specified.
If no `default_visibility` property can be found then the module uses the
global default of `//visibility:legacy_public`.
The `visibility` property has no effect on a defaults module although it does
apply to any non-defaults module that uses it. To set the visibility of a
defaults module, use the `defaults_visibility` property on the defaults module;
not to be confused with the `default_visibility` property on the package module.
See https://android.googlesource.com/platform/build/soong/+/main/README.md#visibility for
more details.
apex_defaults
apex_defaults provides defaultable properties to other apex modules.
name
,
defaults
,
host_supported
,
device_supported
,
allowed_files
,
androidManifest
,
apex_available
,
apex_available_name
,
apps
,
arch
,
arch.arm
,
arch.arm64
,
arch.riscv64
,
arch.x86
,
arch.x86_64
,
binaries
,
bootclasspath_fragments
,
bpfs
,
canned_fs_config
,
certificate
,
compat_configs
,
compile_multilib
,
compressible
,
custom_sign_tool
,
debug_ramdisk
,
defaults_visibility
,
device_specific
,
dist
,
dists
,
dynamic_common_lib_apex
,
enabled
,
exclude_binaries
,
exclude_filesystems
,
exclude_jni_libs
,
exclude_native_shared_libs
,
exclude_prebuilts
,
exclude_rust_dyn_libs
,
exclude_tests
,
file_contexts
,
filesystems
,
future_updatable
,
host_required
,
ignore_system_library_special_case
,
init_rc
,
installable
,
java_libs
,
jni_libs
,
key
,
licenses
,
logging_parent
,
manifest
,
min_sdk_version
,
multilib
,
multilib.both
,
multilib.first
,
multilib.lib32
,
multilib.lib64
,
multilib.prefer32
,
native_bridge_supported
,
native_shared_libs
,
no_full_install
,
odm_dlkm_specific
,
overrides
,
owner
,
package_name
,
payload_fs_type
,
platform_apis
,
prebuilts
,
product_specific
,
product_variables.debuggable
,
product_variables.release_aidl_use_unfrozen
,
product_variables.selinuxignoreneverallows
,
product_variables.unbundled_build
,
proprietary
,
ramdisk
,
recovery
,
required
,
rros
,
rust_dyn_libs
,
sh_binaries
,
soc_specific
,
system_dlkm_specific
,
system_ext_specific
,
systemserverclasspath_fragments
,
target
,
target.android
,
target.host
,
target.linux_bionic
,
target.linux_glibc
,
target_required
,
team
,
test_only_force_compression
,
test_only_unsigned_payload
,
tests
,
trim_against
,
unwanted_transitive_deps
,
updatable
,
use_generic_config
,
variant_version
,
vendor
,
vendor_dlkm_specific
,
vendor_ramdisk
,
vintf_fragment_modules
,
vintf_fragments
,
visibility
name
string, The name of the module. Must be unique across all modules.
defaults
list of string
host_supported
bool, If set to true, build a variant of the module for the host. Defaults to false.
device_supported
bool, If set to true, build a variant of the module for the device. Defaults to true.
allowed_files
string, A txt file containing list of files that are allowed to be included in this APEX.
androidManifest
configurable string, AndroidManifest.xml file used for the zip container of this APEX bundle. If unspecified,
a default one is automatically generated.
apex_available
list of string, Availability of this module in APEXes. Only the listed APEXes can contain this module. If
the module has stubs then other APEXes and the platform may access it through them
(subject to visibility).
"//apex_available:anyapex" is a pseudo APEX name that matches to any APEX.
"//apex_available:platform" refers to non-APEX partitions like "system.img".
Prefix pattern (com.foo.*) can be used to match with any APEX name with the prefix(com.foo.).
Default is ["//apex_available:platform"].
apex_available_name
string, Name that dependencies can specify in their apex_available properties to refer to this module.
If not specified, this defaults to Soong module name. This must be the name of a Soong module.
apps
configurable list of string, List of APKs that are embedded inside this APEX.
arch
interface
⊕arch.arm
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕arch.arm64
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕arch.riscv64
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕arch.x86
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕arch.x86_64
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
bootclasspath_fragments
configurable list of string, List of bootclasspath fragments that are embedded inside this APEX bundle.
bpfs
configurable list of string, List of BPF programs inside this APEX bundle.
canned_fs_config
configurable string, Path to the canned fs config file for customizing file's
uid/gid/mod/capabilities. The content of this file is appended to the
default config, so that the custom entries are preferred. The format is
/<path_or_glob> <uid> <gid> <mode> [capabilities=0x<cap>], where
path_or_glob is a path or glob pattern for a file or set of files,
uid/gid are numerial values of user ID and group ID, mode is octal value
for the file mode, and cap is hexadecimal value for the capability.
certificate
string, Specifies the certificate and the private key to sign the zip container of this APEX. If
this is "foo", foo.x509.pem and foo.pk8 under PRODUCT_DEFAULT_DEV_CERTIFICATE are used
as the certificate and the private key, respectively. If this is ":module", then the
certificate and the private key are provided from the android_app_certificate module
named "module".
compat_configs
list of string, List of platform_compat_config files that are embedded inside this APEX bundle.
compile_multilib
string, control whether this module compiles for 32-bit, 64-bit, or both. Possible values
are "32" (compile for 32-bit only), "64" (compile for 64-bit only), "both" (compile for both
architectures), or "first" (compile for 64-bit on a 64-bit platform, and 32-bit on a 32-bit
platform).
compressible
bool, Whether this APEX can be compressed or not. Setting this property to false means this
APEX will never be compressed. When set to true, APEX will be compressed if other
conditions, e.g., target device needs to support APEX compression, are also fulfilled.
Default: false.
custom_sign_tool
string, Put extra tags (signer=<value>) to apexkeys.txt, so that release tools can sign this apex
with the tool to sign payload contents.
debug_ramdisk
bool, Whether this module is installed to debug ramdisk
defaults_visibility
list of string, Controls the visibility of the defaults module itself.
device_specific
bool, whether this module is specific to a device, not only for SoC, but also for off-chip
peripherals. When set to true, it is installed into /odm (or /vendor/odm if odm partition
does not exist, or /system/vendor/odm if both odm and vendor partitions do not exist).
This implies `soc_specific:true`.
⊕dist
Dist
configuration to distribute output files from this module to the distribution
directory (default: $OUT/dist, configurable with $DIST_DIR)
targets
list of string, Copy the output of this module to the $DIST_DIR when `dist` is specified on the
command line and any of these targets are also on the command line, or otherwise
built
dest
string, The name of the output artifact. This defaults to the basename of the output of
the module.
dir
string, The directory within the dist directory to store the artifact. Defaults to the
top level directory ("").
suffix
string, A suffix to add to the artifact file name (before any extension).
append_artifact_with_product
bool, If true, then the artifact file will be appended with _<product name>. For
example, if the product is coral and the module is an android_app module
of name foo, then the artifact would be foo_coral.apk. If false, there is
no change to the artifact file name.
prepend_artifact_with_product
bool, If true, then the artifact file will be prepended with <product name>-. For
example, if the product is coral and the module is an android_app module
of name foo, then the artifact would be coral-foo.apk. If false, there is
no change to the artifact file name.
tag
string, A string tag to select the OutputFiles associated with the tag.
If no tag is specified then it will select the default dist paths provided
by the module type. If a tag of "" is specified then it will return the
default output files provided by the modules, i.e. the result of calling
OutputFiles("").
dists
list of Dist, a list of configurations to distribute output files from this module to the
distribution directory (default: $OUT/dist, configurable with $DIST_DIR)
dynamic_common_lib_apex
bool, Whether this is a dynamic common lib apex, if so the native shared libs will be placed
in a special way that include the digest of the lib file under /lib(64)?
enabled
configurable bool, emit build rules for this module
Disabling a module should only be done for those modules that cannot be built
in the current environment. Modules that can build in the current environment
but are not usually required (e.g. superceded by a prebuilt) should not be
disabled as that will prevent them from being built by the checkbuild target
and so prevent early detection of changes that have broken those modules.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
file_contexts
string, Determines the file contexts file for setting the security contexts to files in this APEX
bundle. For platform APEXes, this should points to a file under /system/sepolicy Default:
/system/sepolicy/apex/<module_name>_file_contexts.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
future_updatable
bool, Marks that this APEX is designed to be updatable in the future, although it's not
updatable yet. This is used to mimic some of the build behaviors that are applied only to
updatable APEXes. Currently, this disables the size optimization, so that the size of
APEX will not increase when the APEX is actually marked as truly updatable. Default is
false.
host_required
list of string, names of other modules to install on host if this module is installed
ignore_system_library_special_case
bool, For telling the APEX to ignore special handling for system libraries such as bionic.
Default is false.
init_rc
configurable list of string, init.rc files to be installed if this module is installed
installable
bool, Whether this APEX is installable to one of the partitions like system, vendor, etc.
Default: true.
java_libs
list of string, List of java libraries that are embedded inside this APEX bundle.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
key
string, Name of the apex_key module that provides the private key to sign this APEX bundle.
licenses
list of string, Describes the licenses applicable to this module. Must reference license modules.
logging_parent
string, Logging parent value.
manifest
string, Json manifest file describing meta info of this APEX bundle. Refer to
system/apex/proto/apex_manifest.proto for the schema. Default: "apex_manifest.json"
min_sdk_version
string, The minimum SDK version that this APEX must support at minimum. This is usually set to
the SDK version that the APEX was first introduced.
multilib
interface
⊕multilib.both
ApexNativeDependencies
Native dependencies whose compile_multilib is "both"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.first
ApexNativeDependencies
Native dependencies whose compile_multilib is "first"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.lib32
ApexNativeDependencies
Native dependencies whose compile_multilib is "32"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.lib64
ApexNativeDependencies
Native dependencies whose compile_multilib is "64"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.prefer32
ApexNativeDependencies
Native dependencies whose compile_multilib is "prefer32"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
native_bridge_supported
bool, Whether this module is built for non-native architectures (also known as native bridge binary)
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
no_full_install
bool, When set to true, this module is not installed to the full install path (ex: under
out/target/product/<name>/<partition>). It can be installed only to the packaging
modules like android_filesystem.
odm_dlkm_specific
bool, Install to partition odm_dlkm when set to true.
overrides
list of string, List of module names that are prevented from being installed when this module gets
installed.
owner
string, vendor who owns this module
package_name
configurable string, Apex Container package name. Override value for attribute package:name in
AndroidManifest.xml
payload_fs_type
string, The type of filesystem to use. Either 'ext4', 'f2fs' or 'erofs'. Default 'ext4'.
platform_apis
bool, Whether this APEX can use platform APIs or not. Can be set to true only when `updatable:
false`. Default is false.
prebuilts
configurable list of string, List of prebuilt files that are embedded inside this APEX bundle.
product_specific
bool, whether this module is specific to a software configuration of a product (e.g. country,
network operator, etc). When set to true, it is installed into /product (or
/system/product if product partition does not exist).
⊕product_variables.debuggable
⊕init_rc
⊕required
⊕host_required
⊕target_required
⊕jni_libs
⊕product_variables.release_aidl_use_unfrozen
⊕required
⊕vintf_fragment_modules
⊕product_variables.selinuxignoreneverallows
⊕product_variables.unbundled_build
⊕enabled
Configurable[bool]
Configurable[bool]
proptools.Configurable[bool]
proprietary
bool, whether this is a proprietary vendor module, and should be installed into /vendor
ramdisk
bool, Whether this module is installed to ramdisk
recovery
bool, Whether this module is installed to recovery partition
required
configurable list of string, names of other modules to install if this module is installed
rros
list of string, List of runtime resource overlays (RROs) that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
sh_binaries
list of string, List of sh binaries that are embedded inside this APEX bundle.
soc_specific
bool, whether this module is specific to an SoC (System-On-a-Chip). When set to true,
it is installed into /vendor (or /system/vendor if vendor partition does not exist).
system_dlkm_specific
bool, Install to partition system_dlkm when set to true.
system_ext_specific
bool, whether this module extends system. When set to true, it is installed into /system_ext
(or /system/system_ext if system_ext partition does not exist).
systemserverclasspath_fragments
configurable list of string, List of systemserverclasspath fragments that are embedded inside this APEX bundle.
target
interface
⊕target.android
Multilib properties only for android.
⊕multilib.first
ApexNativeDependencies
Native dependencies whose compile_multilib is "first"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.both
ApexNativeDependencies
Native dependencies whose compile_multilib is "both"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.prefer32
ApexNativeDependencies
Native dependencies whose compile_multilib is "prefer32"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.lib32
ApexNativeDependencies
Native dependencies whose compile_multilib is "32"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.lib64
ApexNativeDependencies
Native dependencies whose compile_multilib is "64"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
compile_multilib
string
enabled
bool
⊕target.host
compile_multilib
string
⊕multilib.first
ApexNativeDependencies
Native dependencies whose compile_multilib is "first"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.both
ApexNativeDependencies
Native dependencies whose compile_multilib is "both"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.prefer32
ApexNativeDependencies
Native dependencies whose compile_multilib is "prefer32"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.lib32
ApexNativeDependencies
Native dependencies whose compile_multilib is "32"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.lib64
ApexNativeDependencies
Native dependencies whose compile_multilib is "64"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕target.linux_bionic
Multilib properties only for host linux_bionic.
⊕multilib.first
ApexNativeDependencies
Native dependencies whose compile_multilib is "first"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.both
ApexNativeDependencies
Native dependencies whose compile_multilib is "both"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.prefer32
ApexNativeDependencies
Native dependencies whose compile_multilib is "prefer32"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.lib32
ApexNativeDependencies
Native dependencies whose compile_multilib is "32"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.lib64
ApexNativeDependencies
Native dependencies whose compile_multilib is "64"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕target.linux_glibc
Multilib properties only for host linux_glibc.
⊕multilib.first
ApexNativeDependencies
Native dependencies whose compile_multilib is "first"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.both
ApexNativeDependencies
Native dependencies whose compile_multilib is "both"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.prefer32
ApexNativeDependencies
Native dependencies whose compile_multilib is "prefer32"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.lib32
ApexNativeDependencies
Native dependencies whose compile_multilib is "32"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.lib64
ApexNativeDependencies
Native dependencies whose compile_multilib is "64"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
target_required
list of string, names of other modules to install on target if this module is installed
team
string, The team (defined by the owner/vendor) who owns the property.
test_only_force_compression
bool, Whenever apex should be compressed, regardless of product flag used. Should be only
used in tests.
test_only_unsigned_payload
bool, Whenever apex_payload.img of the APEX should not be dm-verity signed. Should be only
used in tests.
tests
list of string, List of native tests that are embedded inside this APEX.
trim_against
string, Trim against a specific Dynamic Common Lib APEX
unwanted_transitive_deps
list of string, List of module names which we don't want to add as transitive deps. This can be used as
a workaround when the current implementation collects more than necessary. For example,
Rust binaries with prefer_rlib:true add unnecessary dependencies.
updatable
bool, Whether this APEX is considered updatable or not. When set to true, this will enforce
additional rules for making sure that the APEX is truly updatable. To be updatable,
min_sdk_version should be set as well. This will also disable the size optimizations like
symlinking to the system libs. Default is true.
use_generic_config
bool, Set to true if this module must be generic and does not require product-specific information.
To be included in the system image, this property must be set to true.
variant_version
string, Variant version of the mainline module. Must be an integer between 0-9
vendor
bool, whether this module is specific to an SoC (System-On-a-Chip). When set to true,
it is installed into /vendor (or /system/vendor if vendor partition does not exist).
Use `soc_specific` instead for better meaning.
vendor_dlkm_specific
bool, Install to partition vendor_dlkm when set to true.
vendor_ramdisk
bool, Whether this module is installed to vendor ramdisk
vintf_fragment_modules
configurable list of string, vintf_fragment Modules required from this module.
vintf_fragments
configurable list of string, VINTF manifest fragments to be installed if this module is installed
visibility
list of string, Controls the visibility of this module to other modules. Allowable values are one or more of
these formats:
["//visibility:public"]: Anyone can use this module.
["//visibility:private"]: Only rules in the module's package (not its subpackages) can use
this module.
["//visibility:override"]: Discards any rules inherited from defaults or a creating module.
Can only be used at the beginning of a list of visibility rules.
["//some/package:__pkg__", "//other/package:__pkg__"]: Only modules in some/package and
other/package (defined in some/package/*.bp and other/package/*.bp) have access to
this module. Note that sub-packages do not have access to the rule; for example,
//some/package/foo:bar or //other/package/testing:bla wouldn't have access. __pkg__
is a special module and must be used verbatim. It represents all of the modules in the
package.
["//project:__subpackages__", "//other:__subpackages__"]: Only modules in packages project
or other or in one of their sub-packages have access to this module. For example,
//project:rule, //project/library:lib or //other/testing/internal:munge are allowed
to depend on this rule (but not //independent:evil)
["//project"]: This is shorthand for ["//project:__pkg__"]
[":__subpackages__"]: This is shorthand for ["//project:__subpackages__"] where
//project is the module's package. e.g. using [":__subpackages__"] in
packages/apps/Settings/Android.bp is equivalent to
//packages/apps/Settings:__subpackages__.
["//visibility:legacy_public"]: The default visibility, behaves as //visibility:public
for now. It is an error if it is used in a module.
If a module does not specify the `visibility` property then it uses the
`default_visibility` property of the `package` module in the module's package.
If the `default_visibility` property is not set for the module's package then
it will use the `default_visibility` of its closest ancestor package for which
a `default_visibility` property is specified.
If no `default_visibility` property can be found then the module uses the
global default of `//visibility:legacy_public`.
The `visibility` property has no effect on a defaults module although it does
apply to any non-defaults module that uses it. To set the visibility of a
defaults module, use the `defaults_visibility` property on the defaults module;
not to be confused with the `default_visibility` property on the package module.
See https://android.googlesource.com/platform/build/soong/+/main/README.md#visibility for
more details.
apex_key
name
,
arch
,
compile_multilib
,
debug_ramdisk
,
device_specific
,
dist
,
dists
,
enabled
,
host_required
,
init_rc
,
installable
,
licenses
,
multilib
,
native_bridge_supported
,
no_full_install
,
odm_dlkm_specific
,
overrides
,
owner
,
private_key
,
product_specific
,
product_variables.debuggable
,
product_variables.release_aidl_use_unfrozen
,
product_variables.selinuxignoreneverallows
,
product_variables.unbundled_build
,
proprietary
,
public_key
,
ramdisk
,
recovery
,
required
,
soc_specific
,
system_dlkm_specific
,
system_ext_specific
,
target
,
target.android
,
target.host
,
target_required
,
team
,
use_generic_config
,
vendor
,
vendor_dlkm_specific
,
vendor_ramdisk
,
vintf_fragment_modules
,
vintf_fragments
,
visibility
name
string, The name of the module. Must be unique across all modules.
arch
interface
compile_multilib
string, control whether this module compiles for 32-bit, 64-bit, or both. Possible values
are "32" (compile for 32-bit only), "64" (compile for 64-bit only), "both" (compile for both
architectures), or "first" (compile for 64-bit on a 64-bit platform, and 32-bit on a 32-bit
platform).
debug_ramdisk
bool, Whether this module is installed to debug ramdisk
device_specific
bool, whether this module is specific to a device, not only for SoC, but also for off-chip
peripherals. When set to true, it is installed into /odm (or /vendor/odm if odm partition
does not exist, or /system/vendor/odm if both odm and vendor partitions do not exist).
This implies `soc_specific:true`.
⊕dist
Dist
configuration to distribute output files from this module to the distribution
directory (default: $OUT/dist, configurable with $DIST_DIR)
targets
list of string, Copy the output of this module to the $DIST_DIR when `dist` is specified on the
command line and any of these targets are also on the command line, or otherwise
built
dest
string, The name of the output artifact. This defaults to the basename of the output of
the module.
dir
string, The directory within the dist directory to store the artifact. Defaults to the
top level directory ("").
suffix
string, A suffix to add to the artifact file name (before any extension).
append_artifact_with_product
bool, If true, then the artifact file will be appended with _<product name>. For
example, if the product is coral and the module is an android_app module
of name foo, then the artifact would be foo_coral.apk. If false, there is
no change to the artifact file name.
prepend_artifact_with_product
bool, If true, then the artifact file will be prepended with <product name>-. For
example, if the product is coral and the module is an android_app module
of name foo, then the artifact would be coral-foo.apk. If false, there is
no change to the artifact file name.
tag
string, A string tag to select the OutputFiles associated with the tag.
If no tag is specified then it will select the default dist paths provided
by the module type. If a tag of "" is specified then it will return the
default output files provided by the modules, i.e. the result of calling
OutputFiles("").
dists
list of Dist, a list of configurations to distribute output files from this module to the
distribution directory (default: $OUT/dist, configurable with $DIST_DIR)
enabled
configurable bool, emit build rules for this module
Disabling a module should only be done for those modules that cannot be built
in the current environment. Modules that can build in the current environment
but are not usually required (e.g. superceded by a prebuilt) should not be
disabled as that will prevent them from being built by the checkbuild target
and so prevent early detection of changes that have broken those modules.
host_required
list of string, names of other modules to install on host if this module is installed
init_rc
configurable list of string, init.rc files to be installed if this module is installed
installable
bool, Whether this key is installable to one of the partitions. Defualt: true.
licenses
list of string, Describes the licenses applicable to this module. Must reference license modules.
multilib
interface
native_bridge_supported
bool, Whether this module is built for non-native architectures (also known as native bridge binary)
no_full_install
bool, When set to true, this module is not installed to the full install path (ex: under
out/target/product/<name>/<partition>). It can be installed only to the packaging
modules like android_filesystem.
odm_dlkm_specific
bool, Install to partition odm_dlkm when set to true.
overrides
list of string, List of module names that are prevented from being installed when this module gets
installed.
owner
string, vendor who owns this module
private_key
string, Path or module to the private key file in pem format. Used to sign APEXs.
product_specific
bool, whether this module is specific to a software configuration of a product (e.g. country,
network operator, etc). When set to true, it is installed into /product (or
/system/product if product partition does not exist).
⊕product_variables.debuggable
⊕init_rc
⊕required
⊕host_required
⊕target_required
⊕product_variables.release_aidl_use_unfrozen
⊕required
⊕vintf_fragment_modules
⊕product_variables.selinuxignoreneverallows
⊕product_variables.unbundled_build
⊕enabled
Configurable[bool]
Configurable[bool]
proptools.Configurable[bool]
proprietary
bool, whether this is a proprietary vendor module, and should be installed into /vendor
public_key
string, Path or module to the public key file in avbpubkey format. Installed to the device.
Base name of the file is used as the ID for the key.
ramdisk
bool, Whether this module is installed to ramdisk
recovery
bool, Whether this module is installed to recovery partition
required
configurable list of string, names of other modules to install if this module is installed
soc_specific
bool, whether this module is specific to an SoC (System-On-a-Chip). When set to true,
it is installed into /vendor (or /system/vendor if vendor partition does not exist).
system_dlkm_specific
bool, Install to partition system_dlkm when set to true.
system_ext_specific
bool, whether this module extends system. When set to true, it is installed into /system_ext
(or /system/system_ext if system_ext partition does not exist).
target
interface
⊕target.android
compile_multilib
string
enabled
bool
⊕target.host
target_required
list of string, names of other modules to install on target if this module is installed
team
string, The team (defined by the owner/vendor) who owns the property.
use_generic_config
bool, Set to true if this module must be generic and does not require product-specific information.
To be included in the system image, this property must be set to true.
vendor
bool, whether this module is specific to an SoC (System-On-a-Chip). When set to true,
it is installed into /vendor (or /system/vendor if vendor partition does not exist).
Use `soc_specific` instead for better meaning.
vendor_dlkm_specific
bool, Install to partition vendor_dlkm when set to true.
vendor_ramdisk
bool, Whether this module is installed to vendor ramdisk
vintf_fragment_modules
configurable list of string, vintf_fragment Modules required from this module.
vintf_fragments
configurable list of string, VINTF manifest fragments to be installed if this module is installed
visibility
list of string, Controls the visibility of this module to other modules. Allowable values are one or more of
these formats:
["//visibility:public"]: Anyone can use this module.
["//visibility:private"]: Only rules in the module's package (not its subpackages) can use
this module.
["//visibility:override"]: Discards any rules inherited from defaults or a creating module.
Can only be used at the beginning of a list of visibility rules.
["//some/package:__pkg__", "//other/package:__pkg__"]: Only modules in some/package and
other/package (defined in some/package/*.bp and other/package/*.bp) have access to
this module. Note that sub-packages do not have access to the rule; for example,
//some/package/foo:bar or //other/package/testing:bla wouldn't have access. __pkg__
is a special module and must be used verbatim. It represents all of the modules in the
package.
["//project:__subpackages__", "//other:__subpackages__"]: Only modules in packages project
or other or in one of their sub-packages have access to this module. For example,
//project:rule, //project/library:lib or //other/testing/internal:munge are allowed
to depend on this rule (but not //independent:evil)
["//project"]: This is shorthand for ["//project:__pkg__"]
[":__subpackages__"]: This is shorthand for ["//project:__subpackages__"] where
//project is the module's package. e.g. using [":__subpackages__"] in
packages/apps/Settings/Android.bp is equivalent to
//packages/apps/Settings:__subpackages__.
["//visibility:legacy_public"]: The default visibility, behaves as //visibility:public
for now. It is an error if it is used in a module.
If a module does not specify the `visibility` property then it uses the
`default_visibility` property of the `package` module in the module's package.
If the `default_visibility` property is not set for the module's package then
it will use the `default_visibility` of its closest ancestor package for which
a `default_visibility` property is specified.
If no `default_visibility` property can be found then the module uses the
global default of `//visibility:legacy_public`.
The `visibility` property has no effect on a defaults module although it does
apply to any non-defaults module that uses it. To set the visibility of a
defaults module, use the `defaults_visibility` property on the defaults module;
not to be confused with the `default_visibility` property on the package module.
See https://android.googlesource.com/platform/build/soong/+/main/README.md#visibility for
more details.
apex_set
prebuilt_apex imports an `.apex` file into the build graph as if it was built with apex.
name
,
apex_name
,
arch
,
compile_multilib
,
debug_ramdisk
,
device_specific
,
dist
,
dists
,
enabled
,
exported_bootclasspath_fragments
,
exported_systemserverclasspath_fragments
,
filename
,
host_required
,
init_rc
,
installable
,
licenses
,
multilib
,
native_bridge_supported
,
no_full_install
,
odm_dlkm_specific
,
overrides
,
owner
,
prebuilt_info
,
prefer
,
prerelease
,
product_specific
,
product_variables.debuggable
,
product_variables.release_aidl_use_unfrozen
,
product_variables.selinuxignoreneverallows
,
product_variables.unbundled_build
,
proprietary
,
ramdisk
,
recovery
,
required
,
sanitized.address
,
sanitized.hwaddress
,
sanitized.none
,
set
,
soc_specific
,
source_apex_name
,
system_dlkm_specific
,
system_ext_specific
,
target
,
target.android
,
target.host
,
target_required
,
team
,
use_generic_config
,
use_source_config_var
,
vendor
,
vendor_dlkm_specific
,
vendor_ramdisk
,
vintf_fragment_modules
,
vintf_fragments
,
visibility
name
string, The name of the module. Must be unique across all modules.
apex_name
string, Canonical name of this APEX. Used to determine the path to the activated APEX on
device (/apex/<apex_name>). If unspecified, follows the name property.
arch
interface
compile_multilib
string, control whether this module compiles for 32-bit, 64-bit, or both. Possible values
are "32" (compile for 32-bit only), "64" (compile for 64-bit only), "both" (compile for both
architectures), or "first" (compile for 64-bit on a 64-bit platform, and 32-bit on a 32-bit
platform).
debug_ramdisk
bool, Whether this module is installed to debug ramdisk
device_specific
bool, whether this module is specific to a device, not only for SoC, but also for off-chip
peripherals. When set to true, it is installed into /odm (or /vendor/odm if odm partition
does not exist, or /system/vendor/odm if both odm and vendor partitions do not exist).
This implies `soc_specific:true`.
⊕dist
Dist
configuration to distribute output files from this module to the distribution
directory (default: $OUT/dist, configurable with $DIST_DIR)
targets
list of string, Copy the output of this module to the $DIST_DIR when `dist` is specified on the
command line and any of these targets are also on the command line, or otherwise
built
dest
string, The name of the output artifact. This defaults to the basename of the output of
the module.
dir
string, The directory within the dist directory to store the artifact. Defaults to the
top level directory ("").
suffix
string, A suffix to add to the artifact file name (before any extension).
append_artifact_with_product
bool, If true, then the artifact file will be appended with _<product name>. For
example, if the product is coral and the module is an android_app module
of name foo, then the artifact would be foo_coral.apk. If false, there is
no change to the artifact file name.
prepend_artifact_with_product
bool, If true, then the artifact file will be prepended with <product name>-. For
example, if the product is coral and the module is an android_app module
of name foo, then the artifact would be coral-foo.apk. If false, there is
no change to the artifact file name.
tag
string, A string tag to select the OutputFiles associated with the tag.
If no tag is specified then it will select the default dist paths provided
by the module type. If a tag of "" is specified then it will return the
default output files provided by the modules, i.e. the result of calling
OutputFiles("").
dists
list of Dist, a list of configurations to distribute output files from this module to the
distribution directory (default: $OUT/dist, configurable with $DIST_DIR)
enabled
configurable bool, emit build rules for this module
Disabling a module should only be done for those modules that cannot be built
in the current environment. Modules that can build in the current environment
but are not usually required (e.g. superceded by a prebuilt) should not be
disabled as that will prevent them from being built by the checkbuild target
and so prevent early detection of changes that have broken those modules.
exported_bootclasspath_fragments
list of string, List of bootclasspath fragments inside this prebuilt APEX bundle and for which this APEX
bundle will create an APEX variant.
exported_systemserverclasspath_fragments
list of string, List of systemserverclasspath fragments inside this prebuilt APEX bundle and for which this
APEX bundle will create an APEX variant.
filename
string, optional name for the installed apex. If unspecified, name of the
module is used as the file name
host_required
list of string, names of other modules to install on host if this module is installed
init_rc
configurable list of string, init.rc files to be installed if this module is installed
installable
bool, whether the extracted apex file is installable.
licenses
list of string, Describes the licenses applicable to this module. Must reference license modules.
multilib
interface
native_bridge_supported
bool, Whether this module is built for non-native architectures (also known as native bridge binary)
no_full_install
bool, When set to true, this module is not installed to the full install path (ex: under
out/target/product/<name>/<partition>). It can be installed only to the packaging
modules like android_filesystem.
odm_dlkm_specific
bool, Install to partition odm_dlkm when set to true.
overrides
list of string, List of module names that are prevented from being installed when this module gets
installed.
owner
string, vendor who owns this module
prebuilt_info
string, Path to the .prebuilt_info file of the prebuilt apex.
In case of mainline modules, the .prebuilt_info file contains the build_id that was used to
generate the prebuilt.
prefer
configurable bool, When prefer is set to true the prebuilt will be used instead of any source module with
a matching name.
prerelease
bool, apexes in this set use prerelease SDK version
product_specific
bool, whether this module is specific to a software configuration of a product (e.g. country,
network operator, etc). When set to true, it is installed into /product (or
/system/product if product partition does not exist).
⊕product_variables.debuggable
⊕init_rc
⊕required
⊕host_required
⊕target_required
⊕product_variables.release_aidl_use_unfrozen
⊕required
⊕vintf_fragment_modules
⊕product_variables.selinuxignoreneverallows
⊕product_variables.unbundled_build
⊕enabled
Configurable[bool]
Configurable[bool]
proptools.Configurable[bool]
proprietary
bool, whether this is a proprietary vendor module, and should be installed into /vendor
ramdisk
bool, Whether this module is installed to ramdisk
recovery
bool, Whether this module is installed to recovery partition
required
configurable list of string, names of other modules to install if this module is installed
⊕sanitized.address
⊕sanitized.hwaddress
⊕sanitized.none
set
string, the .apks file path that contains prebuilt apex files to be extracted.
soc_specific
bool, whether this module is specific to an SoC (System-On-a-Chip). When set to true,
it is installed into /vendor (or /system/vendor if vendor partition does not exist).
source_apex_name
string, Name of the source APEX that gets shadowed by this prebuilt
e.g. com.mycompany.android.myapex
If unspecified, follows the naming convention that the source apex of
the prebuilt is Name() without "prebuilt_" prefix
system_dlkm_specific
bool, Install to partition system_dlkm when set to true.
system_ext_specific
bool, whether this module extends system. When set to true, it is installed into /system_ext
(or /system/system_ext if system_ext partition does not exist).
target
interface
⊕target.android
compile_multilib
string
enabled
bool
⊕target.host
target_required
list of string, names of other modules to install on target if this module is installed
team
string, The team (defined by the owner/vendor) who owns the property.
use_generic_config
bool, Set to true if this module must be generic and does not require product-specific information.
To be included in the system image, this property must be set to true.
use_source_config_var
ConfigVarProperties, When specified this names a Soong config variable that controls the prefer property.
If the value of the named Soong config variable is true then prefer is set to false and vice
versa. If the Soong config variable is not set then it defaults to false, so prefer defaults
to true.
If specified then the prefer property is ignored in favor of the value of the Soong config
variable.
DEPRECATED: This property is being deprecated b/308188211.
Use RELEASE_APEX_CONTRIBUTIONS build flags to select prebuilts of mainline modules.
vendor
bool, whether this module is specific to an SoC (System-On-a-Chip). When set to true,
it is installed into /vendor (or /system/vendor if vendor partition does not exist).
Use `soc_specific` instead for better meaning.
vendor_dlkm_specific
bool, Install to partition vendor_dlkm when set to true.
vendor_ramdisk
bool, Whether this module is installed to vendor ramdisk
vintf_fragment_modules
configurable list of string, vintf_fragment Modules required from this module.
vintf_fragments
configurable list of string, VINTF manifest fragments to be installed if this module is installed
visibility
list of string, Controls the visibility of this module to other modules. Allowable values are one or more of
these formats:
["//visibility:public"]: Anyone can use this module.
["//visibility:private"]: Only rules in the module's package (not its subpackages) can use
this module.
["//visibility:override"]: Discards any rules inherited from defaults or a creating module.
Can only be used at the beginning of a list of visibility rules.
["//some/package:__pkg__", "//other/package:__pkg__"]: Only modules in some/package and
other/package (defined in some/package/*.bp and other/package/*.bp) have access to
this module. Note that sub-packages do not have access to the rule; for example,
//some/package/foo:bar or //other/package/testing:bla wouldn't have access. __pkg__
is a special module and must be used verbatim. It represents all of the modules in the
package.
["//project:__subpackages__", "//other:__subpackages__"]: Only modules in packages project
or other or in one of their sub-packages have access to this module. For example,
//project:rule, //project/library:lib or //other/testing/internal:munge are allowed
to depend on this rule (but not //independent:evil)
["//project"]: This is shorthand for ["//project:__pkg__"]
[":__subpackages__"]: This is shorthand for ["//project:__subpackages__"] where
//project is the module's package. e.g. using [":__subpackages__"] in
packages/apps/Settings/Android.bp is equivalent to
//packages/apps/Settings:__subpackages__.
["//visibility:legacy_public"]: The default visibility, behaves as //visibility:public
for now. It is an error if it is used in a module.
If a module does not specify the `visibility` property then it uses the
`default_visibility` property of the `package` module in the module's package.
If the `default_visibility` property is not set for the module's package then
it will use the `default_visibility` of its closest ancestor package for which
a `default_visibility` property is specified.
If no `default_visibility` property can be found then the module uses the
global default of `//visibility:legacy_public`.
The `visibility` property has no effect on a defaults module although it does
apply to any non-defaults module that uses it. To set the visibility of a
defaults module, use the `defaults_visibility` property on the defaults module;
not to be confused with the `default_visibility` property on the package module.
See https://android.googlesource.com/platform/build/soong/+/main/README.md#visibility for
more details.
apex_test
apex_test is an APEX for testing. The difference from the ordinary apex module type is that
certain compatibility checks such as apex_available are not done for apex_test.
name
,
defaults
,
allowed_files
,
androidManifest
,
apex_available_name
,
apps
,
arch
,
arch.arm
,
arch.arm64
,
arch.riscv64
,
arch.x86
,
arch.x86_64
,
binaries
,
bootclasspath_fragments
,
bpfs
,
canned_fs_config
,
certificate
,
compat_configs
,
compile_multilib
,
compressible
,
custom_sign_tool
,
debug_ramdisk
,
device_specific
,
dist
,
dists
,
dynamic_common_lib_apex
,
enabled
,
exclude_binaries
,
exclude_filesystems
,
exclude_jni_libs
,
exclude_native_shared_libs
,
exclude_prebuilts
,
exclude_rust_dyn_libs
,
exclude_tests
,
file_contexts
,
filesystems
,
future_updatable
,
host_required
,
ignore_system_library_special_case
,
init_rc
,
installable
,
java_libs
,
jni_libs
,
key
,
licenses
,
logging_parent
,
manifest
,
min_sdk_version
,
multilib
,
multilib.both
,
multilib.first
,
multilib.lib32
,
multilib.lib64
,
multilib.prefer32
,
native_bridge_supported
,
native_shared_libs
,
no_full_install
,
odm_dlkm_specific
,
overrides
,
owner
,
package_name
,
payload_fs_type
,
platform_apis
,
prebuilts
,
product_specific
,
product_variables.debuggable
,
product_variables.release_aidl_use_unfrozen
,
product_variables.selinuxignoreneverallows
,
product_variables.unbundled_build
,
proprietary
,
ramdisk
,
recovery
,
required
,
rros
,
rust_dyn_libs
,
sh_binaries
,
skip_validations
,
soc_specific
,
system_dlkm_specific
,
system_ext_specific
,
systemserverclasspath_fragments
,
target
,
target.android
,
target.host
,
target.linux_bionic
,
target.linux_glibc
,
target_required
,
team
,
test_only_force_compression
,
test_only_unsigned_payload
,
tests
,
trim_against
,
unwanted_transitive_deps
,
updatable
,
use_generic_config
,
variant_version
,
vendor
,
vendor_dlkm_specific
,
vendor_ramdisk
,
vintf_fragment_modules
,
vintf_fragments
,
visibility
name
string, The name of the module. Must be unique across all modules.
defaults
list of string
allowed_files
string, A txt file containing list of files that are allowed to be included in this APEX.
androidManifest
configurable string, AndroidManifest.xml file used for the zip container of this APEX bundle. If unspecified,
a default one is automatically generated.
apex_available_name
string, Name that dependencies can specify in their apex_available properties to refer to this module.
If not specified, this defaults to Soong module name. This must be the name of a Soong module.
apps
configurable list of string, List of APKs that are embedded inside this APEX.
arch
interface
⊕arch.arm
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕arch.arm64
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕arch.riscv64
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕arch.x86
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕arch.x86_64
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
bootclasspath_fragments
configurable list of string, List of bootclasspath fragments that are embedded inside this APEX bundle.
bpfs
configurable list of string, List of BPF programs inside this APEX bundle.
canned_fs_config
configurable string, Path to the canned fs config file for customizing file's
uid/gid/mod/capabilities. The content of this file is appended to the
default config, so that the custom entries are preferred. The format is
/<path_or_glob> <uid> <gid> <mode> [capabilities=0x<cap>], where
path_or_glob is a path or glob pattern for a file or set of files,
uid/gid are numerial values of user ID and group ID, mode is octal value
for the file mode, and cap is hexadecimal value for the capability.
certificate
string, Specifies the certificate and the private key to sign the zip container of this APEX. If
this is "foo", foo.x509.pem and foo.pk8 under PRODUCT_DEFAULT_DEV_CERTIFICATE are used
as the certificate and the private key, respectively. If this is ":module", then the
certificate and the private key are provided from the android_app_certificate module
named "module".
compat_configs
list of string, List of platform_compat_config files that are embedded inside this APEX bundle.
compile_multilib
string, control whether this module compiles for 32-bit, 64-bit, or both. Possible values
are "32" (compile for 32-bit only), "64" (compile for 64-bit only), "both" (compile for both
architectures), or "first" (compile for 64-bit on a 64-bit platform, and 32-bit on a 32-bit
platform).
compressible
bool, Whether this APEX can be compressed or not. Setting this property to false means this
APEX will never be compressed. When set to true, APEX will be compressed if other
conditions, e.g., target device needs to support APEX compression, are also fulfilled.
Default: false.
custom_sign_tool
string, Put extra tags (signer=<value>) to apexkeys.txt, so that release tools can sign this apex
with the tool to sign payload contents.
debug_ramdisk
bool, Whether this module is installed to debug ramdisk
device_specific
bool, whether this module is specific to a device, not only for SoC, but also for off-chip
peripherals. When set to true, it is installed into /odm (or /vendor/odm if odm partition
does not exist, or /system/vendor/odm if both odm and vendor partitions do not exist).
This implies `soc_specific:true`.
⊕dist
Dist
configuration to distribute output files from this module to the distribution
directory (default: $OUT/dist, configurable with $DIST_DIR)
targets
list of string, Copy the output of this module to the $DIST_DIR when `dist` is specified on the
command line and any of these targets are also on the command line, or otherwise
built
dest
string, The name of the output artifact. This defaults to the basename of the output of
the module.
dir
string, The directory within the dist directory to store the artifact. Defaults to the
top level directory ("").
suffix
string, A suffix to add to the artifact file name (before any extension).
append_artifact_with_product
bool, If true, then the artifact file will be appended with _<product name>. For
example, if the product is coral and the module is an android_app module
of name foo, then the artifact would be foo_coral.apk. If false, there is
no change to the artifact file name.
prepend_artifact_with_product
bool, If true, then the artifact file will be prepended with <product name>-. For
example, if the product is coral and the module is an android_app module
of name foo, then the artifact would be coral-foo.apk. If false, there is
no change to the artifact file name.
tag
string, A string tag to select the OutputFiles associated with the tag.
If no tag is specified then it will select the default dist paths provided
by the module type. If a tag of "" is specified then it will return the
default output files provided by the modules, i.e. the result of calling
OutputFiles("").
dists
list of Dist, a list of configurations to distribute output files from this module to the
distribution directory (default: $OUT/dist, configurable with $DIST_DIR)
dynamic_common_lib_apex
bool, Whether this is a dynamic common lib apex, if so the native shared libs will be placed
in a special way that include the digest of the lib file under /lib(64)?
enabled
configurable bool, emit build rules for this module
Disabling a module should only be done for those modules that cannot be built
in the current environment. Modules that can build in the current environment
but are not usually required (e.g. superceded by a prebuilt) should not be
disabled as that will prevent them from being built by the checkbuild target
and so prevent early detection of changes that have broken those modules.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
file_contexts
string, Determines the file contexts file for setting the security contexts to files in this APEX
bundle. For platform APEXes, this should points to a file under /system/sepolicy Default:
/system/sepolicy/apex/<module_name>_file_contexts.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
future_updatable
bool, Marks that this APEX is designed to be updatable in the future, although it's not
updatable yet. This is used to mimic some of the build behaviors that are applied only to
updatable APEXes. Currently, this disables the size optimization, so that the size of
APEX will not increase when the APEX is actually marked as truly updatable. Default is
false.
host_required
list of string, names of other modules to install on host if this module is installed
ignore_system_library_special_case
bool, For telling the APEX to ignore special handling for system libraries such as bionic.
Default is false.
init_rc
configurable list of string, init.rc files to be installed if this module is installed
installable
bool, Whether this APEX is installable to one of the partitions like system, vendor, etc.
Default: true.
java_libs
list of string, List of java libraries that are embedded inside this APEX bundle.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
key
string, Name of the apex_key module that provides the private key to sign this APEX bundle.
licenses
list of string, Describes the licenses applicable to this module. Must reference license modules.
logging_parent
string, Logging parent value.
manifest
string, Json manifest file describing meta info of this APEX bundle. Refer to
system/apex/proto/apex_manifest.proto for the schema. Default: "apex_manifest.json"
min_sdk_version
string, The minimum SDK version that this APEX must support at minimum. This is usually set to
the SDK version that the APEX was first introduced.
multilib
interface
⊕multilib.both
ApexNativeDependencies
Native dependencies whose compile_multilib is "both"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.first
ApexNativeDependencies
Native dependencies whose compile_multilib is "first"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.lib32
ApexNativeDependencies
Native dependencies whose compile_multilib is "32"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.lib64
ApexNativeDependencies
Native dependencies whose compile_multilib is "64"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.prefer32
ApexNativeDependencies
Native dependencies whose compile_multilib is "prefer32"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
native_bridge_supported
bool, Whether this module is built for non-native architectures (also known as native bridge binary)
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
no_full_install
bool, When set to true, this module is not installed to the full install path (ex: under
out/target/product/<name>/<partition>). It can be installed only to the packaging
modules like android_filesystem.
odm_dlkm_specific
bool, Install to partition odm_dlkm when set to true.
overrides
list of string, Names of modules to be overridden. Listed modules can only be other binaries (in Make or
Soong). This does not completely prevent installation of the overridden binaries, but if
both binaries would be installed by default (in PRODUCT_PACKAGES) the other binary will
be removed from PRODUCT_PACKAGES.
owner
string, vendor who owns this module
package_name
configurable string, Apex Container package name. Override value for attribute package:name in
AndroidManifest.xml
payload_fs_type
string, The type of filesystem to use. Either 'ext4', 'f2fs' or 'erofs'. Default 'ext4'.
platform_apis
bool, Whether this APEX can use platform APIs or not. Can be set to true only when `updatable:
false`. Default is false.
prebuilts
configurable list of string, List of prebuilt files that are embedded inside this APEX bundle.
product_specific
bool, whether this module is specific to a software configuration of a product (e.g. country,
network operator, etc). When set to true, it is installed into /product (or
/system/product if product partition does not exist).
⊕product_variables.debuggable
⊕init_rc
⊕required
⊕host_required
⊕target_required
⊕jni_libs
⊕product_variables.release_aidl_use_unfrozen
⊕required
⊕vintf_fragment_modules
⊕product_variables.selinuxignoreneverallows
⊕product_variables.unbundled_build
⊕enabled
Configurable[bool]
Configurable[bool]
proptools.Configurable[bool]
proprietary
bool, whether this is a proprietary vendor module, and should be installed into /vendor
ramdisk
bool, Whether this module is installed to ramdisk
recovery
bool, Whether this module is installed to recovery partition
required
configurable list of string, names of other modules to install if this module is installed
rros
list of string, List of runtime resource overlays (RROs) that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
sh_binaries
list of string, List of sh binaries that are embedded inside this APEX bundle.
⊕skip_validations
Boolean flags for validation checks. Test APEXes can turn on/off individual checks.
apex_sepolicy_tests
bool, Skips `Apex_sepolicy_tests` check if true
host_apex_verifier
bool, Skips `Host_apex_verifier` check if true
soc_specific
bool, whether this module is specific to an SoC (System-On-a-Chip). When set to true,
it is installed into /vendor (or /system/vendor if vendor partition does not exist).
system_dlkm_specific
bool, Install to partition system_dlkm when set to true.
system_ext_specific
bool, whether this module extends system. When set to true, it is installed into /system_ext
(or /system/system_ext if system_ext partition does not exist).
systemserverclasspath_fragments
configurable list of string, List of systemserverclasspath fragments that are embedded inside this APEX bundle.
target
interface
⊕target.android
Multilib properties only for android.
⊕multilib.first
ApexNativeDependencies
Native dependencies whose compile_multilib is "first"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.both
ApexNativeDependencies
Native dependencies whose compile_multilib is "both"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.prefer32
ApexNativeDependencies
Native dependencies whose compile_multilib is "prefer32"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.lib32
ApexNativeDependencies
Native dependencies whose compile_multilib is "32"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.lib64
ApexNativeDependencies
Native dependencies whose compile_multilib is "64"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
compile_multilib
string
enabled
bool
⊕target.host
compile_multilib
string
⊕multilib.first
ApexNativeDependencies
Native dependencies whose compile_multilib is "first"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.both
ApexNativeDependencies
Native dependencies whose compile_multilib is "both"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.prefer32
ApexNativeDependencies
Native dependencies whose compile_multilib is "prefer32"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.lib32
ApexNativeDependencies
Native dependencies whose compile_multilib is "32"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.lib64
ApexNativeDependencies
Native dependencies whose compile_multilib is "64"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕target.linux_bionic
Multilib properties only for host linux_bionic.
⊕multilib.first
ApexNativeDependencies
Native dependencies whose compile_multilib is "first"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.both
ApexNativeDependencies
Native dependencies whose compile_multilib is "both"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.prefer32
ApexNativeDependencies
Native dependencies whose compile_multilib is "prefer32"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.lib32
ApexNativeDependencies
Native dependencies whose compile_multilib is "32"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.lib64
ApexNativeDependencies
Native dependencies whose compile_multilib is "64"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕target.linux_glibc
Multilib properties only for host linux_glibc.
⊕multilib.first
ApexNativeDependencies
Native dependencies whose compile_multilib is "first"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.both
ApexNativeDependencies
Native dependencies whose compile_multilib is "both"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.prefer32
ApexNativeDependencies
Native dependencies whose compile_multilib is "prefer32"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.lib32
ApexNativeDependencies
Native dependencies whose compile_multilib is "32"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.lib64
ApexNativeDependencies
Native dependencies whose compile_multilib is "64"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
target_required
list of string, names of other modules to install on target if this module is installed
team
string, The team (defined by the owner/vendor) who owns the property.
test_only_force_compression
bool, Whenever apex should be compressed, regardless of product flag used. Should be only
used in tests.
test_only_unsigned_payload
bool, Whenever apex_payload.img of the APEX should not be dm-verity signed. Should be only
used in tests.
tests
list of string, List of native tests that are embedded inside this APEX.
trim_against
string, Trim against a specific Dynamic Common Lib APEX
unwanted_transitive_deps
list of string, List of module names which we don't want to add as transitive deps. This can be used as
a workaround when the current implementation collects more than necessary. For example,
Rust binaries with prefer_rlib:true add unnecessary dependencies.
updatable
bool, Whether this APEX is considered updatable or not. When set to true, this will enforce
additional rules for making sure that the APEX is truly updatable. To be updatable,
min_sdk_version should be set as well. This will also disable the size optimizations like
symlinking to the system libs. Default is true.
use_generic_config
bool, Set to true if this module must be generic and does not require product-specific information.
To be included in the system image, this property must be set to true.
variant_version
string, Variant version of the mainline module. Must be an integer between 0-9
vendor
bool, whether this module is specific to an SoC (System-On-a-Chip). When set to true,
it is installed into /vendor (or /system/vendor if vendor partition does not exist).
Use `soc_specific` instead for better meaning.
vendor_dlkm_specific
bool, Install to partition vendor_dlkm when set to true.
vendor_ramdisk
bool, Whether this module is installed to vendor ramdisk
vintf_fragment_modules
configurable list of string, vintf_fragment Modules required from this module.
vintf_fragments
configurable list of string, VINTF manifest fragments to be installed if this module is installed
visibility
list of string, Controls the visibility of this module to other modules. Allowable values are one or more of
these formats:
["//visibility:public"]: Anyone can use this module.
["//visibility:private"]: Only rules in the module's package (not its subpackages) can use
this module.
["//visibility:override"]: Discards any rules inherited from defaults or a creating module.
Can only be used at the beginning of a list of visibility rules.
["//some/package:__pkg__", "//other/package:__pkg__"]: Only modules in some/package and
other/package (defined in some/package/*.bp and other/package/*.bp) have access to
this module. Note that sub-packages do not have access to the rule; for example,
//some/package/foo:bar or //other/package/testing:bla wouldn't have access. __pkg__
is a special module and must be used verbatim. It represents all of the modules in the
package.
["//project:__subpackages__", "//other:__subpackages__"]: Only modules in packages project
or other or in one of their sub-packages have access to this module. For example,
//project:rule, //project/library:lib or //other/testing/internal:munge are allowed
to depend on this rule (but not //independent:evil)
["//project"]: This is shorthand for ["//project:__pkg__"]
[":__subpackages__"]: This is shorthand for ["//project:__subpackages__"] where
//project is the module's package. e.g. using [":__subpackages__"] in
packages/apps/Settings/Android.bp is equivalent to
//packages/apps/Settings:__subpackages__.
["//visibility:legacy_public"]: The default visibility, behaves as //visibility:public
for now. It is an error if it is used in a module.
If a module does not specify the `visibility` property then it uses the
`default_visibility` property of the `package` module in the module's package.
If the `default_visibility` property is not set for the module's package then
it will use the `default_visibility` of its closest ancestor package for which
a `default_visibility` property is specified.
If no `default_visibility` property can be found then the module uses the
global default of `//visibility:legacy_public`.
The `visibility` property has no effect on a defaults module although it does
apply to any non-defaults module that uses it. To set the visibility of a
defaults module, use the `defaults_visibility` property on the defaults module;
not to be confused with the `default_visibility` property on the package module.
See https://android.googlesource.com/platform/build/soong/+/main/README.md#visibility for
more details.
apex_vndk
apex_vndk creates a special variant of apex modules which contains only VNDK libraries.
If `vndk_version` is specified, the VNDK libraries of the specified VNDK version are gathered automatically.
If not specified, then the "current" versions are gathered.
name
,
defaults
,
allowed_files
,
androidManifest
,
apex_available_name
,
apps
,
arch
,
arch.arm
,
arch.arm64
,
arch.riscv64
,
arch.x86
,
arch.x86_64
,
binaries
,
bootclasspath_fragments
,
bpfs
,
canned_fs_config
,
certificate
,
compat_configs
,
compile_multilib
,
compressible
,
custom_sign_tool
,
debug_ramdisk
,
device_specific
,
dist
,
dists
,
dynamic_common_lib_apex
,
enabled
,
exclude_binaries
,
exclude_filesystems
,
exclude_jni_libs
,
exclude_native_shared_libs
,
exclude_prebuilts
,
exclude_rust_dyn_libs
,
exclude_tests
,
file_contexts
,
filesystems
,
future_updatable
,
host_required
,
ignore_system_library_special_case
,
init_rc
,
installable
,
java_libs
,
jni_libs
,
key
,
licenses
,
logging_parent
,
manifest
,
min_sdk_version
,
multilib
,
multilib.both
,
multilib.first
,
multilib.lib32
,
multilib.lib64
,
multilib.prefer32
,
native_bridge_supported
,
native_shared_libs
,
no_full_install
,
odm_dlkm_specific
,
overrides
,
owner
,
package_name
,
payload_fs_type
,
platform_apis
,
prebuilts
,
product_specific
,
product_variables.debuggable
,
product_variables.release_aidl_use_unfrozen
,
product_variables.selinuxignoreneverallows
,
product_variables.unbundled_build
,
proprietary
,
ramdisk
,
recovery
,
required
,
rros
,
rust_dyn_libs
,
sh_binaries
,
soc_specific
,
system_dlkm_specific
,
system_ext_specific
,
systemserverclasspath_fragments
,
target
,
target.android
,
target.host
,
target.linux_bionic
,
target.linux_glibc
,
target_required
,
team
,
test_only_force_compression
,
test_only_unsigned_payload
,
tests
,
trim_against
,
unwanted_transitive_deps
,
updatable
,
use_generic_config
,
variant_version
,
vendor
,
vendor_dlkm_specific
,
vendor_ramdisk
,
vintf_fragment_modules
,
vintf_fragments
,
visibility
,
vndk_version
name
string, The name of the module. Must be unique across all modules.
defaults
list of string
allowed_files
string, A txt file containing list of files that are allowed to be included in this APEX.
androidManifest
configurable string, AndroidManifest.xml file used for the zip container of this APEX bundle. If unspecified,
a default one is automatically generated.
apex_available_name
string, Name that dependencies can specify in their apex_available properties to refer to this module.
If not specified, this defaults to Soong module name. This must be the name of a Soong module.
apps
configurable list of string, List of APKs that are embedded inside this APEX.
arch
interface
⊕arch.arm
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕arch.arm64
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕arch.riscv64
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕arch.x86
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕arch.x86_64
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
bootclasspath_fragments
configurable list of string, List of bootclasspath fragments that are embedded inside this APEX bundle.
bpfs
configurable list of string, List of BPF programs inside this APEX bundle.
canned_fs_config
configurable string, Path to the canned fs config file for customizing file's
uid/gid/mod/capabilities. The content of this file is appended to the
default config, so that the custom entries are preferred. The format is
/<path_or_glob> <uid> <gid> <mode> [capabilities=0x<cap>], where
path_or_glob is a path or glob pattern for a file or set of files,
uid/gid are numerial values of user ID and group ID, mode is octal value
for the file mode, and cap is hexadecimal value for the capability.
certificate
string, Specifies the certificate and the private key to sign the zip container of this APEX. If
this is "foo", foo.x509.pem and foo.pk8 under PRODUCT_DEFAULT_DEV_CERTIFICATE are used
as the certificate and the private key, respectively. If this is ":module", then the
certificate and the private key are provided from the android_app_certificate module
named "module".
compat_configs
list of string, List of platform_compat_config files that are embedded inside this APEX bundle.
compile_multilib
string, control whether this module compiles for 32-bit, 64-bit, or both. Possible values
are "32" (compile for 32-bit only), "64" (compile for 64-bit only), "both" (compile for both
architectures), or "first" (compile for 64-bit on a 64-bit platform, and 32-bit on a 32-bit
platform).
compressible
bool, Whether this APEX can be compressed or not. Setting this property to false means this
APEX will never be compressed. When set to true, APEX will be compressed if other
conditions, e.g., target device needs to support APEX compression, are also fulfilled.
Default: false.
custom_sign_tool
string, Put extra tags (signer=<value>) to apexkeys.txt, so that release tools can sign this apex
with the tool to sign payload contents.
debug_ramdisk
bool, Whether this module is installed to debug ramdisk
device_specific
bool, whether this module is specific to a device, not only for SoC, but also for off-chip
peripherals. When set to true, it is installed into /odm (or /vendor/odm if odm partition
does not exist, or /system/vendor/odm if both odm and vendor partitions do not exist).
This implies `soc_specific:true`.
⊕dist
Dist
configuration to distribute output files from this module to the distribution
directory (default: $OUT/dist, configurable with $DIST_DIR)
targets
list of string, Copy the output of this module to the $DIST_DIR when `dist` is specified on the
command line and any of these targets are also on the command line, or otherwise
built
dest
string, The name of the output artifact. This defaults to the basename of the output of
the module.
dir
string, The directory within the dist directory to store the artifact. Defaults to the
top level directory ("").
suffix
string, A suffix to add to the artifact file name (before any extension).
append_artifact_with_product
bool, If true, then the artifact file will be appended with _<product name>. For
example, if the product is coral and the module is an android_app module
of name foo, then the artifact would be foo_coral.apk. If false, there is
no change to the artifact file name.
prepend_artifact_with_product
bool, If true, then the artifact file will be prepended with <product name>-. For
example, if the product is coral and the module is an android_app module
of name foo, then the artifact would be coral-foo.apk. If false, there is
no change to the artifact file name.
tag
string, A string tag to select the OutputFiles associated with the tag.
If no tag is specified then it will select the default dist paths provided
by the module type. If a tag of "" is specified then it will return the
default output files provided by the modules, i.e. the result of calling
OutputFiles("").
dists
list of Dist, a list of configurations to distribute output files from this module to the
distribution directory (default: $OUT/dist, configurable with $DIST_DIR)
dynamic_common_lib_apex
bool, Whether this is a dynamic common lib apex, if so the native shared libs will be placed
in a special way that include the digest of the lib file under /lib(64)?
enabled
configurable bool, emit build rules for this module
Disabling a module should only be done for those modules that cannot be built
in the current environment. Modules that can build in the current environment
but are not usually required (e.g. superceded by a prebuilt) should not be
disabled as that will prevent them from being built by the checkbuild target
and so prevent early detection of changes that have broken those modules.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
file_contexts
string, Determines the file contexts file for setting the security contexts to files in this APEX
bundle. For platform APEXes, this should points to a file under /system/sepolicy Default:
/system/sepolicy/apex/<module_name>_file_contexts.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
future_updatable
bool, Marks that this APEX is designed to be updatable in the future, although it's not
updatable yet. This is used to mimic some of the build behaviors that are applied only to
updatable APEXes. Currently, this disables the size optimization, so that the size of
APEX will not increase when the APEX is actually marked as truly updatable. Default is
false.
host_required
list of string, names of other modules to install on host if this module is installed
ignore_system_library_special_case
bool, For telling the APEX to ignore special handling for system libraries such as bionic.
Default is false.
init_rc
configurable list of string, init.rc files to be installed if this module is installed
installable
bool, Whether this APEX is installable to one of the partitions like system, vendor, etc.
Default: true.
java_libs
list of string, List of java libraries that are embedded inside this APEX bundle.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
key
string, Name of the apex_key module that provides the private key to sign this APEX bundle.
licenses
list of string, Describes the licenses applicable to this module. Must reference license modules.
logging_parent
string, Logging parent value.
manifest
string, Json manifest file describing meta info of this APEX bundle. Refer to
system/apex/proto/apex_manifest.proto for the schema. Default: "apex_manifest.json"
min_sdk_version
string, The minimum SDK version that this APEX must support at minimum. This is usually set to
the SDK version that the APEX was first introduced.
multilib
interface
⊕multilib.both
ApexNativeDependencies
Native dependencies whose compile_multilib is "both"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.first
ApexNativeDependencies
Native dependencies whose compile_multilib is "first"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.lib32
ApexNativeDependencies
Native dependencies whose compile_multilib is "32"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.lib64
ApexNativeDependencies
Native dependencies whose compile_multilib is "64"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.prefer32
ApexNativeDependencies
Native dependencies whose compile_multilib is "prefer32"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
native_bridge_supported
bool, Whether this module is built for non-native architectures (also known as native bridge binary)
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
no_full_install
bool, When set to true, this module is not installed to the full install path (ex: under
out/target/product/<name>/<partition>). It can be installed only to the packaging
modules like android_filesystem.
odm_dlkm_specific
bool, Install to partition odm_dlkm when set to true.
overrides
list of string, List of module names that are prevented from being installed when this module gets
installed.
owner
string, vendor who owns this module
package_name
configurable string, Apex Container package name. Override value for attribute package:name in
AndroidManifest.xml
payload_fs_type
string, The type of filesystem to use. Either 'ext4', 'f2fs' or 'erofs'. Default 'ext4'.
platform_apis
bool, Whether this APEX can use platform APIs or not. Can be set to true only when `updatable:
false`. Default is false.
prebuilts
configurable list of string, List of prebuilt files that are embedded inside this APEX bundle.
product_specific
bool, whether this module is specific to a software configuration of a product (e.g. country,
network operator, etc). When set to true, it is installed into /product (or
/system/product if product partition does not exist).
⊕product_variables.debuggable
⊕init_rc
⊕required
⊕host_required
⊕target_required
⊕jni_libs
⊕product_variables.release_aidl_use_unfrozen
⊕required
⊕vintf_fragment_modules
⊕product_variables.selinuxignoreneverallows
⊕product_variables.unbundled_build
⊕enabled
Configurable[bool]
Configurable[bool]
proptools.Configurable[bool]
proprietary
bool, whether this is a proprietary vendor module, and should be installed into /vendor
ramdisk
bool, Whether this module is installed to ramdisk
recovery
bool, Whether this module is installed to recovery partition
required
configurable list of string, names of other modules to install if this module is installed
rros
list of string, List of runtime resource overlays (RROs) that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
sh_binaries
list of string, List of sh binaries that are embedded inside this APEX bundle.
soc_specific
bool, whether this module is specific to an SoC (System-On-a-Chip). When set to true,
it is installed into /vendor (or /system/vendor if vendor partition does not exist).
system_dlkm_specific
bool, Install to partition system_dlkm when set to true.
system_ext_specific
bool, whether this module extends system. When set to true, it is installed into /system_ext
(or /system/system_ext if system_ext partition does not exist).
systemserverclasspath_fragments
configurable list of string, List of systemserverclasspath fragments that are embedded inside this APEX bundle.
target
interface
⊕target.android
compile_multilib
string
enabled
bool
⊕multilib.first
ApexNativeDependencies
Native dependencies whose compile_multilib is "first"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.both
ApexNativeDependencies
Native dependencies whose compile_multilib is "both"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.prefer32
ApexNativeDependencies
Native dependencies whose compile_multilib is "prefer32"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.lib32
ApexNativeDependencies
Native dependencies whose compile_multilib is "32"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.lib64
ApexNativeDependencies
Native dependencies whose compile_multilib is "64"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕target.host
compile_multilib
string
⊕multilib.first
ApexNativeDependencies
Native dependencies whose compile_multilib is "first"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.both
ApexNativeDependencies
Native dependencies whose compile_multilib is "both"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.prefer32
ApexNativeDependencies
Native dependencies whose compile_multilib is "prefer32"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.lib32
ApexNativeDependencies
Native dependencies whose compile_multilib is "32"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.lib64
ApexNativeDependencies
Native dependencies whose compile_multilib is "64"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕target.linux_bionic
Multilib properties only for host linux_bionic.
⊕multilib.first
ApexNativeDependencies
Native dependencies whose compile_multilib is "first"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.both
ApexNativeDependencies
Native dependencies whose compile_multilib is "both"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.prefer32
ApexNativeDependencies
Native dependencies whose compile_multilib is "prefer32"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.lib32
ApexNativeDependencies
Native dependencies whose compile_multilib is "32"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.lib64
ApexNativeDependencies
Native dependencies whose compile_multilib is "64"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕target.linux_glibc
Multilib properties only for host linux_glibc.
⊕multilib.first
ApexNativeDependencies
Native dependencies whose compile_multilib is "first"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.both
ApexNativeDependencies
Native dependencies whose compile_multilib is "both"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.prefer32
ApexNativeDependencies
Native dependencies whose compile_multilib is "prefer32"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.lib32
ApexNativeDependencies
Native dependencies whose compile_multilib is "32"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.lib64
ApexNativeDependencies
Native dependencies whose compile_multilib is "64"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
target_required
list of string, names of other modules to install on target if this module is installed
team
string, The team (defined by the owner/vendor) who owns the property.
test_only_force_compression
bool, Whenever apex should be compressed, regardless of product flag used. Should be only
used in tests.
test_only_unsigned_payload
bool, Whenever apex_payload.img of the APEX should not be dm-verity signed. Should be only
used in tests.
tests
list of string, List of native tests that are embedded inside this APEX.
trim_against
string, Trim against a specific Dynamic Common Lib APEX
unwanted_transitive_deps
list of string, List of module names which we don't want to add as transitive deps. This can be used as
a workaround when the current implementation collects more than necessary. For example,
Rust binaries with prefer_rlib:true add unnecessary dependencies.
updatable
bool, Whether this APEX is considered updatable or not. When set to true, this will enforce
additional rules for making sure that the APEX is truly updatable. To be updatable,
min_sdk_version should be set as well. This will also disable the size optimizations like
symlinking to the system libs. Default is true.
use_generic_config
bool, Set to true if this module must be generic and does not require product-specific information.
To be included in the system image, this property must be set to true.
variant_version
string, Variant version of the mainline module. Must be an integer between 0-9
vendor
bool, whether this module is specific to an SoC (System-On-a-Chip). When set to true,
it is installed into /vendor (or /system/vendor if vendor partition does not exist).
Use `soc_specific` instead for better meaning.
vendor_dlkm_specific
bool, Install to partition vendor_dlkm when set to true.
vendor_ramdisk
bool, Whether this module is installed to vendor ramdisk
vintf_fragment_modules
configurable list of string, vintf_fragment Modules required from this module.
vintf_fragments
configurable list of string, VINTF manifest fragments to be installed if this module is installed
visibility
list of string, Controls the visibility of this module to other modules. Allowable values are one or more of
these formats:
["//visibility:public"]: Anyone can use this module.
["//visibility:private"]: Only rules in the module's package (not its subpackages) can use
this module.
["//visibility:override"]: Discards any rules inherited from defaults or a creating module.
Can only be used at the beginning of a list of visibility rules.
["//some/package:__pkg__", "//other/package:__pkg__"]: Only modules in some/package and
other/package (defined in some/package/*.bp and other/package/*.bp) have access to
this module. Note that sub-packages do not have access to the rule; for example,
//some/package/foo:bar or //other/package/testing:bla wouldn't have access. __pkg__
is a special module and must be used verbatim. It represents all of the modules in the
package.
["//project:__subpackages__", "//other:__subpackages__"]: Only modules in packages project
or other or in one of their sub-packages have access to this module. For example,
//project:rule, //project/library:lib or //other/testing/internal:munge are allowed
to depend on this rule (but not //independent:evil)
["//project"]: This is shorthand for ["//project:__pkg__"]
[":__subpackages__"]: This is shorthand for ["//project:__subpackages__"] where
//project is the module's package. e.g. using [":__subpackages__"] in
packages/apps/Settings/Android.bp is equivalent to
//packages/apps/Settings:__subpackages__.
["//visibility:legacy_public"]: The default visibility, behaves as //visibility:public
for now. It is an error if it is used in a module.
If a module does not specify the `visibility` property then it uses the
`default_visibility` property of the `package` module in the module's package.
If the `default_visibility` property is not set for the module's package then
it will use the `default_visibility` of its closest ancestor package for which
a `default_visibility` property is specified.
If no `default_visibility` property can be found then the module uses the
global default of `//visibility:legacy_public`.
The `visibility` property has no effect on a defaults module although it does
apply to any non-defaults module that uses it. To set the visibility of a
defaults module, use the `defaults_visibility` property on the defaults module;
not to be confused with the `default_visibility` property on the package module.
See https://android.googlesource.com/platform/build/soong/+/main/README.md#visibility for
more details.
vndk_version
string, Indicates VNDK version of which this VNDK APEX bundles VNDK libs.
override_apex
override_apex is used to create an apex module based on another apex module by overriding some of
its properties.
name
,
allowed_files
,
apps
,
arch
,
base
,
bpfs
,
certificate
,
compile_multilib
,
compressible
,
debug_ramdisk
,
device_specific
,
dist
,
dists
,
enabled
,
host_required
,
init_rc
,
key
,
licenses
,
logging_parent
,
min_sdk_version
,
multilib
,
multilib.both
,
multilib.first
,
multilib.lib32
,
multilib.lib64
,
multilib.prefer32
,
native_bridge_supported
,
no_full_install
,
odm_dlkm_specific
,
overrides
,
owner
,
package_name
,
prebuilts
,
product_specific
,
product_variables.debuggable
,
product_variables.release_aidl_use_unfrozen
,
product_variables.selinuxignoreneverallows
,
product_variables.unbundled_build
,
proprietary
,
ramdisk
,
recovery
,
required
,
soc_specific
,
system_dlkm_specific
,
system_ext_specific
,
target
,
target.android
,
target.host
,
target_required
,
team
,
trim_against
,
use_generic_config
,
vendor
,
vendor_dlkm_specific
,
vendor_ramdisk
,
vintf_fragment_modules
,
vintf_fragments
,
visibility
name
string, The name of the module. Must be unique across all modules.
allowed_files
string, A txt file containing list of files that are allowed to be included in this APEX.
apps
configurable list of string, List of APKs that are embedded inside this APEX.
arch
interface
base
string, Name of the base module to be overridden
bpfs
configurable list of string, List of BPF programs inside this APEX bundle.
certificate
string, Specifies the certificate and the private key to sign the zip container of this APEX. If
this is "foo", foo.x509.pem and foo.pk8 under PRODUCT_DEFAULT_DEV_CERTIFICATE are used
as the certificate and the private key, respectively. If this is ":module", then the
certificate and the private key are provided from the android_app_certificate module
named "module".
compile_multilib
string, control whether this module compiles for 32-bit, 64-bit, or both. Possible values
are "32" (compile for 32-bit only), "64" (compile for 64-bit only), "both" (compile for both
architectures), or "first" (compile for 64-bit on a 64-bit platform, and 32-bit on a 32-bit
platform).
compressible
bool, Whether this APEX can be compressed or not. Setting this property to false means this
APEX will never be compressed. When set to true, APEX will be compressed if other
conditions, e.g., target device needs to support APEX compression, are also fulfilled.
Default: false.
debug_ramdisk
bool, Whether this module is installed to debug ramdisk
device_specific
bool, whether this module is specific to a device, not only for SoC, but also for off-chip
peripherals. When set to true, it is installed into /odm (or /vendor/odm if odm partition
does not exist, or /system/vendor/odm if both odm and vendor partitions do not exist).
This implies `soc_specific:true`.
⊕dist
Dist
configuration to distribute output files from this module to the distribution
directory (default: $OUT/dist, configurable with $DIST_DIR)
targets
list of string, Copy the output of this module to the $DIST_DIR when `dist` is specified on the
command line and any of these targets are also on the command line, or otherwise
built
dest
string, The name of the output artifact. This defaults to the basename of the output of
the module.
dir
string, The directory within the dist directory to store the artifact. Defaults to the
top level directory ("").
suffix
string, A suffix to add to the artifact file name (before any extension).
append_artifact_with_product
bool, If true, then the artifact file will be appended with _<product name>. For
example, if the product is coral and the module is an android_app module
of name foo, then the artifact would be foo_coral.apk. If false, there is
no change to the artifact file name.
prepend_artifact_with_product
bool, If true, then the artifact file will be prepended with <product name>-. For
example, if the product is coral and the module is an android_app module
of name foo, then the artifact would be coral-foo.apk. If false, there is
no change to the artifact file name.
tag
string, A string tag to select the OutputFiles associated with the tag.
If no tag is specified then it will select the default dist paths provided
by the module type. If a tag of "" is specified then it will return the
default output files provided by the modules, i.e. the result of calling
OutputFiles("").
dists
list of Dist, a list of configurations to distribute output files from this module to the
distribution directory (default: $OUT/dist, configurable with $DIST_DIR)
enabled
configurable bool, emit build rules for this module
Disabling a module should only be done for those modules that cannot be built
in the current environment. Modules that can build in the current environment
but are not usually required (e.g. superceded by a prebuilt) should not be
disabled as that will prevent them from being built by the checkbuild target
and so prevent early detection of changes that have broken those modules.
host_required
list of string, names of other modules to install on host if this module is installed
init_rc
configurable list of string, init.rc files to be installed if this module is installed
key
string, Name of the apex_key module that provides the private key to sign this APEX bundle.
licenses
list of string, Describes the licenses applicable to this module. Must reference license modules.
logging_parent
string, Logging parent value.
min_sdk_version
string, The minimum SDK version that this APEX must support at minimum. This is usually set to
the SDK version that the APEX was first introduced.
multilib
interface
⊕multilib.both
ApexNativeDependencies
Native dependencies whose compile_multilib is "both"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.first
ApexNativeDependencies
Native dependencies whose compile_multilib is "first"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.lib32
ApexNativeDependencies
Native dependencies whose compile_multilib is "32"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.lib64
ApexNativeDependencies
Native dependencies whose compile_multilib is "64"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
⊕multilib.prefer32
ApexNativeDependencies
Native dependencies whose compile_multilib is "prefer32"
native_shared_libs
configurable list of string, List of native libraries that are embedded inside this APEX.
jni_libs
configurable list of string, List of JNI libraries that are embedded inside this APEX.
rust_dyn_libs
list of string, List of rust dyn libraries that are embedded inside this APEX.
binaries
configurable list of string, List of native executables that are embedded inside this APEX.
tests
list of string, List of native tests that are embedded inside this APEX.
filesystems
list of string, List of filesystem images that are embedded inside this APEX bundle.
prebuilts
configurable list of string, List of prebuilt_etcs that are embedded inside this APEX bundle.
exclude_native_shared_libs
list of string, List of native libraries to exclude from this APEX.
exclude_jni_libs
list of string, List of JNI libraries to exclude from this APEX.
exclude_rust_dyn_libs
list of string, List of rust dyn libraries to exclude from this APEX.
exclude_binaries
list of string, List of native executables to exclude from this APEX.
exclude_tests
list of string, List of native tests to exclude from this APEX.
exclude_filesystems
list of string, List of filesystem images to exclude from this APEX bundle.
exclude_prebuilts
list of string, List of prebuilt_etcs to exclude from this APEX bundle.
native_bridge_supported
bool, Whether this module is built for non-native architectures (also known as native bridge binary)
no_full_install
bool, When set to true, this module is not installed to the full install path (ex: under
out/target/product/<name>/<partition>). It can be installed only to the packaging
modules like android_filesystem.
odm_dlkm_specific
bool, Install to partition odm_dlkm when set to true.
overrides
list of string, List of module names that are prevented from being installed when this module gets
installed.
owner
string, vendor who owns this module
package_name
configurable string, Apex Container package name. Override value for attribute package:name in
AndroidManifest.xml
prebuilts
configurable list of string, List of prebuilt files that are embedded inside this APEX bundle.
product_specific
bool, whether this module is specific to a software configuration of a product (e.g. country,
network operator, etc). When set to true, it is installed into /product (or
/system/product if product partition does not exist).
⊕product_variables.debuggable
⊕init_rc
⊕required
⊕host_required
⊕target_required
⊕product_variables.release_aidl_use_unfrozen
⊕required
⊕vintf_fragment_modules
⊕product_variables.selinuxignoreneverallows
⊕product_variables.unbundled_build
⊕enabled
Configurable[bool]
Configurable[bool]
proptools.Configurable[bool]
proprietary
bool, whether this is a proprietary vendor module, and should be installed into /vendor
ramdisk
bool, Whether this module is installed to ramdisk
recovery
bool, Whether this module is installed to recovery partition
required
configurable list of string, names of other modules to install if this module is installed
soc_specific
bool, whether this module is specific to an SoC (System-On-a-Chip). When set to true,
it is installed into /vendor (or /system/vendor if vendor partition does not exist).
system_dlkm_specific
bool, Install to partition system_dlkm when set to true.
system_ext_specific
bool, whether this module extends system. When set to true, it is installed into /system_ext
(or /system/system_ext if system_ext partition does not exist).
target
interface
⊕target.android
compile_multilib
string
enabled
bool
⊕target.host
target_required
list of string, names of other modules to install on target if this module is installed
team
string, The team (defined by the owner/vendor) who owns the property.
trim_against
string, Trim against a specific Dynamic Common Lib APEX
use_generic_config
bool, Set to true if this module must be generic and does not require product-specific information.
To be included in the system image, this property must be set to true.
vendor
bool, whether this module is specific to an SoC (System-On-a-Chip). When set to true,
it is installed into /vendor (or /system/vendor if vendor partition does not exist).
Use `soc_specific` instead for better meaning.
vendor_dlkm_specific
bool, Install to partition vendor_dlkm when set to true.
vendor_ramdisk
bool, Whether this module is installed to vendor ramdisk
vintf_fragment_modules
configurable list of string, vintf_fragment Modules required from this module.
vintf_fragments
configurable list of string, VINTF manifest fragments to be installed if this module is installed
visibility
list of string, Controls the visibility of this module to other modules. Allowable values are one or more of
these formats:
["//visibility:public"]: Anyone can use this module.
["//visibility:private"]: Only rules in the module's package (not its subpackages) can use
this module.
["//visibility:override"]: Discards any rules inherited from defaults or a creating module.
Can only be used at the beginning of a list of visibility rules.
["//some/package:__pkg__", "//other/package:__pkg__"]: Only modules in some/package and
other/package (defined in some/package/*.bp and other/package/*.bp) have access to
this module. Note that sub-packages do not have access to the rule; for example,
//some/package/foo:bar or //other/package/testing:bla wouldn't have access. __pkg__
is a special module and must be used verbatim. It represents all of the modules in the
package.
["//project:__subpackages__", "//other:__subpackages__"]: Only modules in packages project
or other or in one of their sub-packages have access to this module. For example,
//project:rule, //project/library:lib or //other/testing/internal:munge are allowed
to depend on this rule (but not //independent:evil)
["//project"]: This is shorthand for ["//project:__pkg__"]
[":__subpackages__"]: This is shorthand for ["//project:__subpackages__"] where
//project is the module's package. e.g. using [":__subpackages__"] in
packages/apps/Settings/Android.bp is equivalent to
//packages/apps/Settings:__subpackages__.
["//visibility:legacy_public"]: The default visibility, behaves as //visibility:public
for now. It is an error if it is used in a module.
If a module does not specify the `visibility` property then it uses the
`default_visibility` property of the `package` module in the module's package.
If the `default_visibility` property is not set for the module's package then
it will use the `default_visibility` of its closest ancestor package for which
a `default_visibility` property is specified.
If no `default_visibility` property can be found then the module uses the
global default of `//visibility:legacy_public`.
The `visibility` property has no effect on a defaults module although it does
apply to any non-defaults module that uses it. To set the visibility of a
defaults module, use the `defaults_visibility` property on the defaults module;
not to be confused with the `default_visibility` property on the package module.
See https://android.googlesource.com/platform/build/soong/+/main/README.md#visibility for
more details.
prebuilt_apex
prebuilt_apex imports an `.apex` file into the build graph as if it was built with apex.
name
,
src
,
apex_name
,
apps
,
arch
,
arch.arm
,
arch.arm64
,
arch.riscv64
,
arch.x86
,
arch.x86_64
,
compile_multilib
,
debug_ramdisk
,
device_specific
,
dist
,
dists
,
enabled
,
exported_bootclasspath_fragments
,
exported_systemserverclasspath_fragments
,
filename
,
host_required
,
init_rc
,
installable
,
licenses
,
multilib
,
native_bridge_supported
,
no_full_install
,
odm_dlkm_specific
,
overrides
,
owner
,
prebuilt_info
,
prefer
,
product_specific
,
product_variables.debuggable
,
product_variables.native_coverage
,
product_variables.release_aidl_use_unfrozen
,
product_variables.selinuxignoreneverallows
,
product_variables.unbundled_build
,
proprietary
,
ramdisk
,
recovery
,
required
,
soc_specific
,
source_apex_name
,
system_dlkm_specific
,
system_ext_specific
,
target
,
target.android
,
target.host
,
target_required
,
team
,
use_generic_config
,
use_source_config_var
,
vendor
,
vendor_dlkm_specific
,
vendor_ramdisk
,
vintf_fragment_modules
,
vintf_fragments
,
visibility
name
string, The name of the module. Must be unique across all modules.
src
configurable string, the path to the prebuilt .apex file to import.
This cannot be marked as `android:"arch_variant"` because the `prebuilt_apex` is only mutated
for android_common. That is so that it will have the same arch variant as, and so be compatible
with, the source `apex` module type that it replaces.
apex_name
string, Canonical name of this APEX. Used to determine the path to the activated APEX on
device (/apex/<apex_name>). If unspecified, follows the name property.
apps
list of string, List of apps that are bundled inside this prebuilt apex.
This will be used to create the certificate info of those apps for apkcerts.txt
This dependency will only be used for apkcerts.txt processing.
Notably, building the prebuilt apex will not build the source app.
arch
interface
⊕arch.arm
⊕arch.arm64
⊕arch.riscv64
⊕arch.x86
⊕arch.x86_64
compile_multilib
string, control whether this module compiles for 32-bit, 64-bit, or both. Possible values
are "32" (compile for 32-bit only), "64" (compile for 64-bit only), "both" (compile for both
architectures), or "first" (compile for 64-bit on a 64-bit platform, and 32-bit on a 32-bit
platform).
debug_ramdisk
bool, Whether this module is installed to debug ramdisk
device_specific
bool, whether this module is specific to a device, not only for SoC, but also for off-chip
peripherals. When set to true, it is installed into /odm (or /vendor/odm if odm partition
does not exist, or /system/vendor/odm if both odm and vendor partitions do not exist).
This implies `soc_specific:true`.
⊕dist
Dist
configuration to distribute output files from this module to the distribution
directory (default: $OUT/dist, configurable with $DIST_DIR)
targets
list of string, Copy the output of this module to the $DIST_DIR when `dist` is specified on the
command line and any of these targets are also on the command line, or otherwise
built
dest
string, The name of the output artifact. This defaults to the basename of the output of
the module.
dir
string, The directory within the dist directory to store the artifact. Defaults to the
top level directory ("").
suffix
string, A suffix to add to the artifact file name (before any extension).
append_artifact_with_product
bool, If true, then the artifact file will be appended with _<product name>. For
example, if the product is coral and the module is an android_app module
of name foo, then the artifact would be foo_coral.apk. If false, there is
no change to the artifact file name.
prepend_artifact_with_product
bool, If true, then the artifact file will be prepended with <product name>-. For
example, if the product is coral and the module is an android_app module
of name foo, then the artifact would be coral-foo.apk. If false, there is
no change to the artifact file name.
tag
string, A string tag to select the OutputFiles associated with the tag.
If no tag is specified then it will select the default dist paths provided
by the module type. If a tag of "" is specified then it will return the
default output files provided by the modules, i.e. the result of calling
OutputFiles("").
dists
list of Dist, a list of configurations to distribute output files from this module to the
distribution directory (default: $OUT/dist, configurable with $DIST_DIR)
enabled
configurable bool, emit build rules for this module
Disabling a module should only be done for those modules that cannot be built
in the current environment. Modules that can build in the current environment
but are not usually required (e.g. superceded by a prebuilt) should not be
disabled as that will prevent them from being built by the checkbuild target
and so prevent early detection of changes that have broken those modules.
exported_bootclasspath_fragments
list of string, List of bootclasspath fragments inside this prebuilt APEX bundle and for which this APEX
bundle will create an APEX variant.
exported_systemserverclasspath_fragments
list of string, List of systemserverclasspath fragments inside this prebuilt APEX bundle and for which this
APEX bundle will create an APEX variant.
filename
string, optional name for the installed apex. If unspecified, name of the
module is used as the file name
host_required
list of string, names of other modules to install on host if this module is installed
init_rc
configurable list of string, init.rc files to be installed if this module is installed
installable
bool, whether the extracted apex file is installable.
licenses
list of string, Describes the licenses applicable to this module. Must reference license modules.
multilib
interface
native_bridge_supported
bool, Whether this module is built for non-native architectures (also known as native bridge binary)
no_full_install
bool, When set to true, this module is not installed to the full install path (ex: under
out/target/product/<name>/<partition>). It can be installed only to the packaging
modules like android_filesystem.
odm_dlkm_specific
bool, Install to partition odm_dlkm when set to true.
overrides
list of string, List of module names that are prevented from being installed when this module gets
installed.
owner
string, vendor who owns this module
prebuilt_info
string, Path to the .prebuilt_info file of the prebuilt apex.
In case of mainline modules, the .prebuilt_info file contains the build_id that was used to
generate the prebuilt.
prefer
configurable bool, When prefer is set to true the prebuilt will be used instead of any source module with
a matching name.
product_specific
bool, whether this module is specific to a software configuration of a product (e.g. country,
network operator, etc). When set to true, it is installed into /product (or
/system/product if product partition does not exist).
⊕product_variables.debuggable
⊕init_rc
⊕required
⊕host_required
⊕target_required
⊕product_variables.native_coverage
⊕product_variables.release_aidl_use_unfrozen
⊕required
⊕vintf_fragment_modules
⊕product_variables.selinuxignoreneverallows
⊕product_variables.unbundled_build
⊕enabled
Configurable[bool]
Configurable[bool]
proptools.Configurable[bool]
proprietary
bool, whether this is a proprietary vendor module, and should be installed into /vendor
ramdisk
bool, Whether this module is installed to ramdisk
recovery
bool, Whether this module is installed to recovery partition
required
configurable list of string, names of other modules to install if this module is installed
soc_specific
bool, whether this module is specific to an SoC (System-On-a-Chip). When set to true,
it is installed into /vendor (or /system/vendor if vendor partition does not exist).
source_apex_name
string, Name of the source APEX that gets shadowed by this prebuilt
e.g. com.mycompany.android.myapex
If unspecified, follows the naming convention that the source apex of
the prebuilt is Name() without "prebuilt_" prefix
system_dlkm_specific
bool, Install to partition system_dlkm when set to true.
system_ext_specific
bool, whether this module extends system. When set to true, it is installed into /system_ext
(or /system/system_ext if system_ext partition does not exist).
target
interface
⊕target.android
compile_multilib
string
enabled
bool
⊕target.host
target_required
list of string, names of other modules to install on target if this module is installed
team
string, The team (defined by the owner/vendor) who owns the property.
use_generic_config
bool, Set to true if this module must be generic and does not require product-specific information.
To be included in the system image, this property must be set to true.
use_source_config_var
ConfigVarProperties, When specified this names a Soong config variable that controls the prefer property.
If the value of the named Soong config variable is true then prefer is set to false and vice
versa. If the Soong config variable is not set then it defaults to false, so prefer defaults
to true.
If specified then the prefer property is ignored in favor of the value of the Soong config
variable.
DEPRECATED: This property is being deprecated b/308188211.
Use RELEASE_APEX_CONTRIBUTIONS build flags to select prebuilts of mainline modules.
vendor
bool, whether this module is specific to an SoC (System-On-a-Chip). When set to true,
it is installed into /vendor (or /system/vendor if vendor partition does not exist).
Use `soc_specific` instead for better meaning.
vendor_dlkm_specific
bool, Install to partition vendor_dlkm when set to true.
vendor_ramdisk
bool, Whether this module is installed to vendor ramdisk
vintf_fragment_modules
configurable list of string, vintf_fragment Modules required from this module.
vintf_fragments
configurable list of string, VINTF manifest fragments to be installed if this module is installed
visibility
list of string, Controls the visibility of this module to other modules. Allowable values are one or more of
these formats:
["//visibility:public"]: Anyone can use this module.
["//visibility:private"]: Only rules in the module's package (not its subpackages) can use
this module.
["//visibility:override"]: Discards any rules inherited from defaults or a creating module.
Can only be used at the beginning of a list of visibility rules.
["//some/package:__pkg__", "//other/package:__pkg__"]: Only modules in some/package and
other/package (defined in some/package/*.bp and other/package/*.bp) have access to
this module. Note that sub-packages do not have access to the rule; for example,
//some/package/foo:bar or //other/package/testing:bla wouldn't have access. __pkg__
is a special module and must be used verbatim. It represents all of the modules in the
package.
["//project:__subpackages__", "//other:__subpackages__"]: Only modules in packages project
or other or in one of their sub-packages have access to this module. For example,
//project:rule, //project/library:lib or //other/testing/internal:munge are allowed
to depend on this rule (but not //independent:evil)
["//project"]: This is shorthand for ["//project:__pkg__"]
[":__subpackages__"]: This is shorthand for ["//project:__subpackages__"] where
//project is the module's package. e.g. using [":__subpackages__"] in
packages/apps/Settings/Android.bp is equivalent to
//packages/apps/Settings:__subpackages__.
["//visibility:legacy_public"]: The default visibility, behaves as //visibility:public
for now. It is an error if it is used in a module.
If a module does not specify the `visibility` property then it uses the
`default_visibility` property of the `package` module in the module's package.
If the `default_visibility` property is not set for the module's package then
it will use the `default_visibility` of its closest ancestor package for which
a `default_visibility` property is specified.
If no `default_visibility` property can be found then the module uses the
global default of `//visibility:legacy_public`.
The `visibility` property has no effect on a defaults module although it does
apply to any non-defaults module that uses it. To set the visibility of a
defaults module, use the `defaults_visibility` property on the defaults module;
not to be confused with the `default_visibility` property on the package module.
See https://android.googlesource.com/platform/build/soong/+/main/README.md#visibility for
more details.