AndroidProducts.mk revision 0c4eb4188553fc06049834111416067da53ac605
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 default product config. 35ifneq ($(TARGET_BUILD_APPS),) 36PRODUCT_MAKEFILES := \ 37 $(LOCAL_DIR)/core.mk \ 38 $(LOCAL_DIR)/generic.mk \ 39 $(LOCAL_DIR)/full.mk 40else 41PRODUCT_MAKEFILES := \ 42 $(LOCAL_DIR)/core.mk \ 43 $(LOCAL_DIR)/generic.mk \ 44 $(LOCAL_DIR)/generic_x86.mk \ 45 $(LOCAL_DIR)/generic_mips.mk \ 46 $(LOCAL_DIR)/full.mk \ 47 $(LOCAL_DIR)/full_x86.mk \ 48 $(LOCAL_DIR)/full_mips.mk \ 49 $(LOCAL_DIR)/vbox_x86.mk \ 50 $(LOCAL_DIR)/sdk.mk \ 51 $(LOCAL_DIR)/sdk_x86.mk \ 52 $(LOCAL_DIR)/sdk_mips.mk \ 53 $(LOCAL_DIR)/large_emu_hw.mk 54endif 55