Add new Android.mk to handle repo move

We're moving the platform/build repository down a level, then symlinking
the directories and necessary files back into build/. So if we're still
in build/, keep searching for Android.mk files, otherwise stop, since
they'll be found through the symlinks.

Bug: 28001743
Change-Id: Ieea6e3b1fca265b548395c6af148ebb4efa43b0f
This commit is contained in:
Dan Willemsen 2016-06-16 15:30:19 -07:00
parent b727d5bb32
commit c72dfe3cca
1 changed files with 8 additions and 0 deletions

8
Android.mk Normal file
View File

@ -0,0 +1,8 @@
LOCAL_PATH := $(call my-dir)
# We're relocating the build project to a subdirectory, then using symlinks
# to expose the subdirectories where they used to be. If the manifest hasn't
# been updated, we need to include all the subdirectories.
ifeq ($(LOCAL_PATH),build)
include $(call first-makefiles-under,$(LOCAL_PATH))
endif