1# 2# Copyright (C) 2023 The Android Open Source Project 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# This file defines: 18# BERBERIS_PRODUCT_PACKAGES - list of main product packages 19# BERBERIS_DEV_PRODUCT_PACKAGES - list of development packages 20# 21 22include frameworks/libs/native_bridge_support/native_bridge_support.mk 23 24# Note: When modifying this variable, please also update the `phony_deps` of 25# `berberis_deps_defaults` in frameworks/libs/binary_translation/Android.bp. 26BERBERIS_PRODUCT_PACKAGES := \ 27 libberberis_exec_region 28 29# Note: When modifying this variable, please also update the `phony_deps` of 30# `berberis_riscv64_to_x86_64_defaults` in 31# frameworks/libs/binary_translation/Android.bp. 32BERBERIS_PRODUCT_PACKAGES_RISCV64_TO_X86_64 := \ 33 libberberis_proxy_libEGL \ 34 libberberis_proxy_libGLESv1_CM \ 35 libberberis_proxy_libGLESv2 \ 36 libberberis_proxy_libGLESv3 \ 37 libberberis_proxy_libOpenMAXAL \ 38 libberberis_proxy_libOpenSLES \ 39 libberberis_proxy_libaaudio \ 40 libberberis_proxy_libamidi \ 41 libberberis_proxy_libandroid \ 42 libberberis_proxy_libandroid_runtime \ 43 libberberis_proxy_libbinder_ndk \ 44 libberberis_proxy_libc \ 45 libberberis_proxy_libcamera2ndk \ 46 libberberis_proxy_libjnigraphics \ 47 libberberis_proxy_libmediandk \ 48 libberberis_proxy_libnativehelper \ 49 libberberis_proxy_libnativewindow \ 50 libberberis_proxy_libneuralnetworks \ 51 libberberis_proxy_libvulkan \ 52 libberberis_proxy_libwebviewchromium_plat_support \ 53 berberis_prebuilt_riscv64 \ 54 berberis_program_runner_binfmt_misc_riscv64 \ 55 berberis_program_runner_riscv64 \ 56 libberberis_riscv64 57 58# TODO(b/277625560): Include $(NATIVE_BRIDGE_PRODUCT_PACKAGES) instead 59# when all its bits are ready for riscv64. 60BERBERIS_PRODUCT_PACKAGES_RISCV64_TO_X86_64 += $(NATIVE_BRIDGE_PRODUCT_PACKAGES_RISCV64_READY) 61 62# Note: When modifying this variable, please also update the `phony_deps` of 63# `berberis_riscv64_to_x86_64_defaults` in 64# frameworks/libs/binary_translation/Android.bp. 65BERBERIS_DEV_PRODUCT_PACKAGES := \ 66 berberis_hello_world.native_bridge \ 67 berberis_hello_world_static.native_bridge \ 68 berberis_host_tests \ 69 berberis_ndk_program_tests \ 70 berberis_ndk_program_tests.native_bridge \ 71 dwarf_reader \ 72 libberberis_emulated_libcamera2ndk_api_checker \ 73 nogrod_unit_tests \ 74 gen_intrinsics_tests 75 76# Note: When modifying this variable, please also update the `phony_deps` of 77# `berberis_riscv64_to_x86_64_defaults` in 78# frameworks/libs/binary_translation/Android.bp. 79BERBERIS_DEV_PRODUCT_PACKAGES_RISCV64_TO_X86_64 := \ 80 berberis_guest_loader_riscv64_tests 81 82BERBERIS_DISTRIBUTION_ARTIFACTS_RISCV64 := \ 83 system/bin/berberis_program_runner_binfmt_misc_riscv64 \ 84 system/bin/berberis_program_runner_riscv64 \ 85 system/bin/riscv64/app_process64 \ 86 system/bin/riscv64/linker64 \ 87 system/etc/binfmt_misc/riscv64_dyn \ 88 system/etc/binfmt_misc/riscv64_exe \ 89 system/etc/init/berberis.rc \ 90 system/etc/ld.config.riscv64.txt \ 91 system/lib64/libberberis_exec_region.so \ 92 system/lib64/libberberis_proxy_libEGL.so \ 93 system/lib64/libberberis_proxy_libGLESv1_CM.so \ 94 system/lib64/libberberis_proxy_libGLESv2.so \ 95 system/lib64/libberberis_proxy_libGLESv3.so \ 96 system/lib64/libberberis_proxy_libOpenMAXAL.so \ 97 system/lib64/libberberis_proxy_libOpenSLES.so \ 98 system/lib64/libberberis_proxy_libaaudio.so \ 99 system/lib64/libberberis_proxy_libamidi.so \ 100 system/lib64/libberberis_proxy_libandroid.so \ 101 system/lib64/libberberis_proxy_libandroid_runtime.so \ 102 system/lib64/libberberis_proxy_libbinder_ndk.so \ 103 system/lib64/libberberis_proxy_libc.so \ 104 system/lib64/libberberis_proxy_libcamera2ndk.so \ 105 system/lib64/libberberis_proxy_libjnigraphics.so \ 106 system/lib64/libberberis_proxy_libmediandk.so \ 107 system/lib64/libberberis_proxy_libnativehelper.so \ 108 system/lib64/libberberis_proxy_libnativewindow.so \ 109 system/lib64/libberberis_proxy_libneuralnetworks.so \ 110 system/lib64/libberberis_proxy_libvulkan.so \ 111 system/lib64/libberberis_proxy_libwebviewchromium_plat_support.so \ 112 system/lib64/libberberis_riscv64.so \ 113 system/lib64/riscv64/ld-android.so \ 114 system/lib64/riscv64/libEGL.so \ 115 system/lib64/riscv64/libGLESv1_CM.so \ 116 system/lib64/riscv64/libGLESv2.so \ 117 system/lib64/riscv64/libGLESv3.so \ 118 system/lib64/riscv64/libOpenMAXAL.so \ 119 system/lib64/riscv64/libOpenSLES.so \ 120 system/lib64/riscv64/libaaudio.so \ 121 system/lib64/riscv64/libamidi.so \ 122 system/lib64/riscv64/libandroid.so \ 123 system/lib64/riscv64/libandroid_runtime.so \ 124 system/lib64/riscv64/libandroidicu.so \ 125 system/lib64/riscv64/libbase.so \ 126 system/lib64/riscv64/libbinder_ndk.so \ 127 system/lib64/riscv64/libc++.so \ 128 system/lib64/riscv64/libc.so \ 129 system/lib64/riscv64/libcamera2ndk.so \ 130 system/lib64/riscv64/libcompiler_rt.so \ 131 system/lib64/riscv64/libcrypto.so \ 132 system/lib64/riscv64/libcutils.so \ 133 system/lib64/riscv64/libdl.so \ 134 system/lib64/riscv64/libdl_android.so \ 135 system/lib64/riscv64/libicu.so \ 136 system/lib64/riscv64/libicui18n.so \ 137 system/lib64/riscv64/libicuuc.so \ 138 system/lib64/riscv64/libjnigraphics.so \ 139 system/lib64/riscv64/liblog.so \ 140 system/lib64/riscv64/libm.so \ 141 system/lib64/riscv64/libmediandk.so \ 142 system/lib64/riscv64/libnative_bridge_vdso.so \ 143 system/lib64/riscv64/libnativehelper.so \ 144 system/lib64/riscv64/libnativewindow.so \ 145 system/lib64/riscv64/libneuralnetworks.so \ 146 system/lib64/riscv64/libsqlite.so \ 147 system/lib64/riscv64/libssl.so \ 148 system/lib64/riscv64/libstdc++.so \ 149 system/lib64/riscv64/libsync.so \ 150 system/lib64/riscv64/libutils.so \ 151 system/lib64/riscv64/libvndksupport.so \ 152 system/lib64/riscv64/libvulkan.so \ 153 system/lib64/riscv64/libwebviewchromium_plat_support.so \ 154 system/lib64/riscv64/libz.so 155