skufog / libyuv

Automatically exported from code.google.com/p/libyuv
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Suggest add LOCAL_EXPORT_C_INCLUDES into Android.mk #184

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Compile libyuv under NDK
2. Include libyuv.h from my project source code
3.

What is the expected output? What do you see instead?

jni/main/video_filter_libyuv.cpp:10:20: fatal error: libyuv.h: No such file or 
directory

video_filter_libyuv.cpp :
#include "libyuv.h"

What version of the product are you using? On what operating system?

r559

Please provide any additional information below.

Suggest add LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/include into Android.mk
That we don't need to specify the path to include libyuv's header files in my 
project's Android.mk
Just need LOCAL_STATIC_LIBRARIES += libyuv_static, it will auto link the .a 
file and add include path into my project

Original issue reported on code.google.com by TimonLio on 6 Feb 2013 at 4:45

GoogleCodeExporter commented 9 years ago
Sounds good
https://webrtc-codereview.appspot.com/1091007

Original comment by fbarch...@chromium.org on 6 Feb 2013 at 5:10

GoogleCodeExporter commented 9 years ago
fixed in r561
Thanks for the suggestion.

Original comment by fbarch...@chromium.org on 6 Feb 2013 at 5:49