Home | History | Annotate | Download | only in product
      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_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 \
     44     $(LOCAL_DIR)/aosp_arm64.mk \
     45     $(LOCAL_DIR)/aosp_mips64.mk \
     46     $(LOCAL_DIR)/aosp_x86_64.mk
     47 else
     48 PRODUCT_MAKEFILES := \
     49     $(LOCAL_DIR)/core.mk \
     50     $(LOCAL_DIR)/generic.mk \
     51     $(LOCAL_DIR)/generic_x86.mk \
     52     $(LOCAL_DIR)/generic_mips.mk \
     53     $(LOCAL_DIR)/aosp_arm.mk \
     54     $(LOCAL_DIR)/full.mk \
     55     $(LOCAL_DIR)/aosp_x86.mk \
     56     $(LOCAL_DIR)/full_x86.mk \
     57     $(LOCAL_DIR)/aosp_mips.mk \
     58     $(LOCAL_DIR)/full_mips.mk \
     59     $(LOCAL_DIR)/aosp_arm64.mk \
     60     $(LOCAL_DIR)/aosp_mips64.mk \
     61     $(LOCAL_DIR)/aosp_x86_64.mk \
     62     $(LOCAL_DIR)/sdk_phone_armv7.mk \
     63     $(LOCAL_DIR)/sdk_phone_x86.mk \
     64     $(LOCAL_DIR)/sdk_phone_mips.mk \
     65     $(LOCAL_DIR)/sdk_phone_arm64.mk \
     66     $(LOCAL_DIR)/sdk_phone_x86_64.mk \
     67     $(LOCAL_DIR)/sdk_phone_mips64.mk \
     68     $(LOCAL_DIR)/sdk.mk \
     69     $(LOCAL_DIR)/sdk_x86.mk \
     70     $(LOCAL_DIR)/sdk_mips.mk \
     71     $(LOCAL_DIR)/sdk_arm64.mk \
     72     $(LOCAL_DIR)/sdk_x86_64.mk
     73 endif
     74