Displaying 5 results from an estimated 5 matches for "local_cflag".
Did you mean:
local_cflags
2016 Feb 18
0
Use opus-tools on Android
Hello. I'm trying to use opus-tools on Android to encode wav data but I couldn't build it. I need to resample my raw data so opusenc does its job. Is it possible to use opus-tools on Android? OPUS is the first citizen in my app but not sure which flags I need to add to build this.
LOCAL_CFLAGS := -w -std=gnu99 -O2 -DNULL=0 -DSOCKLEN_T=socklen_t -DLOCALE_NOT_USED -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64
LOCAL_CFLAGS += -Drestrict='' -D__EMX__ -DOPUS_BUILD -DFIXED_POINT -DUSE_ALLOCA -DHAVE_LRINT -DHAVE_LRINTF -fno-math-errno
LOCAL_CFLAGS += -DANDROID_NDK -DDISABLE_IMPORTG...
2014 Jul 18
2
[LLVMdev] Running an LLVM pass during an android compile
We have developed and tested an optimization pass using LLVM, and have been able to build other software such as gzip while running our pass by passing "clang" and "-Xclang -load -Xclang <path to .so>" as configure options. Now we would like to try and build android while running our pass only on certain files. It seems that android has its own version of LLVM built into
2013 Jun 04
0
[LLVMdev] Address Sanitizer on Android
...;djpeg' on JellyBean, ASan reports the error message below.
>
> ==28210==Shadow memory range interleaves with an existing memory
> mapping. ASan cannot proceed correctly. ABORTING.
Got figured out. I needed to use TARGET_LDFLAGS. LOCAL_LDFLAGS seems
to be ignored in my clang build.
LOCAL_CFLAGS += -fsanitize=address
TARGET_LDFLAGS +=-fsanitize=address -target arm-linux-androideabi
And once doing that, I also needed to build against Android API 8 or later:
$ ndk-build V=1 NDK_TOOLCHAIN_VERSION=clang3.3 APP_PLATFORM=android-8
-Greg
On Tue, Jun 4, 2013 at 11:21 AM, Greg Fitzgerald <g...
2013 Jun 04
2
[LLVMdev] Address Sanitizer on Android
I have simple standalone ASan examples working on Android, and now I'd
like to try using ASan with the Android build system. I'm building
the release_33 branch of llvm+clang+compiler-rt with CMake. To test,
I'm looking at libjpg, because with just a small change its Android.mk
it compiles in a few seconds and without needing any additional
dependencies.
When I run 'djpeg' on
2019 May 07
0
dlopen failed: cannot locate symbol "opus_projection_encoder_ctl" referenced by "libopusenc.so"
...==============
include $(CLEAR_VARS)
LOCAL_MODULE := libmynative_jni
CPP_FILES := \
src/ogg_opus_jni_OGGEncoderJNIImpl.cpp \
src/ogg_opus_jni_OGGDecoderJNIImpl.cpp
LOCAL_SRC_FILES := $(CPP_FILES:$(LOCAL_PATH)/%=%)
LOCAL_C_INCLUDES := $(LOCAL_PATH)/opus
LOCAL_CFLAGS := -Wno-gnu-designator -Wformat=0
LOCAL_CPPFLAGS += -std=c++11 -Wformat=0
LOCAL_LDFLAGS := -llog
LOCAL_SHARED_LIBRARIES := libopus libopusenc
LOCAL_ASSET_DIR := $(LOCAL_PATH)/assets
include $(BUILD_SHARED_LIBRARY)
-------------- next part --------------
An HTML...