mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-30 05:02:26 -05:00
Enable AOSP builds
This commit is contained in:
parent
cbddf960b1
commit
32e1689255
27
Android.mk
27
Android.mk
@ -7,21 +7,38 @@ LOCAL_STATIC_JAVA_LIBRARIES += libio
|
|||||||
LOCAL_STATIC_JAVA_LIBRARIES += libjutf
|
LOCAL_STATIC_JAVA_LIBRARIES += libjutf
|
||||||
LOCAL_STATIC_JAVA_LIBRARIES += libjzlib
|
LOCAL_STATIC_JAVA_LIBRARIES += libjzlib
|
||||||
LOCAL_STATIC_JAVA_LIBRARIES += libhtmlcleaner
|
LOCAL_STATIC_JAVA_LIBRARIES += libhtmlcleaner
|
||||||
|
LOCAL_STATIC_JAVA_LIBRARIES += android-support-v4
|
||||||
|
|
||||||
LOCAL_MODULE_TAGS := eng
|
LOCAL_MODULE_TAGS := eng
|
||||||
|
|
||||||
LOCAL_SRC_FILES := $(call all-subdir-java-files)
|
LOCAL_SRC_FILES := $(call all-java-files-under, src)
|
||||||
|
LOCAL_SRC_FILES += $(call all-java-files-under, plugins/ActionBarSherlock/library/src)
|
||||||
|
LOCAL_SRC_FILES += $(call all-java-files-under, plugins/Android-PullToRefresh/library/src)
|
||||||
|
LOCAL_SRC_FILES += $(call all-java-files-under, plugins/ckChangeLog/library/src)
|
||||||
|
LOCAL_SRC_FILES += $(call all-java-files-under, plugins/HoloColorPicker/src)
|
||||||
|
|
||||||
|
res_dir := res plugins/ActionBarSherlock/library/res plugins/Android-PullToRefresh/library/res plugins/ckChangeLog/library/res plugins/HoloColorPicker/res
|
||||||
|
LOCAL_RESOURCE_DIR := $(addprefix $(LOCAL_PATH)/, $(res_dir))
|
||||||
|
|
||||||
LOCAL_SDK_VERSION := current
|
LOCAL_SDK_VERSION := current
|
||||||
|
|
||||||
LOCAL_PACKAGE_NAME := Email
|
LOCAL_PACKAGE_NAME := Email
|
||||||
|
|
||||||
|
LOCAL_AAPT_FLAGS := --auto-add-overlay
|
||||||
|
LOCAL_AAPT_FLAGS += --extra-packages de.cketti.library.changelog
|
||||||
|
LOCAL_AAPT_FLAGS += --extra-packages android.support.v4.app
|
||||||
|
LOCAL_AAPT_FLAGS += --extra-packages com.actionbarsherlock
|
||||||
|
LOCAL_AAPT_FLAGS += --extra-packages com.handmark.pulltorefresh.library
|
||||||
|
LOCAL_AAPT_FLAGS += --extra-packages com.larswerkman.colorpicker
|
||||||
|
|
||||||
|
LOCAL_PROGUARD_FLAG_FILES := proguard.cfg
|
||||||
|
|
||||||
include $(BUILD_PACKAGE)
|
include $(BUILD_PACKAGE)
|
||||||
##################################################
|
##################################################
|
||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
|
|
||||||
LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES += libcore:libs/apache-mime4j-core-0.7-SNAPSHOT.jar
|
LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES += libcore:libs/apache-mime4j-core-0.7.2.jar
|
||||||
LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES += libdom:libs/apache-mime4j-dom-0.7-SNAPSHOT.jar
|
LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES += libdom:libs/apache-mime4j-dom-0.7.2.jar
|
||||||
LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES += libio:libs/commons-io-2.0.1.jar
|
LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES += libio:libs/commons-io-2.0.1.jar
|
||||||
LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES += libjutf:libs/jutf7-1.0.1-SNAPSHOT.jar
|
LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES += libjutf:libs/jutf7-1.0.1-SNAPSHOT.jar
|
||||||
LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES += libjzlib:libs/jzlib-1.0.7.jar
|
LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES += libjzlib:libs/jzlib-1.0.7.jar
|
||||||
@ -29,7 +46,3 @@ LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES += libhtmlcleaner:libs/htmlcleaner-2.2.jar
|
|||||||
|
|
||||||
include $(BUILD_MULTI_PREBUILT)
|
include $(BUILD_MULTI_PREBUILT)
|
||||||
|
|
||||||
|
|
||||||
# Use the folloing include to make our test apk.
|
|
||||||
include $(call all-makefiles-under,$(LOCAL_PATH))
|
|
||||||
|
|
||||||
|
@ -2,6 +2,8 @@
|
|||||||
-dontusemixedcaseclassnames
|
-dontusemixedcaseclassnames
|
||||||
-dontskipnonpubliclibraryclasses
|
-dontskipnonpubliclibraryclasses
|
||||||
-dontpreverify
|
-dontpreverify
|
||||||
|
-dontwarn org.htmlcleaner.HtmlCleanerForAnt
|
||||||
|
-dontwarn org.htmlcleaner.JDomSerializer
|
||||||
-verbose
|
-verbose
|
||||||
-optimizations !code/simplification/arithmetic,!field/*,!class/merging/*
|
-optimizations !code/simplification/arithmetic,!field/*,!class/merging/*
|
||||||
|
|
||||||
@ -38,3 +40,7 @@
|
|||||||
-keep class * implements android.os.Parcelable {
|
-keep class * implements android.os.Parcelable {
|
||||||
public static final android.os.Parcelable$Creator *;
|
public static final android.os.Parcelable$Creator *;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
-keepclassmembers class * extends com.actionbarsherlock.ActionBarSherlock {
|
||||||
|
<init>(android.app.Activity, int);
|
||||||
|
}
|
||||||
|
@ -460,4 +460,8 @@ public class MergeCursor implements Cursor {
|
|||||||
public Bundle respond(Bundle extras) {
|
public Bundle respond(Bundle extras) {
|
||||||
throw new RuntimeException("Not implemented");
|
throw new RuntimeException("Not implemented");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Uri getNotificationUri() {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -821,6 +821,10 @@ public class MessageProvider extends ContentProvider {
|
|||||||
checkClosed();
|
checkClosed();
|
||||||
return mCursor.getType(columnIndex);
|
return mCursor.getType(columnIndex);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Uri getNotificationUri() {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
protected class ThrottlingQueryHandler implements QueryHandler {
|
protected class ThrottlingQueryHandler implements QueryHandler {
|
||||||
|
Loading…
Reference in New Issue
Block a user