blob: 5bc004484ed44ad6946dcf8b6da4db6191140c13 [file] [log] [blame]
David Brazdil6df78e42021-01-20 10:27:06 +00001#
2# Copyright (C) 2021 Google Inc.
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16
17# TODO: Remove this once the APEX is included in base system.
18
19# To include the APEX in your build, insert this in your device.mk:
20# $(call inherit-product, packages/modules/Virtualization/apex/product_packages.mk)
21
Victor Hsieh8ddc77d2021-07-09 15:26:36 -070022PRODUCT_PACKAGES += \
23 com.android.compos \
Alan Stokes1c6f91c2021-11-19 14:11:30 +000024 com.android.virt \
Victor Hsieh8ddc77d2021-07-09 15:26:36 -070025
Alan Stokes1c6f91c2021-11-19 14:11:30 +000026# TODO(b/207336449): Figure out how to get these off /system
Alan Stokese54f3302021-10-18 12:30:31 +010027PRODUCT_ARTIFACT_PATH_REQUIREMENT_ALLOWED_LIST := \
Alan Stokese54f3302021-10-18 12:30:31 +010028 system/framework/oat/%@service-compos.jar@classes.odex \
29 system/framework/oat/%@service-compos.jar@classes.vdex \
30
Ulyana Trafimovich78581012021-11-24 15:50:04 +000031PRODUCT_APEX_SYSTEM_SERVER_JARS := com.android.compos:service-compos
Alan Stokese54f3302021-10-18 12:30:31 +010032
Ulyana Trafimovich78581012021-11-24 15:50:04 +000033PRODUCT_SYSTEM_EXT_PROPERTIES := ro.config.isolated_compilation_enabled=true
Victor Hsieh735292c2022-01-05 11:47:59 -080034
Victor Hsieh733becf2022-09-09 12:29:00 -070035PRODUCT_FSVERITY_GENERATE_METADATA := true