ignaciogarcia
c022bf6ae8
PEMA-103 First approach to use libpEpCxx11
3 years ago
ignaciogarcia
3c1d5f5e34
PEMA-103 Change from libsequoia_openpgp_ffi to libpep_engine_sequoia_backend
3 years ago
ignaciogarcia
a03bb845cb
PEMA-103 Change sync to codegen as sources were moved
3 years ago
ignaciogarcia
1b0c5dffa0
PEMA-103 Replace sequoia with pEpEngineSequoiaBackend
3 years ago
ignaciogarcia
189514a507
PEMA-107 Add Makefile help and colors
Ignore errors in non-essential recipes.
3 years ago
ignaciogarcia
25bd32e8fd
PEMA-107 Remove downloads.stamp dependency from makefile creation
3 years ago
ignaciogarcia
7ccf3a97c5
PEMA-107 Compile for only connected devices if running from IDE
3 years ago
ignaciogarcia
f20dd609a9
PEMA-107 Only run buildExternal for connected devices
3 years ago
ignaciogarcia
bf3efb9400
PEMA-107 Add convenience methods to refresh makefiles in-place
Declare phony targets
3 years ago
ignaciogarcia
c9bd25ac39
PEMA-107 Do not use phony targets as prerequisites
If we do that, the rule will always run. Instead we need to use real files as prerequisites.
Reference: https://www.gnu.org/software/make/manual/make.html#Phony-Targets :
"A phony target should not be a prerequisite of a real target file; if it is, its recipe will be run every time make goes to update that file."
3 years ago
ignaciogarcia
7a3df224e6
PEMA-107 Add argument to ndk to prevent "bad file descriptor"
Reference: https://jira.appcelerator.org/plugins/servlet/mobile#issue/TIMOB-27776
3 years ago
ignaciogarcia
a139f6e75c
PEMA-107 Allow to modify abis to build for in build.gradle
3 years ago
ignaciogarcia
b36dc2002e
PEMA-107 Allow to pass abi(s) to build for as parameter
3 years ago
ignaciogarcia
b430f7369b
PEMA-107 Improve showsetup clarity
3 years ago
ignaciogarcia
5573f86809
PEMA-107 Add PerArchMakefile.conf
This file is meant to hold common variables for *only* architectures' Makefiles.
Organize Makefile.conf.
3 years ago
ignaciogarcia
abdaba628e
PEMA-107 Remove duplicate ANDROID_API variable
3 years ago
ignaciogarcia
a54a339e03
PEMA-107 Move common variables to Makefile.conf
Done so that we do not need to repeat much generated code.
3 years ago
ignaciogarcia
604d46a21a
PEMA-107 Add some convenient methods in external/Makefile
3 years ago
ignaciogarcia
786d6f9c01
PEMA-107 Use uuid-prebuild instead of uuid-install
Done since uuid-install is not used anywhere, instead we just copy uuid.h file to external/output/arch/include.
3 years ago
ignaciogarcia
2bd70c9b44
PEMA-107 Move some code to Makefile.conf and createMakefile.sh
3 years ago
ignaciogarcia
1b8c820ab0
PEMA-107 Replace sed tag for real variable
3 years ago
ignaciogarcia
a3feba18a9
PEMA-107 Make all -src targets work with a pattern
3 years ago
ignaciogarcia
67f50f311e
PEMA-107 Make all -clean targets work with a pattern (except sequoia-ffi)
3 years ago
ignaciogarcia
0544920675
PEMA-107 Use toolchains installed by default with the NDK
Change binutils tools prefix for arm architecture.
Slightly improve script formatting.
3 years ago
ignaciogarcia
398e3a20c5
PEMA-107 Remove unused files
3 years ago
ignaciogarcia
09455331ad
PEMA-107 Add clean as prerequisite for clean-all
3 years ago
ignaciogarcia
6d444d36fc
PEMA-107 Modify external/Makefile to generate and delete Makefiles
3 years ago
ignaciogarcia
1b4f2976ba
PEMA-107 Add script to generate a Makefile for an arch
3 years ago
ignaciogarcia
523eb83013
PEMA-107 Create template with common parts for Makefiles
3 years ago
ignaciogarcia
5d36649306
PEMA-107 Make sure we remove the untared source afterwards
3 years ago
ignaciogarcia
048bb5dc15
PEMA-107 Move uuid patch application to downloads Makefile
3 years ago
ignaciogarcia
3d328f51d9
PEMA-107 Move nettle patches application to downloads Makefile
3 years ago
ignaciogarcia
698eaca581
PEMA-58 Update targetSdkVersion and compileSdkVersion to 31
3 years ago
Sascha Bacardit
009c20f919
Compile changes
Using assorted changes gotten from Huss we've managed to make it work with a few caveats:
-You need to open android studio via the terminal
-Certain libraries (OpenSSL) needed to be updated
-Rust Tool Chain has to be updated
-New NDK is 25, which changes and removes certain things from the per-architecture make files to the general make file (LD, AR, AS, RANLIB, STRIP)
3 years ago
Luca Saiu
689f07ae81
change version number in build.gradle, for the next release
3 years ago
Hussein Kasem
faecdc7354
JNI-177 Maintenance: Update outdated version name to next version
3 years ago
Hussein Kasem
6496b499fe
JNI-177 Maintenance: Move from jcenter(deprecated) to mavenCentral repository
3 years ago
Hussein Kasem
143b8eafa0
JNI-177 Update libetpan to use autoconf and build for current arch
This saves time and space but also requires to drop support for Android <21 (5.0), its fine as now a days android 22 is like 98% of market.
3 years ago
Hussein Kasem
7e24b3fd59
JNI-177 Update outdated engine version
3 years ago
Hussein Kasem
ea179e14dc
JNI-177 Stop using NDK Standalone toolchains.
3 years ago
Hussein Kasem
dba1a16f82
Android build: Use sequoia patch release v1.3.1
Make android build use sequoia v1.3.1 instead of 1.3.0 which just includes:
- Fixed a crash resulting from unconstrained, attacker-controlled heap allocations.
4 years ago
Hussein Kasem
94c2f4626f
Android build: Use libetpan foundation gitea instead of github
4 years ago
Hussein Kasem
f31ea6e5e3
Android build: Update sequoia to 1.3.0 and get rid of cargo experimental for the build.
4 years ago
Hussein Kasem
2f715f9f88
Android build: Move from 3.7.3 patch to 3.7.3 release
4 years ago
Hussein Kasem
92b6dc1bd3
Android build: Apply nettle 3.7.3 patch
4 years ago
Hussein Kasem
c2ffa0932f
Android build: Update engine version on AndroidHelper.java
4 years ago
Hussein Kasem
6ec17e8a62
Android build: update sequoia version to openpgp/v1.1
4 years ago
Hussein Kasem
16ded797b7
Android build: Remove sequoia build files on make clean-all
4 years ago
Hussein Kasem
89a2d93214
Android build: Add external .gitignore file
4 years ago
Hussein Kasem
435f03de5f
Android: Remove GnuPG implementation leftovers
4 years ago