1# Copyright (C) 2013 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
15LOCAL_PATH:= $(call my-dir)
16
17include $(CLEAR_VARS)
18
19LOCAL_MODULE_TAGS := tests
20
21LOCAL_C_INCLUDES += \
22	external/harfbuzz_ng/src \
23	external/freetype/include \
24	frameworks/minikin/include
25
26LOCAL_SRC_FILES:= example.cpp
27
28LOCAL_SHARED_LIBRARIES += \
29	libutils \
30	liblog \
31	libcutils \
32	libharfbuzz_ng \
33	libicuuc \
34	libft2 \
35	libpng \
36	libz \
37	libminikin
38
39LOCAL_MODULE:= minikin_example
40
41include $(BUILD_EXECUTABLE)
42
43
44include $(CLEAR_VARS)
45
46LOCAL_MODULE_TAG := tests
47
48LOCAL_C_INCLUDES += \
49	external/harfbuzz_ng/src \
50	external/freetype/include \
51	frameworks/minikin/include \
52	external/skia/src/core
53
54LOCAL_SRC_FILES:= example_skia.cpp \
55	MinikinSkia.cpp
56
57LOCAL_SHARED_LIBRARIES += \
58	libutils \
59	liblog \
60	libcutils \
61	libharfbuzz_ng \
62	libicuuc \
63	libskia \
64	libminikin \
65	libft2
66
67LOCAL_MODULE:= minikin_skia_example
68
69include $(BUILD_EXECUTABLE)
70