Commit Graph

31 Commits

Author SHA1 Message Date
Nanang Izzuddin bff4a3f4df
Fix problem in detecting Android STL shared library on msys (#3294)
* Fix problem in detecting Android STL shared library on msys
* Fix build warning when 'ar' creating static lib
2022-11-24 11:35:34 +07:00
Riza Sulistyo 86b6711777
Fix configure error on android NDK r25 (#3200)
* Fix configure error on android NDK r25

* Pass libc++_shared.so path to Makefile (java/csharp)

* Only pass the STD Cpp lib and env var rename
2022-08-05 14:49:15 +07:00
Nanang Izzuddin dfc511df26
Update configure-android for Android NDK 22, folder 'platforms' is now removed, the script needs it to detect latest platform version. (#2739) 2021-06-29 15:00:34 +07:00
Nanang Izzuddin a414fb61f4 Re #2256: Readjusted build configs (after r6120 & r6121) to accomodate the convention that CXXFLAGS always includes CFLAGS in all PJSIP modules.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6122 74dad513-b988-da41-8d7b-12977e46ad98
2019-12-19 11:31:55 +00:00
Nanang Izzuddin 192a6bfc43 Fix #2256: Mini refactored Android configure script:
- added CXXFLAGS & LDFLAGS parsing (from ndk-build output), CXXFLAGS was set to CFLAGS.
 - updated WebRTC instruction set to use SSE2, was generic, for Android emulator (x86 ABI).
 - updated C++ library/STL backend to use c++_shared, somehow '-lc++_static' is ignored after the refactor, also the official NDK docs mentions that c++_static may cause undefined behavior for app with multiple shared libraries (note pjsua2 app may use other shared libraries).



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6120 74dad513-b988-da41-8d7b-12977e46ad98
2019-12-19 02:57:20 +00:00
Sauw Ming 176a668790 Fixed #2208: Change default arch for Android and iOS to 64-bit
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6033 74dad513-b988-da41-8d7b-12977e46ad98
2019-06-21 04:30:42 +00:00
Nanang Izzuddin 4cd8ae3df2 Misc (re #2147): Fixed configure-android script failure to parse NDK version on MacOSX.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6019 74dad513-b988-da41-8d7b-12977e46ad98
2019-05-31 06:08:47 +00:00
Nanang Izzuddin 906b9a6460 Fixed #2177: Updated configure-android script for NDK r17, r18, r19.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5932 74dad513-b988-da41-8d7b-12977e46ad98
2019-02-11 03:43:51 +00:00
Riza Sulistyo 10e3d3a46b Close #2047: Use android ndk binutils when building with --use-ndk-cflags options.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5666 74dad513-b988-da41-8d7b-12977e46ad98
2017-09-29 02:30:23 +00:00
Riza Sulistyo 2cc8271977 Fix #1968: Failure in configure-android when specifying --use-ndk-cflags with
Android NDK r13 or later.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5620 74dad513-b988-da41-8d7b-12977e46ad98
2017-07-05 04:01:33 +00:00
Nanang Izzuddin e4a1091168 Misc (re #1945 and re #1954): Export TARGET_ABI to env var in configure-android script. This var is needed by configure script to generate WebRTC source list for Android when "--use-ndk-cflags" is specified.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5499 74dad513-b988-da41-8d7b-12977e46ad98
2016-12-16 06:22:31 +00:00
Sauw Ming 3469abaa11 Re #1954: Add WebRTC to third party component
* Add build config for GNU build systems



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5428 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-25 01:36:33 +00:00
Riza Sulistyo 528c374870 Re #1950: Check for ndk-build on configure-android.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5413 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-08 10:19:15 +00:00
Sauw Ming 50e392b0e4 Fixed #1950: Failure in configure-android when specifying --use-ndk-cflags with Android NDK r11 or later
* Create our own dummy (empty) Android sample app
* Unspecify the toolchain version and use default instead



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5409 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-05 04:42:48 +00:00
Nanang Izzuddin 304e69f3c7 Misc (re #1928): Updated configure-android to add sysroot setting in CFLAGS and LDFLAGS. This update will also remove linking warning 'cannot find entry symbol _start'.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5389 74dad513-b988-da41-8d7b-12977e46ad98
2016-07-19 07:41:15 +00:00
Sauw Ming 853c2c686a Re #1882 (misc): Fixed configure-android shell script error on Linux
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5213 74dad513-b988-da41-8d7b-12977e46ad98
2015-12-11 03:55:01 +00:00
Nanang Izzuddin 628a5c7bdd Re #1870: Fixed 64 bit arch issues on Android: pool alignment, updated suffix in lib file naming.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5145 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-05 04:26:06 +00:00
Riza Sulistyo c6df008d3f Misc (re #1843): Modify configure-android to support x86_64 and mips64 target.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5126 74dad513-b988-da41-8d7b-12977e46ad98
2015-07-06 07:33:40 +00:00
Sauw Ming 0214c2d053 Re #1823: Related to r4996: Fixed undefined symbol error if video is not enabled. Also modify configure-android to not disable-video by default
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5006 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-20 10:23:30 +00:00
Riza Sulistyo 508fffa3f8 Re #1749: Update configure-android to support intel build.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4828 74dad513-b988-da41-8d7b-12977e46ad98
2014-04-30 02:37:00 +00:00
Sauw Ming f33813f793 Closed #1723: Merging pjsua2 branch into trunk
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4704 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-16 05:30:46 +00:00
Nanang Izzuddin e062d51ea4 Re #1716: Misc fixes/updates on Android app based on pjsua2+SWIG, e.g: fixed java string comparisons, added build config for ndk-build (for native debugging), updates on SVN props.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4697 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-18 11:42:04 +00:00
Nanang Izzuddin 3270796782 Re #1716: Initial implementation of new Android app based on pjsua2+SWIG API.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4691 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-13 09:07:53 +00:00
Sauw Ming 73c6eb3c6e Re #1516: Set AR and RANLIB (thanks to Brian Walker for the patch)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4651 74dad513-b988-da41-8d7b-12977e46ad98
2013-11-13 05:47:56 +00:00
Sauw Ming 868a8cb29a Re #1516: Add feature to ignore certain compilation flags from the --use-ndk-cflags option.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4604 74dad513-b988-da41-8d7b-12977e46ad98
2013-09-30 05:12:29 +00:00
Nanang Izzuddin 638c139ab5 Re #1516: Fixed configure-android in probing toolchain dir (reported that on ndk-r8, there is also 'gdbserver' dir under 'toolchains/arm/prebuilt').
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4599 74dad513-b988-da41-8d7b-12977e46ad98
2013-09-23 08:58:23 +00:00
Sauw Ming ea0ec8ac3b Re #1516: Add support to build for other targets. Example:
TARGET_ABI=armeabi-v7a ./configure-android --use-ndk-cflags



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4594 74dad513-b988-da41-8d7b-12977e46ad98
2013-09-09 05:53:58 +00:00
Sauw Ming 92f430d466 Re #1516: Fixed compatibility problem with configure script on Ubuntu
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/android@4222 74dad513-b988-da41-8d7b-12977e46ad98
2012-08-08 09:06:23 +00:00
Sauw Ming 643d2644d9 Re #1516: Add help info for configure-android, add support for selecting target architecture
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/android@4221 74dad513-b988-da41-8d7b-12977e46ad98
2012-08-07 09:06:10 +00:00
Sauw Ming bb258d8203 Re #1516: Add automatic Android API level detection and option to use ndk-build compilation flags
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/android@4202 74dad513-b988-da41-8d7b-12977e46ad98
2012-07-09 09:02:13 +00:00
Sauw Ming a2752f8522 Re #1516: add configure-android file
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/android@4195 74dad513-b988-da41-8d7b-12977e46ad98
2012-07-03 08:08:25 +00:00