Include the common source files directly in the framework library
when building, to allow mutual interdependencies; the common static
library will be built independently.
diff --git a/core/pathmap.mk b/core/pathmap.mk
index 1ae663d..bc2fcb4 100644
--- a/core/pathmap.mk
+++ b/core/pathmap.mk
@@ -72,6 +72,11 @@
# A list of all source roots under frameworks/base, which will be
# built into the android.jar.
#
+# Note - "common" is included here, even though it is also built
+# into a static library (android-common) for unbundled use. This
+# is so common and the other framework libraries can have mutual
+# interdependencies.
+#
FRAMEWORKS_BASE_SUBDIRS := \
$(addsuffix /java, \
core \
@@ -84,6 +89,7 @@
wifi \
vpn \
keystore \
+ common \
)
#