1//
2// Copyright (C) 2016 The Android Open Source Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8//      http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15//
16
17package {
18    default_team: "trendy_team_java_core_libraries",
19    default_applicable_licenses: ["Android-Apache-2.0"],
20}
21
22cc_benchmark {
23    name: "minikin_perftests",
24    test_suites: ["device-tests"],
25    defaults: [
26        "aconfig_lib_cc_static_link.defaults",
27        "libminikin_defaults",
28    ],
29    srcs: [
30        "FontCollection.cpp",
31        "FontLanguage.cpp",
32        "GraphemeBreak.cpp",
33        "Hyphenator.cpp",
34        "WordBreaker.cpp",
35        "main.cpp",
36    ],
37
38    header_libs: ["libminikin-headers-for-tests"],
39
40    static_libs: [
41        "libminikin-tests-util",
42        "libminikin",
43        "libxml2",
44        "aconfig_text_flags_c_lib",
45    ],
46
47    shared_libs: [
48        "libft2",
49        "libharfbuzz_ng",
50        "libicu",
51        "liblog",
52        "libcutils",
53        "aconfig_text_flags_c_lib",
54        "server_configurable_flags",
55    ],
56}
57