OSDN Git Service

Add new Android.mk to handle repo move
authorDan Willemsen <dwillemsen@google.com>
Thu, 16 Jun 2016 22:30:19 +0000 (15:30 -0700)
committerDan Willemsen <dwillemsen@google.com>
Thu, 16 Jun 2016 22:30:19 +0000 (15:30 -0700)
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

Android.mk [new file with mode: 0644]

diff --git a/Android.mk b/Android.mk
new file mode 100644 (file)
index 0000000..a1455d4
--- /dev/null
@@ -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