Android.mk 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # copyright (c) 2016 Zhang Rui <bbcallen@gmail.com>
  2. #
  3. # This file is part of ijkPlayer.
  4. #
  5. # ijkPlayer is free software; you can redistribute it and/or
  6. # modify it under the terms of the GNU Lesser General Public
  7. # License as published by the Free Software Foundation; either
  8. # version 2.1 of the License, or (at your option) any later version.
  9. #
  10. # ijkPlayer is distributed in the hope that it will be useful,
  11. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  13. # Lesser General Public License for more details.
  14. #
  15. # You should have received a copy of the GNU Lesser General Public
  16. # License along with ijkPlayer; if not, write to the Free Software
  17. # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  18. LOCAL_PATH := $(call my-dir)
  19. include $(CLEAR_VARS)
  20. LOCAL_CFLAGS += -std=c99
  21. LOCAL_C_INCLUDES += $(LOCAL_PATH)
  22. LOCAL_C_INCLUDES += $(realpath $(LOCAL_PATH))
  23. LOCAL_SRC_FILES += j4a/j4a_allclasses.c
  24. LOCAL_SRC_FILES += j4a/j4a_base.c
  25. LOCAL_SRC_FILES += j4a/class/android/media/AudioTrack.c
  26. LOCAL_SRC_FILES += j4a/class/android/media/MediaCodec.c
  27. LOCAL_SRC_FILES += j4a/class/android/media/MediaFormat.c
  28. LOCAL_SRC_FILES += j4a/class/android/media/PlaybackParams.c
  29. LOCAL_SRC_FILES += j4a/class/android/os/Build.c
  30. LOCAL_SRC_FILES += j4a/class/android/os/Bundle.c
  31. LOCAL_SRC_FILES += j4a/class/java/nio/Buffer.c
  32. LOCAL_SRC_FILES += j4a/class/java/nio/ByteBuffer.c
  33. LOCAL_SRC_FILES += j4a/class/java/util/ArrayList.c
  34. LOCAL_SRC_FILES += j4a/class/tv/danmaku/ijk/media/player/misc/IMediaDataSource.c
  35. LOCAL_SRC_FILES += j4a/class/tv/danmaku/ijk/media/player/misc/IAndroidIO.c
  36. LOCAL_SRC_FILES += j4a/class/tv/danmaku/ijk/media/player/IjkMediaPlayer.c
  37. LOCAL_SRC_FILES += j4au/class/android/media/AudioTrack.util.c
  38. LOCAL_SRC_FILES += j4au/class/java/nio/ByteBuffer.util.c
  39. LOCAL_MODULE := ijkj4a
  40. include $(BUILD_STATIC_LIBRARY)
  41. $(call import-module,android/cpufeatures)