aboutsummaryrefslogtreecommitdiffstats
path: root/draw9patch/Android.mk
diff options
context:
space:
mode:
authorXavier Ducrohet <xav@android.com>2011-03-15 12:10:31 -0700
committerXavier Ducrohet <xav@android.com>2011-03-15 17:43:11 -0700
commitb26189333d3db21355daa3131b9f5e69f3044c2e (patch)
tree8e7688de691b49afeea909e273212b2e97386d51 /draw9patch/Android.mk
parentd251dea0b8771677e352c04fee12be778b5bda2c (diff)
downloadsdk-b26189333d3db21355daa3131b9f5e69f3044c2e.zip
sdk-b26189333d3db21355daa3131b9f5e69f3044c2e.tar.gz
sdk-b26189333d3db21355daa3131b9f5e69f3044c2e.tar.bz2
Add missing notice files.
Also fix some makefiles to make sure the notices are picked up. - move the makefile outside of the source folder. - resources are now in the source folder directly instead of being inside src/resources. It's much simpler. Change-Id: Ica8ee4c2bc8a9b035d23fc914d4137cdca7e567d
Diffstat (limited to 'draw9patch/Android.mk')
-rw-r--r--draw9patch/Android.mk20
1 files changed, 17 insertions, 3 deletions
diff --git a/draw9patch/Android.mk b/draw9patch/Android.mk
index 934495d..f8de8d6 100644
--- a/draw9patch/Android.mk
+++ b/draw9patch/Android.mk
@@ -12,6 +12,20 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-DRAW9PATCH_LOCAL_DIR := $(call my-dir)
-include $(DRAW9PATCH_LOCAL_DIR)/etc/Android.mk
-include $(DRAW9PATCH_LOCAL_DIR)/src/Android.mk
+LOCAL_PATH := $(call my-dir)
+include $(CLEAR_VARS)
+
+LOCAL_SRC_FILES := $(call all-java-files-under, src)
+LOCAL_JAVA_RESOURCE_DIRS := src
+
+LOCAL_JAR_MANIFEST := etc/manifest.txt
+
+LOCAL_JAVA_LIBRARIES := \
+ swing-worker-1.1
+
+LOCAL_MODULE := draw9patch
+
+include $(BUILD_HOST_JAVA_LIBRARY)
+
+# Build all sub-directories
+include $(call all-makefiles-under,$(LOCAL_PATH))