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