Ken Wakasa | d5e35ac | 2011-12-13 19:46:15 +0900 | [diff] [blame] | 1 | # Copyright (C) 2011 The Android Open Source Project |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
Ken Wakasa | d158c43 | 2014-11-11 03:26:38 +0900 | [diff] [blame] | 15 | LOCAL_PATH := $(call my-dir) |
Amith Yamasani | e4e1130 | 2010-04-28 18:12:58 -0700 | [diff] [blame] | 16 | include $(CLEAR_VARS) |
| 17 | |
| 18 | # We only want this apk build for tests. |
| 19 | LOCAL_MODULE_TAGS := tests |
| 20 | LOCAL_CERTIFICATE := shared |
| 21 | |
Tadashi G. Takaoka | 5cb4eae | 2011-02-08 18:30:26 +0900 | [diff] [blame] | 22 | # Do not compress dictionary files to mmap dict data runtime |
| 23 | LOCAL_AAPT_FLAGS += -0 .dict |
| 24 | # Do not compress test data file |
| 25 | LOCAL_AAPT_FLAGS += -0 .txt |
| 26 | |
Paul Duffin | 381c38a | 2017-03-01 13:21:11 +0000 | [diff] [blame] | 27 | LOCAL_STATIC_JAVA_LIBRARIES := \ |
| 28 | android-support-test \ |
Paul Duffin | 6767e05 | 2017-06-13 15:53:11 +0100 | [diff] [blame] | 29 | mockito-target-minus-junit4 |
| 30 | |
| 31 | LOCAL_JAVA_LIBRARIES := android.test.mock.sdk legacy-android-test |
Adrian Velicu | 329dbe2 | 2014-09-18 19:56:04 +0900 | [diff] [blame] | 32 | |
Amith Yamasani | e4e1130 | 2010-04-28 18:12:58 -0700 | [diff] [blame] | 33 | # Include all test java files. |
| 34 | LOCAL_SRC_FILES := $(call all-java-files-under, src) |
| 35 | |
Ken Wakasa | debd74c | 2010-07-20 16:20:15 +0900 | [diff] [blame] | 36 | LOCAL_PACKAGE_NAME := LatinIMETests |
Amith Yamasani | e4e1130 | 2010-04-28 18:12:58 -0700 | [diff] [blame] | 37 | |
Ken Wakasa | debd74c | 2010-07-20 16:20:15 +0900 | [diff] [blame] | 38 | LOCAL_INSTRUMENTATION_FOR := LatinIME |
Amith Yamasani | e4e1130 | 2010-04-28 18:12:58 -0700 | [diff] [blame] | 39 | |
Tadashi G. Takaoka | 53da9b1 | 2013-02-05 13:15:09 -0800 | [diff] [blame] | 40 | LOCAL_SDK_VERSION := current |
| 41 | |
Amith Yamasani | e4e1130 | 2010-04-28 18:12:58 -0700 | [diff] [blame] | 42 | include $(BUILD_PACKAGE) |