1e9912de34684f1b8deaf36bcf77686152d33765dEino-Ville Talvala# Copyright (C) 2011 The Android Open Source Project
230ab3fc173709a491c9e2e103f53fb7c0d1b96b7Rodrigo Carceroni#
330ab3fc173709a491c9e2e103f53fb7c0d1b96b7Rodrigo Carceroni# Licensed under the Apache License, Version 2.0 (the "License");
430ab3fc173709a491c9e2e103f53fb7c0d1b96b7Rodrigo Carceroni# you may not use this file except in compliance with the License.
530ab3fc173709a491c9e2e103f53fb7c0d1b96b7Rodrigo Carceroni# You may obtain a copy of the License at
630ab3fc173709a491c9e2e103f53fb7c0d1b96b7Rodrigo Carceroni#
730ab3fc173709a491c9e2e103f53fb7c0d1b96b7Rodrigo Carceroni#      http://www.apache.org/licenses/LICENSE-2.0
830ab3fc173709a491c9e2e103f53fb7c0d1b96b7Rodrigo Carceroni#
930ab3fc173709a491c9e2e103f53fb7c0d1b96b7Rodrigo Carceroni# Unless required by applicable law or agreed to in writing, software
1030ab3fc173709a491c9e2e103f53fb7c0d1b96b7Rodrigo Carceroni# distributed under the License is distributed on an "AS IS" BASIS,
1130ab3fc173709a491c9e2e103f53fb7c0d1b96b7Rodrigo Carceroni# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1230ab3fc173709a491c9e2e103f53fb7c0d1b96b7Rodrigo Carceroni# See the License for the specific language governing permissions and
1330ab3fc173709a491c9e2e103f53fb7c0d1b96b7Rodrigo Carceroni# limitations under the License.
1430ab3fc173709a491c9e2e103f53fb7c0d1b96b7Rodrigo Carceroni#
1530ab3fc173709a491c9e2e103f53fb7c0d1b96b7Rodrigo Carceroni
1630ab3fc173709a491c9e2e103f53fb7c0d1b96b7Rodrigo CarceroniLOCAL_PATH := $(call my-dir)
1730ab3fc173709a491c9e2e103f53fb7c0d1b96b7Rodrigo Carceroni
1830ab3fc173709a491c9e2e103f53fb7c0d1b96b7Rodrigo Carceroni#####################
19a48b09435506cc55034ed73a4f8b55d4a0203580Marius Renn# Build module libfilterfw_static
2030ab3fc173709a491c9e2e103f53fb7c0d1b96b7Rodrigo Carceroni
2130ab3fc173709a491c9e2e103f53fb7c0d1b96b7Rodrigo Carceroniinclude $(CLEAR_VARS)
2230ab3fc173709a491c9e2e103f53fb7c0d1b96b7Rodrigo Carceroni
2330ab3fc173709a491c9e2e103f53fb7c0d1b96b7Rodrigo CarceroniLOCAL_MODULE_TAGS := optional
2430ab3fc173709a491c9e2e103f53fb7c0d1b96b7Rodrigo Carceroni
251d2030b9ec8d9ae57cbc6d39f75122dcca4dd56fEino-Ville TalvalaLOCAL_MODULE := libfilterfw_native
2630ab3fc173709a491c9e2e103f53fb7c0d1b96b7Rodrigo Carceroni
27270ae8bb603f427ce606d0e8acc87315261ef9e9Eino-Ville TalvalaLOCAL_SRC_FILES += core/geometry.cpp \
28270ae8bb603f427ce606d0e8acc87315261ef9e9Eino-Ville Talvala                   core/gl_env.cpp \
29270ae8bb603f427ce606d0e8acc87315261ef9e9Eino-Ville Talvala                   core/gl_frame.cpp \
30270ae8bb603f427ce606d0e8acc87315261ef9e9Eino-Ville Talvala                   core/native_frame.cpp \
31270ae8bb603f427ce606d0e8acc87315261ef9e9Eino-Ville Talvala                   core/native_program.cpp \
32270ae8bb603f427ce606d0e8acc87315261ef9e9Eino-Ville Talvala                   core/shader_program.cpp \
33270ae8bb603f427ce606d0e8acc87315261ef9e9Eino-Ville Talvala                   core/vertex_frame.cpp \
34270ae8bb603f427ce606d0e8acc87315261ef9e9Eino-Ville Talvala                   core/value.cpp
3530ab3fc173709a491c9e2e103f53fb7c0d1b96b7Rodrigo Carceroni
3630ab3fc173709a491c9e2e103f53fb7c0d1b96b7Rodrigo Carceroni# add local includes
3730ab3fc173709a491c9e2e103f53fb7c0d1b96b7Rodrigo Carceroniinclude $(LOCAL_PATH)/libfilterfw.mk
3830ab3fc173709a491c9e2e103f53fb7c0d1b96b7Rodrigo Carceroni
3930ab3fc173709a491c9e2e103f53fb7c0d1b96b7Rodrigo Carceroni# gcc should always be placed at the end.
4030ab3fc173709a491c9e2e103f53fb7c0d1b96b7Rodrigo CarceroniLOCAL_EXPORT_LDLIBS := -llog -lgcc
4130ab3fc173709a491c9e2e103f53fb7c0d1b96b7Rodrigo Carceroni
4230ab3fc173709a491c9e2e103f53fb7c0d1b96b7Rodrigo Carceroni# TODO: Build a shared library as well?
4330ab3fc173709a491c9e2e103f53fb7c0d1b96b7Rodrigo Carceroniinclude $(BUILD_STATIC_LIBRARY)
4430ab3fc173709a491c9e2e103f53fb7c0d1b96b7Rodrigo Carceroni
45