AndroidProducts.mk revision fd82a49e04adb5513977acd0f616ddac421c715b
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.
35ifneq ($(TARGET_BUILD_APPS),)
36PRODUCT_MAKEFILES := \
37    $(LOCAL_DIR)/aosp_arm.mk \
38    $(LOCAL_DIR)/full.mk \
39    $(LOCAL_DIR)/generic_armv5.mk \
40    $(LOCAL_DIR)/aosp_x86.mk \
41    $(LOCAL_DIR)/full_x86.mk \
42    $(LOCAL_DIR)/aosp_mips.mk \
43    $(LOCAL_DIR)/full_mips.mk
44else
45PRODUCT_MAKEFILES := \
46    $(LOCAL_DIR)/core.mk \
47    $(LOCAL_DIR)/generic.mk \
48    $(LOCAL_DIR)/generic_x86.mk \
49    $(LOCAL_DIR)/generic_mips.mk \
50    $(LOCAL_DIR)/aosp_arm.mk \
51    $(LOCAL_DIR)/full.mk \
52    $(LOCAL_DIR)/aosp_x86.mk \
53    $(LOCAL_DIR)/full_x86.mk \
54    $(LOCAL_DIR)/aosp_mips.mk \
55    $(LOCAL_DIR)/full_mips.mk \
56    $(LOCAL_DIR)/aosp_x86_64.mk \
57    $(LOCAL_DIR)/full_x86_64.mk \
58    $(LOCAL_DIR)/vbox_x86.mk \
59    $(LOCAL_DIR)/sdk.mk \
60    $(LOCAL_DIR)/sdk_x86.mk \
61    $(LOCAL_DIR)/sdk_mips.mk \
62    $(LOCAL_DIR)/large_emu_hw.mk
63endif
64