Android-x86
Fork
Donation

  • R/O
  • HTTP
  • SSH
  • HTTPS

external-ffmpeg: Commit

external/ffmpeg


Commit MetaInfo

Revisiónb09fcc2f1f7b5e5a68b535632ce5cff99ae9a737 (tree)
Tiempo2015-02-28 00:33:24
AutorChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

fix the building errors temporarily

Cambiar Resumen

Diferencia

--- /dev/null
+++ b/Android.mk
@@ -0,0 +1,18 @@
1+#
2+# Copyright (C) 2013 The Android-x86 Open Source Project
3+#
4+# Licensed under the GNU General Public License Version 2 or later.
5+# You may not use this file except in compliance with the License.
6+# You may obtain a copy of the License at
7+#
8+# http://www.gnu.org/licenses/gpl.html
9+#
10+
11+define RESET
12+$(1) :=
13+$(1)-yes :=
14+endef
15+
16+FF_VARS := FFLIBS OBJS ARMV5TE-OBJS ARMV6-OBJS VFP-OBJS NEON-OBJS MIPSFPU-OBJS MIPS32R2-OBJS MIPSDSPR1-OBJS MIPSDSPR2-OBJS ALTIVEC-OBJS VIS-OBJS MMX-OBJS YASM-OBJS
17+
18+include $(call all-subdir-makefiles)
--- /dev/null
+++ b/android/ffmpeg.mk
@@ -0,0 +1,26 @@
1+#
2+# Copyright (C) 2013 The Android-x86 Open Source Project
3+#
4+# Licensed under the GNU General Public License Version 2 or later.
5+# You may not use this file except in compliance with the License.
6+# You may obtain a copy of the License at
7+#
8+# http://www.gnu.org/licenses/gpl.html
9+#
10+
11+ifndef FFMPEG_DIR
12+FFMPEG_DIR := $(dir $(call my-dir))
13+endif
14+
15+# bionic include must be the first
16+LOCAL_C_INCLUDES := \
17+ bionic/libc/include \
18+ $(FFMPEG_DIR)android/include \
19+ $(FFMPEG_DIR) \
20+
21+LOCAL_CFLAGS := \
22+ -DANDROID_SDK_VERSION=$(PLATFORM_SDK_VERSION) \
23+ -DTARGET_CONFIG=\"config-$(TARGET_ARCH_VARIANT).h\" \
24+ -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC \
25+
26+LOCAL_ASFLAGS := $(LOCAL_CFLAGS)
Show on old repository browser