diff options
author | Dan Egnor <egnor@google.com> | 2009-11-18 11:23:45 -0800 |
---|---|---|
committer | Dan Egnor <egnor@google.com> | 2009-11-18 12:05:04 -0800 |
commit | ded0e6447ed6e0f200dbca13e43c6cf4efc16a1d (patch) | |
tree | a9fa405cf73e77232588e6e35b9485f6e7170d67 /common/Android.mk | |
parent | a4fa107f97933a81c42ee3cd9ca3984c08e5ab25 (diff) | |
download | frameworks_base-ded0e6447ed6e0f200dbca13e43c6cf4efc16a1d.zip frameworks_base-ded0e6447ed6e0f200dbca13e43c6cf4efc16a1d.tar.gz frameworks_base-ded0e6447ed6e0f200dbca13e43c6cf4efc16a1d.tar.bz2 |
Create android-common static library which gets included in frameworks.jar,
but can also be used by unbundled apps. Move android.text.util.Regex there as
a starting example, renamed to a more sensible (?) com.android.common.Patterns.
Set up a corresponding test package, and move RegexTest (to PatternsTest).
Update clients.
Diffstat (limited to 'common/Android.mk')
-rw-r--r-- | common/Android.mk | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/common/Android.mk b/common/Android.mk new file mode 100644 index 0000000..b74eab3 --- /dev/null +++ b/common/Android.mk @@ -0,0 +1,23 @@ +# 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) + +include $(CLEAR_VARS) +LOCAL_MODULE := android-common +LOCAL_SRC_FILES := $(call all-java-files-under, src) +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) |