• Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (C) 2017 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
17LOCAL_PATH := $(call my-dir)
18
19include $(CLEAR_VARS)
20
21LOCAL_TEST_DATA := $(foreach f,$(LOCAL_TEST_DATA),frameworks/minikin/tests:$(f))
22
23LOCAL_MODULE := minikin_stress_tests
24LOCAL_MODULE_TAGS := tests
25LOCAL_MODULE_CLASS := NATIVE_TESTS
26
27LOCAL_STATIC_LIBRARIES := libminikin
28
29# Shared libraries which are dependencies of minikin; these are not automatically
30# pulled in by the build system (and thus sadly must be repeated).
31
32LOCAL_SHARED_LIBRARIES := \
33    libskia \
34    libft2 \
35    libharfbuzz_ng \
36    libicuuc \
37    liblog \
38    libutils \
39    libz
40
41LOCAL_STATIC_LIBRARIES += \
42    libxml2
43
44LOCAL_SRC_FILES += \
45    ../util/FontTestUtils.cpp \
46    ../util/MinikinFontForTest.cpp \
47    FontFamilyTest.cpp \
48    MultithreadTest.cpp \
49
50LOCAL_C_INCLUDES := \
51    $(LOCAL_PATH)/../../libs/minikin/ \
52    $(LOCAL_PATH)/../util \
53    external/libxml2/include \
54
55LOCAL_CPPFLAGS += -Werror -Wall -Wextra
56
57include $(BUILD_NATIVE_TEST)
58