AndroidProducts.mk revision 5e2feda77374f00d3fa3a20d02b5448c51f2c05e
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#
22# This file may not rely on the value of any variable other than
23# LOCAL_DIR; do not use any conditionals, and do not look up the
24# value of any variable that isn't set in this file or in a file that
25# it includes.
26#
27
28# An unbundled app build needs only generic.mk.
29ifneq ($(TARGET_BUILD_APPS),)
30PRODUCT_MAKEFILES := \
31    $(LOCAL_DIR)/core.mk \
32    $(LOCAL_DIR)/generic.mk
33else
34PRODUCT_MAKEFILES := \
35    $(LOCAL_DIR)/core.mk \
36    $(LOCAL_DIR)/generic.mk \
37    $(LOCAL_DIR)/generic_x86.mk \
38    $(LOCAL_DIR)/full.mk \
39    $(LOCAL_DIR)/full_x86.mk \
40    $(LOCAL_DIR)/sdk.mk \
41    $(LOCAL_DIR)/sdk_x86.mk \
42    $(LOCAL_DIR)/sim.mk
43endif
44