Frank Denis
d39202c16c
Put the browser-js.done marker at the right place
2015-12-29 18:02:24 +01:00
Frank Denis
e7d9129729
Run make distclean, not just make clean in the msys2 build scripts
...
for consistency with other build scripts
2015-12-10 10:26:15 +01:00
Frank Denis
0879c0bd22
Run "make clean" first in the build scripts
2015-12-10 10:24:19 +01:00
Frank Denis
9567be2df1
Revert "Use minimal builds on msys2"
...
This reverts commit cc29da17c3
.
2015-12-09 22:29:41 +01:00
Frank Denis
26535c3d42
Remove browser-js.done or js.done, but not both
2015-12-07 12:50:24 +01:00
Frank Denis
bfa206ed4b
Let emscripten.sh support a --browser-tests switch
2015-12-07 12:38:22 +01:00
Frank Denis
7ada62b1ff
Reduce some test cases, generate html test files
2015-12-07 08:58:35 +01:00
Frank Denis
31b75afb99
Nits
2015-12-07 02:01:39 +01:00
Frank Denis
3d1e11fe81
Support a BROWSER_TESTS env variable to build tests for browsers
2015-12-07 01:44:33 +01:00
Frank Denis
cb1b6a4a2f
Use -O2 & -flto for iOS targets
2015-11-30 00:17:22 +01:00
Frank Denis
bc531c6af5
On OSX, compile with -flto for better performance
2015-11-30 00:08:00 +01:00
Frank Denis
10151cdc8c
Remove extra comma
2015-11-17 11:24:37 +01:00
Frank Denis
23a00c003f
Do not export randombytes_set_implementation() in Javascript
2015-11-17 11:12:40 +01:00
Frank Denis
cc29da17c3
Use minimal builds on msys2
2015-11-11 12:41:41 +01:00
Frank Denis
52fe697e7a
io.js has become node.js
2015-10-19 22:19:54 +02:00
Frank Denis
45df38c8c7
Remove sodium_memcmp() from the list of functions exported to Javascript
2015-10-19 22:15:32 +02:00
Frank Denis
2ec482a3d9
Sadly compile for platform version 16 (Android 4.1)
2015-08-11 07:58:50 +02:00
Frank Denis
fb2a76f37b
Add braces for consistency
2015-08-05 20:00:15 +02:00
Frank Denis
7bce6d82f0
Reindent Android build script
2015-08-05 19:46:36 +02:00
Frank Denis
a934fe072b
Export crypto_onetimeauth to emscripten
2015-08-05 11:41:44 +02:00
Frank Denis
e0ad286258
Remove armv7s from the iOS build script
2015-08-04 13:51:12 +02:00
Frank Denis
a8bd6a397b
Add a nativeclient build script
2015-08-02 14:17:59 +02:00
Frank Denis
67205bc9d4
Emscripten target: don't run the Closure compiler any more.
2015-07-20 16:17:39 +02:00
Frank Denis
e972f0269b
Emscripten: enable NO_DYNAMIC_EXECUTION=1
...
When enabled, we do not emit eval() and new Function(), which disables some functionality
(causing runtime errors if at tempted to be used), but allows the emitted code to be
acceptable in places that disallow dynamic code execution (chrome packaged app, non-
privileged firefox app, etc.)
2015-07-20 15:56:41 +02:00
Frank Denis
34176344fe
iOS: install the library into $PREFIX/lib
2015-07-18 17:44:45 +02:00
Frank Denis
3a74da3345
Add missing Android build scripts to the distfiles
2015-07-12 02:23:59 +02:00
Emiliano Bonassi
8f4ac9c585
Add simple compile scripts for android-mips64 and android-x86_64 (w/o optimizations)
2015-07-12 02:22:04 +02:00
Frank Denis
965eaeac46
Revert "Export sodium_increment() to Emscripten"
...
This reverts commit a8e4115851
.
2015-06-28 15:44:06 +02:00
Frank Denis
a8e4115851
Export sodium_increment() to Emscripten
2015-06-22 17:41:55 +02:00
Jack Wink
b87b3a7ac7
add arm64-v8a support for android builds
2015-06-17 14:05:46 -04:00
Frank Denis
a678c09ea3
Export chacha20poly1305_ietf functions to JavaScript
2015-05-15 10:27:16 +02:00
Frank Denis
c5556527ea
+ simple OSX build script
2015-04-20 12:47:12 +02:00
Frank Denis
ffc98b37b9
Let dist-build/ios.sh compile only for iOS and the iOS emulator.
2015-04-18 18:41:48 +02:00
Frank Denis
a26a126a51
Slightly revamp dist-build/ios.sh
...
- Compile arm32 and arm64 targets separately
- Compile for the iOS simulator
The resulting fat library include arm32, arm64, 32-bit simulator and
64-bit OSX targets.
This is a bit better than what we previously had regarding the simulator,
but still not optimal, as the 64-bit simulator version should also be
included. However, a fat library cannot include both the 64-bit simulator
version and a version for OSX since the architecture is the same.
The proper way to address this is probably to generate two libraries.
This requires some prior changes to Swift-Sodium.
2015-04-18 11:50:27 +02:00
Frank Denis
575ce93058
+ crypto_box_seal()
2015-04-17 01:01:32 +02:00
Frank Denis
adf636f5db
Android: Use app platform 21
2015-03-10 15:08:44 +01:00
Frank Denis
4723c3d37d
Remove useless comment
2015-02-08 17:07:26 +01:00
Frank Denis
b15819fa60
Spacing
2015-02-08 17:04:15 +01:00
Frank Denis
2d3c61b3f2
armv7 -> armv7-a
2015-02-08 17:03:38 +01:00
Frank Denis
aeb26be748
Android: Use app platform 18
2015-02-08 11:30:03 +01:00
Frank Denis
53a5914a4c
android-mips -> android-mips32
2015-02-08 10:42:27 +01:00
Frank Denis
0022a42f5a
Don't build arm and armv7 android targets in the same directory
2015-02-08 10:34:39 +01:00
Frank Denis
046df856fa
Revert "Disable PIE on Android"
...
This reverts commit cdf863c731
.
2015-02-08 10:26:11 +01:00
mosin
4d5863a6cc
android ndk requires arch to be arm not armv7
...
In the android-build.sh script, the call the ${ANDROID_NDK_HOME}/build/tools/make-standalone-toolchain.sh passes TARGET_ARCH as armv7 where as around line 117 of make-standalone-toolchain.sh requires ARCH to be {arm,x86,mips,arm64,x86_64,mips64}
2015-02-07 09:31:49 -05:00
Frank Denis
cdf863c731
Disable PIE on Android
2015-01-31 12:31:08 +01:00
Frank Denis
0938b7cf9a
Export _crypto_generichash_statebytes()
2015-01-24 11:30:05 +01:00
Frank Denis
dd5224791b
Re-add filesystem support for the library
2015-01-18 00:59:59 +01:00
Frank Denis
00f8156457
Do not hardcode the node binary
2015-01-18 00:52:14 +01:00
Frank Denis
98c96f4c99
No browser, no filesystem support required
2015-01-18 00:42:34 +01:00
Frank Denis
e7f410de10
Emscripten: don't use a memory init file any more.
...
It doesn't take that long to load the module, and it's going to make
users' life way easier.
2015-01-17 22:11:10 +01:00