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_applicable_licenses: ["Android-Apache-2.0"], 19} 20 21cc_benchmark { 22 name: "minikin_perftests", 23 test_suites: ["device-tests"], 24 cppflags: [ 25 "-Werror", 26 "-Wall", 27 "-Wextra", 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 ], 45 46 shared_libs: [ 47 "libft2", 48 "libharfbuzz_ng", 49 "libandroidicu", 50 "liblog", 51 52 ], 53} 54