Dan, Thank you for the suggestion. My company is using Jellybean 4.3 for one branch, but we''re working on moving to Lollipop 5.0. It looks like external.libcxx wasn't added until Lollipop. I doubt you can backport the project and just have it work. It's a shame really that there isn't an easy way to bring updates to the sdk and ndk that Google regularly issues for regular software development into older AOSP branches for use within the AOSP build system. It makes trying to get something to build under both Android Studio/Eclipse and AOSP quite tedious and compromising.
Michael On Friday, June 3, 2016 at 12:44:16 PM UTC-4, Dan Willemsen wrote: > > Which branch are you using? Newer branches (Marshmallow+) use > LOCAL_CXX_STL to chose a STL for non-NDK modules (LOCAL_NDK_STL_VARIANT for > NDK modules). > > In Lollipop, you could include external/libcxx/libcxx.mk for libc++ > > - Dan > > On Fri, Jun 3, 2016 at 8:27 AM Michael Robbeloth <[email protected] > <javascript:>> wrote: > >> Anyone, >> >> I was wondering what is the proper way to include the STL in the >> Android.mk file when building under the AOSP build system and not in the >> NDK. I know about libstlport in external, but it does not include all the >> classes needed in some cases (such as vector or chrono). Thanks. >> >> Michael >> >> -- >> -- >> You received this message because you are subscribed to the "Android >> Building" mailing list. >> To post to this group, send email to [email protected] >> <javascript:> >> To unsubscribe from this group, send email to >> [email protected] <javascript:> >> For more options, visit this group at >> http://groups.google.com/group/android-building?hl=en >> >> --- >> You received this message because you are subscribed to the Google Groups >> "Android Building" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > -- -- You received this message because you are subscribed to the "Android Building" mailing list. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-building?hl=en --- You received this message because you are subscribed to the Google Groups "Android Building" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
