hertzg / gyp

Automatically exported from code.google.com/p/gyp
0 stars 0 forks source link

Generate settings for android PREBUILT_STATIC_LIBRARY #467

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
It seems the supported way for including precompiled static libraries with 
android ndk tools is to create a section like: 

include $(CLEAR_VARS)
LOCAL_MODULE    := boost_system
LOCAL_SRC_FILES := lib/android/armeabi-v7a/libboost_system.a
include $(PREBUILT_STATIC_LIBRARY)

and then adding the declared module to LOCAL_STATIC_LIBRARIES 

This appears to not be possible to define with the android generator (from a 
quick look at the code it does not contain any occurrence of 
PREBUILT_STATIC_LIBRARY)

Or is there a different way to handle this case with gyp at the moment?

Original issue reported on code.google.com by hannes.j...@googlemail.com on 7 Nov 2014 at 12:00