From 9d6ee1ab3378f3e77631d2f0404e6adefc4706fb Mon Sep 17 00:00:00 2001 From: wang rong Date: Sun, 21 Jun 2020 17:41:20 +0800 Subject: [PATCH] COMPILE:fix compile error cause we have size limitation in gitee, we can`t have a full frameworks/base depository for frameworks/base, so we delete docs and media/tests to reduce the size. But will cause compile error without these two files, so copy them back from a temporary repository of framewroks/base. --- core/main.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/core/main.mk b/core/main.mk index a612f835d..5397232ed 100644 --- a/core/main.mk +++ b/core/main.mk @@ -57,6 +57,12 @@ TOPDIR := BUILD_SYSTEM := $(TOPDIR)build/core +$(shell \ + mv $(TOPDIR)frameworks/tempbase/docs $(TOPDIR)frameworks/base/ \ + && mv $(TOPDIR)frameworks/tempbase/media/tests $(TOPDIR)frameworks/base/media/ \ + && cd $(TOPDIR)frameworks/tempbase \ + && find -name "*.mk" | xargs rm) + # Ensure JAVA_NOT_REQUIRED is not set externally. JAVA_NOT_REQUIRED := false -- Gitee