Prepare for master merge

- Rename the jni library name
- Revert the local cert
- LatinIme2Google -> LatinIME
Please note that we'll use the new package name: com.google.android.inputmethod.latin

Change-Id: Ibbab07e8102ade5a93660c0723cd86f600c14a7d
main
Ken Wakasa 2010-07-20 16:20:15 +09:00
parent 481a75fcfa
commit debd74c678
5 changed files with 13 additions and 18 deletions

View File

@ -5,17 +5,18 @@ LOCAL_MODULE_TAGS := optional
LOCAL_SRC_FILES := $(call all-subdir-java-files)
LOCAL_PACKAGE_NAME := LatinIme2Google
LOCAL_PACKAGE_NAME := LatinIME
LOCAL_CERTIFICATE := vendor/google/certs/app
LOCAL_CERTIFICATE := shared
LOCAL_JNI_SHARED_LIBRARIES := libjni_latinime2
LOCAL_JNI_SHARED_LIBRARIES := libjni_latinime
LOCAL_STATIC_JAVA_LIBRARIES := android-common
#LOCAL_AAPT_FLAGS := -0 .dict
# The following flag is required because we use a different package name
# com.google.android.inputmethod.latin in the LatinIME sandbox.
# com.google.android.inputmethod.latin than Java package name
# com.android.inputmethod.latin
LOCAL_AAPT_FLAGS := --custom-package com.android.inputmethod.latin
LOCAL_SDK_VERSION := 8

View File

@ -1,9 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.google.android.inputmethod.latin"
android:versionCode="21"
android:versionName="0.21">
<uses-sdk android:minSdkVersion="8"></uses-sdk>
package="com.google.android.inputmethod.latin">
<original-package android:name="com.android.inputmethod.latin" />

View File

@ -53,9 +53,9 @@ public class BinaryDictionary extends Dictionary {
static {
try {
System.loadLibrary("jni_latinime2");
System.loadLibrary("jni_latinime");
} catch (UnsatisfiedLinkError ule) {
Log.e("BinaryDictionary", "Could not load native library jni_latinime2");
Log.e("BinaryDictionary", "Could not load native library jni_latinime");
}
}

View File

@ -1,7 +1,7 @@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_C_INCLUDES += $(LOCAL_PATH)/src $(JNI_H_INCLUDE)
LOCAL_C_INCLUDES += $(LOCAL_PATH)/src
LOCAL_SRC_FILES := \
jni/com_android_inputmethod_latin_BinaryDictionary.cpp \
@ -16,10 +16,8 @@ else
LOCAL_C_INCLUDES += $(JNI_H_INCLUDE)
endif
LOCAL_PRELINK_MODULE := false
LOCAL_MODULE := libjni_latinime
LOCAL_MODULE := libjni_latinime2
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_TAGS := user
include $(BUILD_SHARED_LIBRARY)

View File

@ -10,8 +10,8 @@ LOCAL_JAVA_LIBRARIES := android.test.runner
# Include all test java files.
LOCAL_SRC_FILES := $(call all-java-files-under, src)
LOCAL_PACKAGE_NAME := LatinIME2Tests
LOCAL_PACKAGE_NAME := LatinIMETests
LOCAL_INSTRUMENTATION_FOR := LatinIme2Google
LOCAL_INSTRUMENTATION_FOR := LatinIME
include $(BUILD_PACKAGE)