summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorYohann Roussel <yroussel@google.com>2014-09-22 10:40:05 +0200
committerYohann Roussel <yroussel@google.com>2014-10-24 12:34:50 +0200
commitbec7f278895a0f9cfd77fd86cb795b66ffe96149 (patch)
tree05f2175bea516863df0255f377e67fc6e440f6c0 /library
parent7dfb545d0f92125162ba2bacdfa1b96e88d06886 (diff)
downloadandroid_frameworks_multidex-bec7f278895a0f9cfd77fd86cb795b66ffe96149.tar.gz
android_frameworks_multidex-bec7f278895a0f9cfd77fd86cb795b66ffe96149.tar.bz2
android_frameworks_multidex-bec7f278895a0f9cfd77fd86cb795b66ffe96149.zip
Provide default jack legacy configuration.
To help compilation with jack of applications using a multidex library. (cherry picked from commit 2921acf84ac6114a6e600b7ab0237d835ef9e43f) Bug: 18112662 Change-Id: I0f7535ba859859ec30fc6a07447f1075e7b4deb0
Diffstat (limited to 'library')
-rw-r--r--library/legacyMultidexInstallation.jpp49
1 files changed, 49 insertions, 0 deletions
diff --git a/library/legacyMultidexInstallation.jpp b/library/legacyMultidexInstallation.jpp
new file mode 100644
index 0000000..8a81eba
--- /dev/null
+++ b/library/legacyMultidexInstallation.jpp
@@ -0,0 +1,49 @@
+/*
+ * Copyright (C) 2014 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.
+ */
+
+multidexInstanciable:
+ @@com.android.jack.annotations.MultiDexInstaller
+ class *
+ is {
+ public
+ }
+ extends {
+ class android.app.Instrumentation
+ | class android.app.Activity
+ | class android.app.Service
+ | class android.content.ContentProvider
+ | class android.content.BroadcastReceiver
+ | class android.app.backup.BackupAgent
+ | class android.app.Application
+ }
+ do {
+ @@com.android.jack.annotations.MultiDexInstaller
+ method void <init>();
+ }
+
+multidexInstaller:
+ class *
+ is {
+ public
+ }
+ extends {
+ class android.app.Application
+ }
+ do {
+ @@com.android.jack.annotations.MultiDexInstaller
+ method void attachBaseContext(class android.content.Context)
+ ;
+ }