platform_bionic/apex/Android.bp
Bob Badour aa7d835fdd Add LOCAL_LICENSE_KINDS to bionic
Added SPDX-license-identifier-Apache-2.0 to:
  apex/Android.bp
  libdl/Android.bp
  tools/Android.bp
  tools/versioner/Android.bp
  tools/versioner/src/Android.bp

Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD to:
  benchmarks/Android.bp
  benchmarks/linker_relocation/gen/Android.bp
  libc/malloc_debug/Android.bp
  libc/system_properties/Android.bp
  tests/Android.bp
  tests/libs/Android.bp
  tests/libs/Android.build.dlext_testzip.mk
  tests/make_fortify_compile_test.mk

Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD
    SPDX-license-identifier-ISC SPDX-license-identifier-MIT
    legacy_notice legacy_unencumbered
to:
  libc/Android.bp

Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD
    SPDX-license-identifier-MIT legacy_unencumbered
to:
  libm/Android.bp

Added SPDX-license-identifier-Apache-2.0 legacy_unencumbered
to:
  libc/tools/Android.bp

Added SPDX-license-identifier-BSD
to:
  benchmarks/linker_relocation/Android.bp
  benchmarks/spawn/Android.bp
  libc/async_safe/Android.bp
  libc/malloc_hooks/Android.bp
  libfdtrack/Android.bp
  linker/Android.bp
  tests/headers/Android.bp
  tests/headers/posix/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: Ib05bcaa276b3aa71a7654ccbe8e67e1f16aec9f3
2021-02-19 23:38:28 +00:00

108 lines
2.2 KiB
Text

// Runtime (Bionic) APEX module
//
// In Q this contained Bionic, ART and Libcore.
// It keeps the name /apex/com.android.runtime for app compat reasons.
package {
default_applicable_licenses: ["bionic_apex_license"],
}
license {
name: "bionic_apex_license",
visibility: [":__subpackages__"],
license_kinds: [
"SPDX-license-identifier-Apache-2.0",
],
license_text: [
"NOTICE",
],
}
android_app_certificate {
name: "com.android.runtime.certificate",
certificate: "com.android.runtime",
}
apex_key {
name: "com.android.runtime.key",
public_key: "com.android.runtime.avbpubkey",
private_key: "com.android.runtime.pem",
}
apex {
name: "com.android.runtime",
compile_multilib: "both",
manifest: "manifest.json",
native_shared_libs: [
"libc",
"libm",
"libdl",
"libdl_android",
"libc_malloc_debug",
"libc_malloc_hooks",
],
binaries: [
"linkerconfig",
],
multilib: {
both: {
binaries: [
"crash_dump",
"linker",
],
},
},
key: "com.android.runtime.key",
certificate: ":com.android.runtime.certificate",
prebuilts: [
"bionic-linker-config",
],
updatable: false,
}
sdk {
name: "runtime-module-sdk",
defaults: ["linux_bionic_supported"],
native_header_libs: [
"bionic_libc_platform_headers",
"libc_headers",
],
native_shared_libs: [
"libc",
"libdl",
"libdl_android",
"libm",
],
native_static_libs: [
"libasync_safe",
"note_memtag_heap_async",
"note_memtag_heap_sync",
],
native_objects: [
"crtbegin_dynamic",
"crtbegin_so",
"crtend_android",
"crtend_so",
],
}
module_exports {
name: "runtime-module-host-exports",
host_supported: true,
device_supported: false,
compile_multilib: "64",
native_binaries: ["linkerconfig"],
target: {
linux_bionic: {
native_binaries: ["linker"],
},
},
}
linker_config {
name: "bionic-linker-config",
src: "linker.config.json",
installable: false,
}