| 1 |
# |
| 2 |
# Copyright (C) 2008 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 |
# |
| 18 |
# This file should set PRODUCT_MAKEFILES to a list of product makefiles |
| 19 |
# to expose to the build system. LOCAL_DIR will already be set to |
| 20 |
# the directory containing this file. |
| 21 |
# PRODUCT_MAKEFILES is set up in AndroidProducts.mks. |
| 22 |
# Format of PRODUCT_MAKEFILES: |
| 23 |
# <product_name>:<path_to_the_product_makefile> |
| 24 |
# If the <product_name> is the same as the base file name (without dir |
| 25 |
# and the .mk suffix) of the product makefile, "<product_name>:" can be |
| 26 |
# omitted. |
| 27 |
# |
| 28 |
# This file may not rely on the value of any variable other than |
| 29 |
# LOCAL_DIR; do not use any conditionals, and do not look up the |
| 30 |
# value of any variable that isn't set in this file or in a file that |
| 31 |
# it includes. |
| 32 |
# |
| 33 |
|
| 34 |
# Unbundled apps will be built with the most generic product config. |
| 35 |
ifneq ($(TARGET_BUILD_APPS),) |
| 36 |
PRODUCT_MAKEFILES := \ |
| 37 |
$(LOCAL_DIR)/aosp_arm64.mk \ |
| 38 |
$(LOCAL_DIR)/aosp_arm.mk \ |
| 39 |
$(LOCAL_DIR)/aosp_x86_64.mk \ |
| 40 |
$(LOCAL_DIR)/aosp_x86.mk \ |
| 41 |
$(LOCAL_DIR)/full.mk \ |
| 42 |
$(LOCAL_DIR)/full_x86.mk \ |
| 43 |
|
| 44 |
else |
| 45 |
PRODUCT_MAKEFILES := \ |
| 46 |
$(LOCAL_DIR)/aosp_arm64_ab.mk \ |
| 47 |
$(LOCAL_DIR)/aosp_arm64.mk \ |
| 48 |
$(LOCAL_DIR)/aosp_arm_ab.mk \ |
| 49 |
$(LOCAL_DIR)/aosp_arm.mk \ |
| 50 |
$(LOCAL_DIR)/aosp_x86_64_ab.mk \ |
| 51 |
$(LOCAL_DIR)/aosp_x86_64.mk \ |
| 52 |
$(LOCAL_DIR)/aosp_x86_ab.mk \ |
| 53 |
$(LOCAL_DIR)/aosp_x86_arm.mk \ |
| 54 |
$(LOCAL_DIR)/aosp_x86.mk \ |
| 55 |
$(LOCAL_DIR)/full.mk \ |
| 56 |
$(LOCAL_DIR)/full_x86.mk \ |
| 57 |
$(LOCAL_DIR)/generic.mk \ |
| 58 |
$(LOCAL_DIR)/generic_x86.mk \ |
| 59 |
$(LOCAL_DIR)/gsi_arm64.mk \ |
| 60 |
$(LOCAL_DIR)/mainline_arm64.mk \ |
| 61 |
$(LOCAL_DIR)/mainline_system_arm64.mk \ |
| 62 |
$(LOCAL_DIR)/sdk_arm64.mk \ |
| 63 |
$(LOCAL_DIR)/sdk.mk \ |
| 64 |
$(LOCAL_DIR)/sdk_phone_arm64.mk \ |
| 65 |
$(LOCAL_DIR)/sdk_phone_armv7.mk \ |
| 66 |
$(LOCAL_DIR)/sdk_phone_x86_64.mk \ |
| 67 |
$(LOCAL_DIR)/sdk_phone_x86.mk \ |
| 68 |
$(LOCAL_DIR)/sdk_x86_64.mk \ |
| 69 |
$(LOCAL_DIR)/sdk_x86.mk \ |
| 70 |
|
| 71 |
endif |
| 72 |
|
| 73 |
COMMON_LUNCH_CHOICES := \ |
| 74 |
aosp_arm64-eng \ |
| 75 |
aosp_arm-eng \ |
| 76 |
aosp_x86_64-eng \ |
| 77 |
aosp_x86-eng \ |