Ken Wakasa | 54a1b8e | 2014-10-22 18:24:44 +0900 | [diff] [blame] | 1 | # Copyright (C) 2014 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) |
Ken Wakasa | 54a1b8e | 2014-10-22 18:24:44 +0900 | [diff] [blame] | 16 | include $(CLEAR_VARS) |
Ken Wakasa | 54a1b8e | 2014-10-22 18:24:44 +0900 | [diff] [blame] | 17 | LOCAL_MODULE := latinime-common |
Tadashi G. Takaoka | 8098057 | 2014-10-29 11:27:40 +0900 | [diff] [blame] | 18 | LOCAL_SRC_FILES := $(call all-java-files-under, src) |
| 19 | LOCAL_STATIC_JAVA_LIBRARIES := jsr305 |
Ken Wakasa | 54a1b8e | 2014-10-22 18:24:44 +0900 | [diff] [blame] | 20 | LOCAL_SDK_VERSION := 21 |
| 21 | include $(BUILD_STATIC_JAVA_LIBRARY) |
| 22 | |
| 23 | # Also build a host side library |
| 24 | include $(CLEAR_VARS) |
| 25 | LOCAL_MODULE := latinime-common-host |
| 26 | LOCAL_SRC_FILES := $(call all-java-files-under, src) |
Tadashi G. Takaoka | 8098057 | 2014-10-29 11:27:40 +0900 | [diff] [blame] | 27 | LOCAL_STATIC_JAVA_LIBRARIES := jsr305lib |
Ken Wakasa | 54a1b8e | 2014-10-22 18:24:44 +0900 | [diff] [blame] | 28 | include $(BUILD_HOST_JAVA_LIBRARY) |