• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright (C) 2015 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// see how_to_run.txt for instructions on running these tests
16
17package {
18    default_team: "trendy_team_java_core_libraries",
19    default_applicable_licenses: ["Android-Apache-2.0"],
20}
21
22cc_test {
23    name: "minikin_tests",
24    test_suites: ["device-tests"],
25    data: [":minikin-test-data"],
26
27    header_libs: ["libminikin-headers-for-tests"],
28
29    static_libs: [
30        "libminikin-tests-util",
31        "libminikin",
32        "libxml2",
33        "libflagtest",
34        "libbase_ndk",
35    ],
36
37    // Shared libraries which are dependencies of minikin; these are not automatically
38    // pulled in by the build system (and thus sadly must be repeated).
39    shared_libs: [
40        "libft2",
41        "libharfbuzz_ng",
42        "libicu",
43        "liblog",
44        "libutils",
45        "libz",
46        "libcutils",
47        "aconfig_text_flags_c_lib",
48        "server_configurable_flags",
49    ],
50
51    srcs: [
52        "AndroidLineBreakerHelperTest.cpp",
53        "BidiUtilsTest.cpp",
54        "BufferTest.cpp",
55        "CmapCoverageTest.cpp",
56        "EmojiTest.cpp",
57        "FontTest.cpp",
58        "FontCollectionTest.cpp",
59        "FontCollectionItemizeTest.cpp",
60        "FontFamilyTest.cpp",
61        "FontFeatureTest.cpp",
62        "FontFileParserTest.cpp",
63        "FontLanguageListCacheTest.cpp",
64        "FontUtilsTest.cpp",
65        "HasherTest.cpp",
66        "HyphenatorMapTest.cpp",
67        "HyphenatorTest.cpp",
68        "GraphemeBreakTests.cpp",
69        "GreedyLineBreakerTest.cpp",
70        "LayoutCacheTest.cpp",
71        "LayoutCoreTest.cpp",
72        "LayoutSplitterTest.cpp",
73        "LayoutTest.cpp",
74        "LayoutUtilsTest.cpp",
75        "LayoutLetterSpacingTest.cpp",
76        "LocaleListTest.cpp",
77        "MeasuredTextTest.cpp",
78        "MeasurementTests.cpp",
79        "OptimalLineBreakerTest.cpp",
80        "ScriptUtilsTest.cpp",
81        "SparseBitSetTest.cpp",
82        "StringPieceTest.cpp",
83        "SystemFontsTest.cpp",
84        "TestMain.cpp",
85        "UnicodeUtilsTest.cpp",
86        "WordBreakerTests.cpp",
87    ],
88
89    defaults: [
90        "aconfig_lib_cc_static_link.defaults",
91        "libminikin_defaults",
92    ],
93}
94