1# Copyright (C) 2013 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 16 17TARGET_NO_BOOTLOADER := true 18TARGET_NO_KERNEL := true 19TARGET_NO_RECOVERY := true 20 21BOARD_SYSTEMIMAGE_FILE_SYSTEM_TYPE := erofs 22TARGET_USERIMAGES_USE_EXT4 := true 23TARGET_COPY_OUT_VENDOR := vendor 24BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := erofs 25TARGET_COPY_OUT_SYSTEM_EXT := system_ext 26BOARD_SYSTEM_EXTIMAGE_FILE_SYSTEM_TYPE := erofs 27TARGET_COPY_OUT_PRODUCT := product 28BOARD_PRODUCTIMAGE_FILE_SYSTEM_TYPE := erofs 29BOARD_USES_METADATA_PARTITION := true 30# Super partition 31TARGET_USE_DYNAMIC_PARTITIONS := true 32BOARD_BUILD_SUPER_IMAGE_BY_DEFAULT := true 33BOARD_SUPER_PARTITION_GROUPS := db_dynamic_partitions 34BOARD_DB_DYNAMIC_PARTITIONS_PARTITION_LIST := system vendor system_ext product 35 36# Enable Treble 37PRODUCT_FULL_TREBLE := true 38BOARD_VNDK_VERSION := current 39 40# WiFi 41WPA_SUPPLICANT_VERSION := VER_0_8_X 42BOARD_WPA_SUPPLICANT_DRIVER := NL80211 43BOARD_HOSTAPD_DRIVER := NL80211 44BOARD_WLAN_DEVICE := qcwcn 45BOARD_HOSTAPD_PRIVATE_LIB := lib_driver_cmd_$(BOARD_WLAN_DEVICE) 46 47# BT 48BOARD_HAVE_BLUETOOTH := true 49 50BOARD_SEPOLICY_DIRS += \ 51 device/linaro/dragonboard/sepolicy \ 52 system/bt/vendor_libs/linux/sepolicy 53 54# Enable dex pre-opt to speed up initial boot 55ifeq ($(HOST_OS),linux) 56 ifeq ($(WITH_DEXPREOPT),) 57 WITH_DEXPREOPT := true 58 WITH_DEXPREOPT_PIC := true 59 endif 60endif 61 62# Copy firmware files to ramdisk/vendor_ramdisk to workaround 63# the dependency on FW_LOADER_USER_HELPER_FALLBACK kernel config 64BUILD_BROKEN_ELF_PREBUILT_PRODUCT_COPY_FILES := true 65