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