Skip to content

Commit

Permalink
Update Dependency Versions (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexw91 authored and Justin Boswell committed Aug 23, 2019
1 parent 4ff7064 commit 77288c7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
10 changes: 5 additions & 5 deletions aws-common-runtime/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ set(AWS_DEPS_BUILD_DIR "${CMAKE_BINARY_DIR}/build" CACHE PATH "Dependencies buil
set(AWS_DEPS_DOWNLOAD_DIR "${AWS_DEPS_BUILD_DIR}/downloads" CACHE PATH "Dependencies download directory.")

set(AWS_C_COMMON_URL "https://github.com/awslabs/aws-c-common.git")
set(AWS_C_COMMON_SHA "v0.4.3")
set(AWS_C_COMMON_SHA "v0.4.5")
include(BuildAwsCCommon)

if (UNIX AND NOT APPLE)
Expand All @@ -25,24 +25,24 @@ if (UNIX AND NOT APPLE)
include(BuildOpenSSL)

set(S2N_URL "https://github.com/awslabs/s2n.git")
set(S2N_SHA "b159c3e1b86509e628638ef185748b253b4c9f35")
set(S2N_SHA "b2f784b883a34eb746a13d79e15c593430ede81b")
include(BuildS2N)
endif()

set(AWS_C_IO_URL "https://github.com/awslabs/aws-c-io.git")
set(AWS_C_IO_SHA "v0.4.4")
set(AWS_C_IO_SHA "v0.4.5")
include(BuildAwsCIO)

set(AWS_C_COMPRESSION_URL "https://github.com/awslabs/aws-c-compression.git")
set(AWS_C_COMPRESSION_SHA "v0.2.2")
include(BuildAwsCCompression)

set(AWS_C_MQTT_URL "https://github.com/awslabs/aws-c-mqtt.git")
set(AWS_C_MQTT_SHA "v0.4.2")
set(AWS_C_MQTT_SHA "v0.4.3")
include(BuildAwsCMqtt)

set(AWS_C_HTTP_URL "https://github.com/awslabs/aws-c-http.git")
set(AWS_C_HTTP_SHA "v0.4.0")
set(AWS_C_HTTP_SHA "v0.4.2")
include(BuildAwsCHttp)

add_dependencies(AwsCCompression AwsCCommon)
Expand Down
4 changes: 0 additions & 4 deletions src/native/crt.c
Original file line number Diff line number Diff line change
Expand Up @@ -242,18 +242,14 @@ static void s_jni_atexit(void) {
// aws_logger_clean_up(&s_logger);
aws_http_library_clean_up();
aws_mqtt_library_clean_up();
aws_tls_clean_up_static_state();
}

/* Called as the entry point, immediately after the shared lib is loaded the first time by JNI */
JNIEXPORT
void JNICALL Java_software_amazon_awssdk_crt_CRT_awsCrtInit(JNIEnv *env, jclass jni_crt_class) {
(void)jni_crt_class;
aws_load_error_strings();
aws_io_load_error_strings();

struct aws_allocator *allocator = aws_jni_get_allocator();
aws_tls_init_static_state(allocator);
aws_mqtt_library_init(allocator);
aws_http_library_init(allocator);

Expand Down

0 comments on commit 77288c7

Please sign in to comment.