blob: ac5902cc7fc6a11e5d9e2093a094f19bad21d928 [file] [log] [blame]
The Android Open Source Project88b60792009-03-03 19:28:42 -08001#
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.
Ying Wang157a5e12012-09-27 13:26:25 -070021# 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.
The Android Open Source Project88b60792009-03-03 19:28:42 -080027#
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
Ying Wange4ba06c2012-08-10 15:12:15 -070034# Unbundled apps will be built with the most generic product config.
Joe Onorato16fa4b22010-06-09 16:35:58 -070035ifneq ($(TARGET_BUILD_APPS),)
Ying Wang1a031e42010-05-10 16:35:39 -070036PRODUCT_MAKEFILES := \
Jean-Baptiste Queru324c1232013-03-22 15:53:54 -070037 $(LOCAL_DIR)/aosp_arm.mk \
Ying Wange4ba06c2012-08-10 15:12:15 -070038 $(LOCAL_DIR)/full.mk \
Ying Wangf05c4f72013-01-31 11:16:57 -080039 $(LOCAL_DIR)/generic_armv5.mk \
Jean-Baptiste Queru324c1232013-03-22 15:53:54 -070040 $(LOCAL_DIR)/aosp_x86.mk \
Ying Wange4ba06c2012-08-10 15:12:15 -070041 $(LOCAL_DIR)/full_x86.mk \
Jean-Baptiste Queru7716c2a2013-03-26 14:21:33 -070042 $(LOCAL_DIR)/aosp_mips.mk \
Ben Chengdb4fc202013-10-04 16:02:59 -070043 $(LOCAL_DIR)/full_mips.mk \
Chris Dearman1efd9e42014-02-03 15:01:24 -080044 $(LOCAL_DIR)/aosp_arm64.mk \
Ying Wangb541ab62014-05-29 17:57:40 -070045 $(LOCAL_DIR)/aosp_mips64.mk \
46 $(LOCAL_DIR)/aosp_x86_64.mk
Ying Wang1a031e42010-05-10 16:35:39 -070047else
The Android Open Source Project88b60792009-03-03 19:28:42 -080048PRODUCT_MAKEFILES := \
Jean-Baptiste Queruc3f42a92010-02-23 09:52:18 -080049 $(LOCAL_DIR)/core.mk \
The Android Open Source Project88b60792009-03-03 19:28:42 -080050 $(LOCAL_DIR)/generic.mk \
Bruce Bearec25e5032010-04-28 14:12:52 -070051 $(LOCAL_DIR)/generic_x86.mk \
Raghu Gandhamb53cc7a2012-05-07 07:04:57 -070052 $(LOCAL_DIR)/generic_mips.mk \
Jean-Baptiste Queru324c1232013-03-22 15:53:54 -070053 $(LOCAL_DIR)/aosp_arm.mk \
Jean-Baptiste Queru2b9b4d02010-03-22 10:55:26 -070054 $(LOCAL_DIR)/full.mk \
Jean-Baptiste Queru324c1232013-03-22 15:53:54 -070055 $(LOCAL_DIR)/aosp_x86.mk \
Jean-Baptiste Queru6c2df3e2010-07-15 14:04:39 -070056 $(LOCAL_DIR)/full_x86.mk \
Jean-Baptiste Queru324c1232013-03-22 15:53:54 -070057 $(LOCAL_DIR)/aosp_mips.mk \
Raghu Gandhamb53cc7a2012-05-07 07:04:57 -070058 $(LOCAL_DIR)/full_mips.mk \
Colin Cross4f0eb7d2014-01-21 19:35:38 -080059 $(LOCAL_DIR)/aosp_arm64.mk \
Chris Dearman1efd9e42014-02-03 15:01:24 -080060 $(LOCAL_DIR)/aosp_mips64.mk \
Pavel Chupinfd82a492012-11-26 09:50:07 +040061 $(LOCAL_DIR)/aosp_x86_64.mk \
62 $(LOCAL_DIR)/full_x86_64.mk \
Ying Wang1f371a12014-07-18 15:36:30 -070063 $(LOCAL_DIR)/sdk_phone_armv7.mk \
64 $(LOCAL_DIR)/sdk_phone_x86.mk \
65 $(LOCAL_DIR)/sdk_phone_mips.mk \
66 $(LOCAL_DIR)/sdk_phone_arm64.mk \
67 $(LOCAL_DIR)/sdk_phone_x86_64.mk \
68 $(LOCAL_DIR)/sdk_phone_mips64.mk \
The Android Open Source Project88b60792009-03-03 19:28:42 -080069 $(LOCAL_DIR)/sdk.mk \
Bruce Beare56363012011-02-18 15:09:35 -080070 $(LOCAL_DIR)/sdk_x86.mk \
Ying Wang09a4e682014-04-29 12:48:06 -070071 $(LOCAL_DIR)/sdk_mips.mk \
72 $(LOCAL_DIR)/sdk_arm64.mk \
Ying Wang1f371a12014-07-18 15:36:30 -070073 $(LOCAL_DIR)/sdk_x86_64.mk
Ying Wang1a031e42010-05-10 16:35:39 -070074endif