summaryrefslogtreecommitdiffstats
path: root/jack-launcher/Android.mk
diff options
context:
space:
mode:
authorYohann Roussel <yroussel@google.com>2015-04-14 10:59:21 +0200
committerYohann Roussel <yroussel@google.com>2015-04-14 21:45:40 +0200
commit6909f869f245885370755490be2a6cbf99db5216 (patch)
treeb930339534debb829b9c48bd38ea165d59987acb /jack-launcher/Android.mk
parent97fcd1f2f8d4a6f15dc56e04107817283bc521c4 (diff)
downloadtoolchain_jack-6909f869f245885370755490be2a6cbf99db5216.tar.gz
toolchain_jack-6909f869f245885370755490be2a6cbf99db5216.tar.bz2
toolchain_jack-6909f869f245885370755490be2a6cbf99db5216.zip
A launcher protecting for classpath entries deletion
Allows to run application loaded in a classloader resistant to classpath entries deletion. Bug: 20132430 Change-Id: If6f999956b2230651d2ca1aea073848cfd8ff60d
Diffstat (limited to 'jack-launcher/Android.mk')
-rw-r--r--jack-launcher/Android.mk26
1 files changed, 26 insertions, 0 deletions
diff --git a/jack-launcher/Android.mk b/jack-launcher/Android.mk
new file mode 100644
index 00000000..47fc56ea
--- /dev/null
+++ b/jack-launcher/Android.mk
@@ -0,0 +1,26 @@
+# Copyright (C) 2015 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 := jack-launcher
+LOCAL_MODULE_TAGS := optional
+LOCAL_SRC_FILES := $(call all-java-files-under,src)
+LOCAL_JAR_MANIFEST := etc/manifest.txt
+LOCAL_STATIC_JAVA_LIBRARIES := \
+ jsr305lib-jack
+
+include $(BUILD_HOST_JAVA_LIBRARY)