diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2022-03-15 16:22:47 +0100 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2022-06-14 02:58:47 +0200 |
commit | 397cb23c6cd7e0cf941fd8292dc97c7b612756fd (patch) | |
tree | 0b6e200aa2c4bd4251d8579a1ca85939e1c72b97 /Android.mk | |
parent | 7ce1371f68c924537431ccc75fba743be53729af (diff) | |
download | hardware_replicant_libsamsung-ipc-397cb23c6cd7e0cf941fd8292dc97c7b612756fd.tar.gz hardware_replicant_libsamsung-ipc-397cb23c6cd7e0cf941fd8292dc97c7b612756fd.tar.bz2 hardware_replicant_libsamsung-ipc-397cb23c6cd7e0cf941fd8292dc97c7b612756fd.zip |
tools: Add tool to send SMS from a provider HTTPS interface
This can then be used during automatic tests, but the downside is that
for now this tool only works with one provider.
The following symbols from (lib)curl (along with their corresponding
minimal (lib)curl version) have been used:
+------------------------+---------------------------+
| curl symbols | minimum (lib)curl version |
+------------------------+---------------------------+
| CURL_HTTP_VERSION_2TLS | 7.47.0 |
| CURLUPART_URL | 7.62.0 |
| CURLUPART_QUERY | 7.62.0 |
| CURLU_URLENCODE | 7.62.0 |
| CURLU_APPENDQUERY | 7.62.0 |
| CURLU | 7.62.0 |
| CURLU_ALLOW_SPACE | 7.78.0 |
+------------------------+---------------------------+
So we need to depend on curl 7.78.0.
And we currently have the following curl version:
+----------------------------+--------------------+------------+
| Distribution | (lib)curl version | Compatible |
+----------------------------+--------------------+------------+
| Replicant 4.2 | Doesn't have curl | No |
| Guix 6b9105e557 | 7.28.1 | No |
| Trisquel 7 x86_64 | 7.35.0-1ubuntu2.20 | No |
| Replicant 6 | 7.43.0 | No |
| Debian stretch x86_64 | 7.52.1-5+deb9u10 | No |
| Replicant 11 | 7.67.0 | No |
| Parabola i686 (07/04/2022) | 7.79.0-3.0 | Yes |
| Guix i686 (07/04/2022) | 7.79.1 | Yes |
+----------------------------+--------------------+------------+
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'Android.mk')
-rw-r--r-- | Android.mk | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -161,6 +161,22 @@ LOCAL_EXPORT_C_INCLUDE_DIRS := $(local_export_c_include_dirs) include $(BUILD_SHARED_LIBRARY) +####################### +# https-send-sms tool # +####################### +include $(CLEAR_VARS) +include $(LOCAL_PATH)/android_versions.mk + +LOCAL_MODULE := https-send-sms +LOCAL_MODULE_TAGS := optional + +LOCAL_SRC_FILES := tools/https-send-sms.c + +LOCAL_C_INCLUDES := $(LOCAL_PATH)/tools/include/glibc +LOCAL_SHARED_LIBRARIES := libcurl + +include $(BUILD_EXECUTABLE) + ################## # ipc-modem tool # ################## |