Application.mk 1.2 KB
Newer Older
Z
Zhang Rui 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
# copyright (c) 2013 Zhang Rui <bbcallen@gmail.com>
#
# This file is part of ijkPlayer.
#
# ijkPlayer is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# ijkPlayer is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with ijkPlayer; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

19 20 21
APP_OPTIM := release
APP_PLATFORM := android-9
APP_ABI := armeabi-v7a
Z
Zhang Rui 已提交
22
NDK_TOOLCHAIN_VERSION=4.8
23
APP_PIE := false
Z
Zhang Rui 已提交
24
APP_STL := stlport_shared
25

Z
Zhang Rui 已提交
26
APP_CFLAGS := -O3 -Wall -pipe \
27 28 29 30 31
    -ffast-math \
    -fstrict-aliasing -Werror=strict-aliasing \
    -fmodulo-sched -fmodulo-sched-allow-regmoves \
    -Wno-psabi -Wa,--noexecstack \
    -DANDROID -DNDEBUG
32

Z
Zhang Rui 已提交
33
# armeabi-v7a
34
APP_CFLAGS += -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp
Z
Zhang Rui 已提交
35
APP_LDFLAGS += -Wl,--fix-cortex-a8