heck
43b1d3ea27
Test: update regression test for trustword related API cahnge.
2 years ago
heck
11be1efc25
pEpEngine=v3.2.0-RC20
libpEpAdapter=v3.2.0-RC01
2 years ago
heck
f50e81aab5
Remove macro LOGD
This is an ancient leftover that has been replaced by pEpLog
2 years ago
heck
8ff6da985a
Remove redundant from_identity() function
redundancy is the source of all evil
2 years ago
heck
3024ecf4f5
FIX: crash on import_key() due to uninitialized out param
Actually an engine bug, but apply defensive style anyways.
2 years ago
heck
e9d3c41378
Removed: get_trustwords_for_fpr()
API spec:
mandatory: get_trustwords()
optional: get_message_trustwords()
3 years ago
heck
de522323f9
fix: status code generation - ingnore #define lines.
3 years ago
heck
e6e3ba1801
Build: use same optimization level in debug and release build
3 years ago
heck
14b7a9c5fe
Build: update DEPENDENCIES
pEpEngine=v3.2.0-RC12
libpEpAdapter=v3.2.0-RC0
libpEpCxx11=v3.2.0-RC0
3 years ago
heck
d16f007aa8
Merge pull request 'PEMA-103 Compiling engine v3 for android.' ( #25 ) from TSaschabc/pEpJNIAdapter:PEMA-103-hotfix into master
Reviewed-on: https://gitea.pep.foundation/pEp.foundation/pEpJNIAdapter/pulls/25
3 years ago
Sascha Bacardit
0359fb50cf
PEMA-103 Deleted unused file
Cargo.toml.tmp was used to replace the cargo.toml inside of pEpEngineSequoiaBackend, as the entire lib has been updated to generate the proper libraries, this is no longer necessary.
3 years ago
Sascha Bacardit
70ae9c7d8a
PEMA-103 Updated Makefiles
Updated Makefile.conf to get the correct version of SequoiaBackend.
Removed hacky Cargo.toml replacement and changing 1.48 to 1.60 on rust toolchain.
3 years ago
Sascha Bacardit
2fffb966d5
PEMA-103
Fixed small typo, while 1.60.0 vs 1.60 shouldn't change anything, this is mostly for the sake of completionism and clean code.
3 years ago
Sascha Bacardit
a191ea2986
PEMA-103
Fixed Cargo's compile arguments, added crate commands to create a .so, will review them later to see if I require "lib".
Commented the compile only for device arch as it is slightly buggy on emulator.
3 years ago
Sascha Bacardit
5ba924dab2
PEMA-103
Added Cargo.toml, mostly to generate a static lib so we don't have to link.
Moved libuuid to static lib as it should be.
TODO: Update MakefileTemplate to reflect these changes.
3 years ago
ignaciogarcia
0f147bbb4c
PEMA-103 Blocked with uuid static library building
3 years ago
ignaciogarcia
ed72e2a29e
PEMA-103 Make engine depend on transport
holly mess
3 years ago
ignaciogarcia
c85ccd25bb
PEMA-103 WIP
3 years ago
ignaciogarcia
cbaf3bc70a
PEMA-103 Workaround to find asn.1 headers
3 years ago
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