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 17cc_benchmark { 18 name: "minikin_perftests", 19 test_suites: ["device-tests"], 20 cppflags: [ 21 "-Werror", 22 "-Wall", 23 "-Wextra", 24 ], 25 srcs: [ 26 "FontCollection.cpp", 27 "FontLanguage.cpp", 28 "GraphemeBreak.cpp", 29 "Hyphenator.cpp", 30 "WordBreaker.cpp", 31 "main.cpp", 32 ], 33 34 header_libs: ["libminikin-headers-for-tests"], 35 36 static_libs: [ 37 "libminikin-tests-util", 38 "libminikin", 39 "libxml2", 40 ], 41 42 shared_libs: [ 43 "libft2", 44 "libharfbuzz_ng", 45 "libandroidicu", 46 "liblog", 47 48 ], 49} 50