Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 60af4f03 authored by Ken Wakasa's avatar Ken Wakasa
Browse files

Fix dicttool_aosp build

Change-Id: Iabcf420b4120e3d275fdbcb23939a0ab6052ddf0
parent eae7b293
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -16,8 +16,6 @@

package com.android.inputmethod.latin;

import android.view.inputmethod.EditorInfo;

public final class Constants {
    public static final class Color {
        /**
@@ -54,7 +52,7 @@ public final class Constants {
         * The private IME option used to indicate that the given text field needs ASCII code points
         * input.
         *
         * @deprecated Use {@link EditorInfo#IME_FLAG_FORCE_ASCII}.
         * @deprecated Use EditorInfo#IME_FLAG_FORCE_ASCII.
         */
        @SuppressWarnings("dep-ann")
        public static final String FORCE_ASCII = "forceAscii";
+5 −2
Original line number Diff line number Diff line
@@ -16,13 +16,16 @@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)

MAKEDICT_CORE_SOURCE_DIRECTORY := ../../java/src/com/android/inputmethod/latin/makedict
LATINIME_CORE_SOURCE_DIRECTORY := ../../java/src/com/android/inputmethod/latin
MAKEDICT_CORE_SOURCE_DIRECTORY := $(LATINIME_CORE_SOURCE_DIRECTORY)/makedict

LOCAL_MAIN_SRC_FILES := $(call all-java-files-under,$(MAKEDICT_CORE_SOURCE_DIRECTORY))
LOCAL_TOOL_SRC_FILES := $(call all-java-files-under,src)
LOCAL_SRC_FILES := $(LOCAL_TOOL_SRC_FILES) \
        $(filter-out $(addprefix %/, $(notdir $(LOCAL_TOOL_SRC_FILES))), $(LOCAL_MAIN_SRC_FILES)) \
        $(call all-java-files-under,tests)
        $(call all-java-files-under,tests) \
        $(LATINIME_CORE_SOURCE_DIRECTORY)/Constants.java

LOCAL_JAR_MANIFEST := etc/manifest.txt
LOCAL_MODULE := dicttool_aosp
LOCAL_JAVA_LIBRARIES := junit