Dan Willemsen | a23407b | 2018-10-24 17:44:49 -0700 | [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 | |
| 15 | android_app { |
| 16 | name: "LatinIME", |
| 17 | |
| 18 | srcs: [ |
| 19 | "src/**/*.java", |
| 20 | ":LatinIME_java-overridable", |
| 21 | ], |
| 22 | |
| 23 | certificate: "shared", |
| 24 | |
| 25 | jni_libs: ["libjni_latinime"], |
| 26 | |
| 27 | static_libs: [ |
| 28 | "android-common", |
| 29 | "inputmethod-common", |
| 30 | "jsr305", |
| 31 | "latinime-common", |
| 32 | "android-support-v4", |
| 33 | ], |
| 34 | |
| 35 | // Do not compress dictionary files to mmap dict data runtime |
| 36 | aaptflags: ["-0 .dict"], |
| 37 | |
| 38 | // Include all the resources regardless of system supported locales |
| 39 | aapt_include_all_resources: true, |
| 40 | |
| 41 | sdk_version: "current", |
| 42 | |
| 43 | optimize: { |
| 44 | proguard_flags_files: ["proguard.flags"], |
| 45 | }, |
| 46 | } |