aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRohan Martin <rohan.martin@dynastream.com>2012-12-03 15:12:16 -0700
committerRohan Martin <rohan.martin@dynastream.com>2012-12-03 15:12:16 -0700
commit28fb430b24ace8aec42fe32c733a6b8af9d3f729 (patch)
tree36a068a01f12c237612817fd365986697991f7f0
downloadandroid_external_ant-wireless_antradio-library-28fb430b24ace8aec42fe32c733a6b8af9d3f729.tar.gz
android_external_ant-wireless_antradio-library-28fb430b24ace8aec42fe32c733a6b8af9d3f729.tar.bz2
android_external_ant-wireless_antradio-library-28fb430b24ace8aec42fe32c733a6b8af9d3f729.zip
Create standalone repository for antradio_library
-rw-r--r--Android.mk33
-rw-r--r--com.dsi.ant.antradio_library.xml5
-rw-r--r--java/com/dsi/ant/dummy/AntRadio_Library.java6
3 files changed, 44 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
new file mode 100644
index 0000000..33442f2
--- /dev/null
+++ b/Android.mk
@@ -0,0 +1,33 @@
+#
+# Copyright (C) 2011 Dynastream Innovations inc.
+#
+# 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.
+#
+
+ifneq ($(BOARD_ANT_WIRELESS_DEVICE),)
+LOCAL_PATH := $(call my-dir)
+include $(CLEAR_VARS)
+
+#
+# Dummy ANT java library
+#
+
+LOCAL_SRC_FILES := \
+ $(call all-subdir-java-files)
+
+LOCAL_MODULE_TAGS := optional
+LOCAL_MODULE:= com.dsi.ant.antradio_library
+
+include $(BUILD_JAVA_LIBRARY)
+
+endif # BOARD_ANT_WIRELESS_DEVICE defined
diff --git a/com.dsi.ant.antradio_library.xml b/com.dsi.ant.antradio_library.xml
new file mode 100644
index 0000000..e585c31
--- /dev/null
+++ b/com.dsi.ant.antradio_library.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<permissions>
+ <library name="com.dsi.ant.antradio_library"
+ file="/system/framework/com.dsi.ant.antradio_library.jar"/>
+</permissions>
diff --git a/java/com/dsi/ant/dummy/AntRadio_Library.java b/java/com/dsi/ant/dummy/AntRadio_Library.java
new file mode 100644
index 0000000..2b37068
--- /dev/null
+++ b/java/com/dsi/ant/dummy/AntRadio_Library.java
@@ -0,0 +1,6 @@
+package com.dsi.ant.dummy;
+
+public final class AntRadio_Library
+{
+}
+