diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2022-02-28 22:30:08 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2022-02-28 22:30:08 +0000 |
commit | 677d31da8560c71cdcb669475474b8cc7bac363e (patch) | |
tree | 23e08cddc2f4a1c63b24655ad24d28170f4607ee /apex | |
parent | 83046fa6684ada268b50c63925bbdd6cf829abe9 (diff) | |
parent | 501e4e2521d28a232baaad0225d6d6a256d4b6dd (diff) | |
download | cuttlefish-677d31da8560c71cdcb669475474b8cc7bac363e.tar.gz |
Merge "Add 64-bit only slim lunch targets" am: 1a6fdebc19 am: 2de421a3bb am: 501e4e2521
Original change: https://android-review.googlesource.com/c/device/google/cuttlefish/+/1997477
Change-Id: I4e93daeb62a3e3bc4600abbe7ed7c91dabbb2f88
Diffstat (limited to 'apex')
4 files changed, 87 insertions, 0 deletions
diff --git a/apex/com.google.aosp_cf_slim.hardware.core_permissions/Android.bp b/apex/com.google.aosp_cf_slim.hardware.core_permissions/Android.bp new file mode 100644 index 000000000..8272bc166 --- /dev/null +++ b/apex/com.google.aosp_cf_slim.hardware.core_permissions/Android.bp @@ -0,0 +1,43 @@ +// Copyright (C) 2022 The Android Open Source Project +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package { + default_applicable_licenses: ["Android-Apache-2.0"], +} + +override_apex { + name: "com.google.aosp_cf_slim.hardware.core_permissions", + base: "com.android.hardware.core_permissions", + prebuilts: [ + "android.hardware.audio.low_latency.prebuilt.xml", + "android.hardware.biometrics.face.prebuilt.xml", + "android.hardware.ethernet.prebuilt.xml", + "android.hardware.faketouch.prebuilt.xml", + "android.hardware.fingerprint.prebuilt.xml", + "android.hardware.location.gps.prebuilt.xml", + "android.hardware.reboot_escrow.prebuilt.xml", + "android.hardware.vulkan.level-0.prebuilt.xml", + "android.hardware.vulkan.version-1_0_3.prebuilt.xml", + "android.software.device_id_attestation.prebuilt.xml", + "android.software.ipsec_tunnels.prebuilt.xml", + "android.software.opengles.deqp.level-2021-03-01.prebuilt.xml", + "android.software.sip.voip.prebuilt.xml", + "android.software.verified_boot.prebuilt.xml", + "android.software.vulkan.deqp.level-2021-03-01.prebuilt.xml", + "aosp_excluded_hardware.prebuilt.xml", + "cuttlefish_excluded_hardware.prebuilt.xml", + "handheld_core_hardware.prebuilt.xml", + "slim_excluded_hardware.prebuilt.xml", + ], +} diff --git a/apex/com.google.aosp_cf_slim.rros/Android.bp b/apex/com.google.aosp_cf_slim.rros/Android.bp new file mode 100644 index 000000000..1a98d1c2d --- /dev/null +++ b/apex/com.google.aosp_cf_slim.rros/Android.bp @@ -0,0 +1,38 @@ +// Copyright (C) 2022 The Android Open Source Project +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +soong_namespace { + imports: [ + "device/generic/goldfish", + ], +} + +package { + default_applicable_licenses: ["Android-Apache-2.0"], +} + +apex { + name: "com.google.aosp_cf_slim.rros", + manifest: "apex_manifest.json", + key: "com.google.cf.apex.key", + certificate: ":com.google.cf.apex.certificate", + file_contexts: "file_contexts", + use_vndk_as_stable: true, + updatable: false, + // Install the apex in /vendor/apex + soc_specific: true, + rros: [ + "slim_overlay_frameworks_base_core", + ], +} diff --git a/apex/com.google.aosp_cf_slim.rros/apex_manifest.json b/apex/com.google.aosp_cf_slim.rros/apex_manifest.json new file mode 100644 index 000000000..26c7bd5b5 --- /dev/null +++ b/apex/com.google.aosp_cf_slim.rros/apex_manifest.json @@ -0,0 +1,4 @@ +{ + "name": "com.google.aosp_cf_slim.rros", + "version": 1 +} diff --git a/apex/com.google.aosp_cf_slim.rros/file_contexts b/apex/com.google.aosp_cf_slim.rros/file_contexts new file mode 100644 index 000000000..cb7fd8dc3 --- /dev/null +++ b/apex/com.google.aosp_cf_slim.rros/file_contexts @@ -0,0 +1,2 @@ +(/.*)? u:object_r:vendor_file:s0 +/overlay(/.*)? u:object_r:vendor_overlay_file:s0 |