Move bionic ("runtime") apex definition into bionic/.
Bug: http://b/139176024 Test: boots Change-Id: Ifc3829e00b99c2f65ed932f0b42ab1ae59fec27c
This commit is contained in:
parent
82ee3a08e2
commit
470d10cf0f
7 changed files with 140 additions and 0 deletions
43
apex/Android.bp
Normal file
43
apex/Android.bp
Normal file
|
@ -0,0 +1,43 @@
|
|||
// Runtime (Bionic) APEX module
|
||||
//
|
||||
// In Q this contained Bionic, ART and Libcore.
|
||||
// It keeps the name /apex/com.android.runtime for app compat reasons.
|
||||
|
||||
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",
|
||||
}
|
||||
|
||||
prebuilt_etc {
|
||||
name: "com.android.runtime.ld.config.txt",
|
||||
src: "ld.config.txt",
|
||||
filename: "ld.config.txt",
|
||||
installable: false,
|
||||
}
|
||||
|
||||
apex {
|
||||
name: "com.android.runtime",
|
||||
compile_multilib: "both",
|
||||
manifest: "manifest.json",
|
||||
native_shared_libs: [
|
||||
"libc",
|
||||
"libm",
|
||||
"libdl",
|
||||
"libc_malloc_debug",
|
||||
"libc_malloc_hooks",
|
||||
],
|
||||
multilib: {
|
||||
both: {
|
||||
binaries: ["linker"],
|
||||
},
|
||||
},
|
||||
prebuilts: ["com.android.runtime.ld.config.txt"],
|
||||
key: "com.android.runtime.key",
|
||||
certificate: ":com.android.runtime.certificate",
|
||||
}
|
BIN
apex/com.android.runtime.avbpubkey
Normal file
BIN
apex/com.android.runtime.avbpubkey
Normal file
Binary file not shown.
51
apex/com.android.runtime.pem
Normal file
51
apex/com.android.runtime.pem
Normal file
|
@ -0,0 +1,51 @@
|
|||
-----BEGIN RSA PRIVATE KEY-----
|
||||
MIIJKgIBAAKCAgEAx/VRn+TOZ4Hah9tHkb2Jvw7aQcqurnNamGa1Ta3x09HEV45s
|
||||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6rBll3/+PKCORKzncHDMkIbeD6c6sX+ONUz7vxg3pV4eZG7NClWvA24Td
|
||||
1sANz3m6EmqG41lBzeUGConWxWRwkEXJgbxmPwMariRKR8aNVOlDVVbDp9Hhxg==
|
||||
-----END RSA PRIVATE KEY-----
|
BIN
apex/com.android.runtime.pk8
Normal file
BIN
apex/com.android.runtime.pk8
Normal file
Binary file not shown.
34
apex/com.android.runtime.x509.pem
Normal file
34
apex/com.android.runtime.x509.pem
Normal file
|
@ -0,0 +1,34 @@
|
|||
-----BEGIN CERTIFICATE-----
|
||||
MIIF2zCCA8OgAwIBAgIUIVa9I/DpCnStxMqP/g9wS+dwNcowDQYJKoZIhvcNAQEL
|
||||
BQAwfDELMAkGA1UEBhMCVVMxEzARBgNVBAgMCkNhbGlmb3JuaWExFjAUBgNVBAcM
|
||||
DU1vdW50YWluIFZpZXcxEDAOBgNVBAoMB0FuZHJvaWQxEDAOBgNVBAsMB0FuZHJv
|
||||
aWQxHDAaBgNVBAMME2NvbS5hbmRyb2lkLnJ1bnRpbWUwIBcNMTkwODEzMTIwNTU3
|
||||
WhgPNDc1NzA3MDkxMjA1NTdaMHwxCzAJBgNVBAYTAlVTMRMwEQYDVQQIDApDYWxp
|
||||
Zm9ybmlhMRYwFAYDVQQHDA1Nb3VudGFpbiBWaWV3MRAwDgYDVQQKDAdBbmRyb2lk
|
||||
MRAwDgYDVQQLDAdBbmRyb2lkMRwwGgYDVQQDDBNjb20uYW5kcm9pZC5ydW50aW1l
|
||||
MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA0B6dmGfJk68K7Sj0hOnE
|
||||
uTobEz+lMWQKK+K1qOC13Nv9pkSvZqUbNFL9Qrkv46GVi3rFRgB1MOchCJ/f4Ost
|
||||
BsEbN3aCtRkvD2qrDNBzwvUPrxNxJ+WZnHUgvJyAS7tu8riRV+5N27lLLfpZon++
|
||||
8mYnxOll/050+qW+LC6FZTaTdrVWSlItPX4ZvKArlA6wXn88GJjiUg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ql6MC9+h
|
||||
/5EwfuiNMaifo94SEFElNjhqJZwoqaFIyOT2fYt9hlvdBqWp/L5p+si0JOYbEnB2
|
||||
hIOIqfw7qdO8gZsCt7ps9JSxnPCVF1mAcrDuQcgVdGs2D3/HE+R3R504iOoAc0XF
|
||||
m9nw06M1O6bmdygQedIZ54wTINjhkJXtQluu74O2kl9wKNd2FSJWh0ZvudulohCM
|
||||
p7mS8lAlFbDPOCavlovIijXDYialcFNZnUSJAxE/k0rBBnnVxDTsJeR8ipOkaww4
|
||||
3POEm22OM57Tl60w4Jn8VZoPRl0G+R+uUaZdmPw6Gs/PgTDlwK+t1HQN0pFA0VMw
|
||||
Z4b+m+R+iUba0dbeVf/4
|
||||
-----END CERTIFICATE-----
|
8
apex/ld.config.txt
Normal file
8
apex/ld.config.txt
Normal file
|
@ -0,0 +1,8 @@
|
|||
# Copyright (C) 2019 The Android Open Source Project
|
||||
#
|
||||
# Bionic loader config file for the Runtime APEX. This is a minimal config to
|
||||
# make the linker able to load itself as an executable (it just needs to exist).
|
||||
|
||||
dir.runtime = /apex/com.android.runtime/bin/
|
||||
|
||||
[runtime]
|
4
apex/manifest.json
Normal file
4
apex/manifest.json
Normal file
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"name": "com.android.runtime",
|
||||
"version": 1
|
||||
}
|
Loading…
Reference in a new issue