aboutsummaryrefslogtreecommitdiffstats
path: root/rule_api/Android.mk
diff options
context:
space:
mode:
authorTor Norbye <tnorbye@google.com>2011-08-15 15:02:28 -0700
committerTor Norbye <tnorbye@google.com>2011-08-15 15:02:28 -0700
commita0bccbddc52575255c5ce19c9d2c96d9639d26ca (patch)
tree1b18c9529663f01158865c0768449dee18c38811 /rule_api/Android.mk
parent47d72b010e64bf0aa231895dd70a59ba3fde3630 (diff)
downloadsdk-a0bccbddc52575255c5ce19c9d2c96d9639d26ca.zip
sdk-a0bccbddc52575255c5ce19c9d2c96d9639d26ca.tar.gz
sdk-a0bccbddc52575255c5ce19c9d2c96d9639d26ca.tar.bz2
Pull View Rules API into a separate library
This changeset pulls out the API classes from the plugin sources and into a separate standalone .jar library. The library depends on the common.jar library. With the separate view API it should be possible to build designtime helpers (view rules) for custom views to improve editing behavior in the layout editor. Change-Id: I20bb511668de2fe52910e5fe0bbd3ec2a18b5a08
Diffstat (limited to 'rule_api/Android.mk')
-rw-r--r--rule_api/Android.mk28
1 files changed, 28 insertions, 0 deletions
diff --git a/rule_api/Android.mk b/rule_api/Android.mk
new file mode 100644
index 0000000..6f5d034
--- /dev/null
+++ b/rule_api/Android.mk
@@ -0,0 +1,28 @@
+#
+# Copyright (C) 2008 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_SRC_FILES := $(call all-java-files-under,src)
+LOCAL_JAVA_RESOURCE_DIRS := src
+
+LOCAL_JAVA_LIBRARIES := \
+ common
+
+LOCAL_MODULE := rule_api
+LOCAL_MODULE_TAGS := optional
+
+include $(BUILD_HOST_JAVA_LIBRARY)