1# Copyright (C) 2019 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7#      http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14#
15
16include build/make/target/board/BoardConfigGsiCommon.mk
17
18TARGET_ARCH := arm64
19TARGET_ARCH_VARIANT := armv8-a
20TARGET_CPU_ABI := arm64-v8a
21TARGET_CPU_ABI2 :=
22TARGET_CPU_VARIANT := generic
23
24TARGET_2ND_ARCH := arm
25TARGET_2ND_ARCH_VARIANT := armv8-a
26TARGET_2ND_CPU_ABI := armeabi-v7a
27TARGET_2ND_CPU_ABI2 := armeabi
28TARGET_2ND_CPU_VARIANT := generic
29
30# Include 64-bit mediaserver to support 64-bit only devices
31TARGET_DYNAMIC_64_32_MEDIASERVER := true
32# Include 64-bit drmserver to support 64-bit only devices
33TARGET_DYNAMIC_64_32_DRMSERVER := true
34
35# TODO(b/111434759, b/111287060) SoC specific hacks
36BOARD_ROOT_EXTRA_SYMLINKS += /vendor/lib/dsp:/dsp
37BOARD_ROOT_EXTRA_SYMLINKS += /mnt/vendor/persist:/persist
38BOARD_ROOT_EXTRA_SYMLINKS += /vendor/firmware_mnt:/firmware
39
40# TODO(b/36764215): remove this setting when the generic system image
41# no longer has QCOM-specific directories under /.
42BOARD_SEPOLICY_DIRS += build/make/target/board/generic_arm64/sepolicy
43