shithub: openh264

Download patch

ref: 966cc974966991b96146d2b8c5980579a13546f9
parent: ca457f57e9150ce48f8fe555909296444d253319
author: Martin Storsjö <martin@martin.st>
date: Wed Feb 19 17:13:14 EST 2014

Remove a dubious/unnecessary workaround for an issue in a nonstandard toolchain

There's no requirement to work with the Intel NDK. The NDK build
files don't even need to create any cpufeatures subdirectory since
all of the cpufeatures library is handled within the normal build
system. Finally, the encoder makefile tried to create a directory
for "welsdecdemo", not anything for "welsencdemo".

Thus, if this really was necessary, it would already have been noticed
that it missed an entry for "welsencdemo". Therefore, remove this
hack/workaround.

--- a/codec/build/android/dec/jni/Android.mk
+++ b/codec/build/android/dec/jni/Android.mk
@@ -1,9 +1,5 @@
 ## yongzxu: refine mk files for android platform
 
-#To fix the bug that Intel NDK can't creat directory
-$(shell mkdir -p $(TARGET_OBJS)/cpufeatures)
-$(shell mkdir -p $(TARGET_OBJS)/welsdecdemo)
-
 LOCAL_PATH := $(call my-dir)
 MY_LOCAL_PATH := $(LOCAL_PATH)
 
--- a/codec/build/android/enc/jni/Android.mk
+++ b/codec/build/android/enc/jni/Android.mk
@@ -1,9 +1,5 @@
 ## yongzxu: refine mk files for android platform
 
-#To fix the bug that Intel NDK can't creat directory
-$(shell mkdir -p $(TARGET_OBJS)/cpufeatures)
-$(shell mkdir -p $(TARGET_OBJS)/welsdecdemo)
-
 LOCAL_PATH := $(call my-dir)
 MY_LOCAL_PATH := $(LOCAL_PATH)