summaryrefslogtreecommitdiffstats
path: root/common/Android.mk
diff options
context:
space:
mode:
authorYing Wang <wangying@google.com>2010-06-15 13:54:16 -0700
committerYing Wang <wangying@google.com>2010-06-15 13:58:21 -0700
commit823b6f3516076b92f78c3fc27037d24bb514e653 (patch)
tree580ce1a902841fdc55901cfc5b4ba29171e14cc6 /common/Android.mk
parentb87362e0a6de2bf398fd4b135c66adcfbb42d8e7 (diff)
downloadandroid_frameworks_ex-823b6f3516076b92f78c3fc27037d24bb514e653.tar.gz
android_frameworks_ex-823b6f3516076b92f78c3fc27037d24bb514e653.tar.bz2
android_frameworks_ex-823b6f3516076b92f78c3fc27037d24bb514e653.zip
move android-common from framework/base to framework/ex
Also change the LOCAL_SDK_VERSION from current to 8. Change-Id: I68943b8b41622dab88c7b13d8c067b39205f028e
Diffstat (limited to 'common/Android.mk')
-rw-r--r--common/Android.mk35
1 files changed, 35 insertions, 0 deletions
diff --git a/common/Android.mk b/common/Android.mk
new file mode 100644
index 0000000..c8dfffc
--- /dev/null
+++ b/common/Android.mk
@@ -0,0 +1,35 @@
+# Copyright (C) 2009 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+LOCAL_PATH := $(call my-dir)
+
+# Note: the source code is in java/, not src/, because this code is also part of
+# the framework library, and build/core/pathmap.mk expects a java/ subdirectory.
+
+include $(CLEAR_VARS)
+LOCAL_MODULE := android-common
+LOCAL_SDK_VERSION := 8
+LOCAL_SRC_FILES := \
+ $(call all-java-files-under, java) \
+ $(call all-logtags-files-under, java)
+include $(BUILD_STATIC_JAVA_LIBRARY)
+
+# Include this library in the build server's output directory
+$(call dist-for-goals, droid, $(LOCAL_BUILT_MODULE):android-common.jar)
+
+# Build the test package
+# we can't build the test for apps only build, because android.test.runner is not unbundled yet.
+ifeq ($(TARGET_BUILD_APPS),)
+include $(call all-makefiles-under, $(LOCAL_PATH))
+endif