Home | History | Annotate | Download | only in unittest
      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 
     17 cc_test {
     18     name: "minikin_tests",
     19     test_suites: ["device-tests"],
     20     data: [":minikin-test-data"],
     21 
     22     header_libs: ["libminikin-headers-for-tests"],
     23 
     24     static_libs: [
     25         "libminikin-tests-util",
     26         "libminikin",
     27         "libxml2",
     28     ],
     29 
     30     // Shared libraries which are dependencies of minikin; these are not automatically
     31     // pulled in by the build system (and thus sadly must be repeated).
     32     shared_libs: [
     33         "libft2",
     34         "libharfbuzz_ng",
     35         "libicuuc",
     36         "liblog",
     37         "libutils",
     38         "libz",
     39     ],
     40 
     41     srcs: [
     42         "AndroidLineBreakerHelperTest.cpp",
     43         "BidiUtilsTest.cpp",
     44         "CmapCoverageTest.cpp",
     45         "EmojiTest.cpp",
     46         "FontCollectionTest.cpp",
     47         "FontCollectionItemizeTest.cpp",
     48         "FontFamilyTest.cpp",
     49         "FontLanguageListCacheTest.cpp",
     50         "FontUtilsTest.cpp",
     51         "HyphenatorMapTest.cpp",
     52         "HyphenatorTest.cpp",
     53         "GraphemeBreakTests.cpp",
     54         "GreedyLineBreakerTest.cpp",
     55         "LayoutCacheTest.cpp",
     56         "LayoutTest.cpp",
     57         "LayoutUtilsTest.cpp",
     58         "LocaleListTest.cpp",
     59         "MeasuredTextTest.cpp",
     60         "MeasurementTests.cpp",
     61         "OptimalLineBreakerTest.cpp",
     62         "SparseBitSetTest.cpp",
     63         "StringPieceTest.cpp",
     64         "TestMain.cpp",
     65         "UnicodeUtilsTest.cpp",
     66         "WordBreakerTests.cpp",
     67     ],
     68 
     69     cflags: [
     70         "-Werror",
     71         "-Wall",
     72         "-Wextra",
     73     ],
     74 }
     75