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 17LOCAL_PATH := $(call my-dir) 18 19perftest_src_files := \ 20 ../util/FileUtils.cpp \ 21 ../util/FontTestUtils.cpp \ 22 ../util/MinikinFontForTest.cpp \ 23 ../util/UnicodeUtils.cpp \ 24 FontCollection.cpp \ 25 FontFamily.cpp \ 26 FontLanguage.cpp \ 27 GraphemeBreak.cpp \ 28 Hyphenator.cpp \ 29 WordBreaker.cpp \ 30 main.cpp 31 32include $(CLEAR_VARS) 33LOCAL_MODULE := minikin_perftests 34LOCAL_CPPFLAGS := -Werror -Wall -Wextra 35LOCAL_SRC_FILES := $(perftest_src_files) 36LOCAL_STATIC_LIBRARIES := \ 37 libminikin \ 38 libxml2 39 40LOCAL_SHARED_LIBRARIES := \ 41 libharfbuzz_ng \ 42 libicuuc \ 43 liblog \ 44 libskia 45 46LOCAL_C_INCLUDES := \ 47 $(LOCAL_PATH)/../ \ 48 $(LOCAL_PATH)/../../libs/minikin \ 49 external/harfbuzz_ng/src \ 50 external/libxml2/include 51 52include $(BUILD_NATIVE_BENCHMARK) 53