Upgrade the underlying NFD to version 0.5.0
Change-Id: I61eb240cb982eb5e675a63aece0c373290c59129
Refs: #3839
diff --git a/app/src/main/jni/ndn-cxx.mk b/app/src/main/jni/ndn-cxx.mk
index 34f2302..d467bac 100644
--- a/app/src/main/jni/ndn-cxx.mk
+++ b/app/src/main/jni/ndn-cxx.mk
@@ -4,12 +4,13 @@
include $(CLEAR_VARS)
LOCAL_MODULE := ndn-cxx
NDN_CXX_BOOST_LIBS = system filesystem date_time iostreams program_options chrono random
-LOCAL_SHARED_LIBRARIES := cryptopp_shared $(addsuffix _shared,$(addprefix boost_,$(NDN_CXX_BOOST_LIBS)))
+LOCAL_SHARED_LIBRARIES := cryptopp_shared opencrypto_shared openssl_shared $(addsuffix _shared,$(addprefix boost_,$(NDN_CXX_BOOST_LIBS)))
LOCAL_STATIC_LIBRARIES := sqlite3_static boost_regex_static
NDN_CXX_SRC_FILES := \
data.cpp \
- encoding/block.cpp \
encoding/block-helpers.cpp \
+ encoding/block.cpp \
+ encoding/buffer-stream.cpp \
encoding/buffer.cpp \
encoding/cryptopp/asn_ext.cpp \
encoding/encoder.cpp \
@@ -27,33 +28,30 @@
lp/nack-header.cpp \
lp/nack.cpp \
lp/packet.cpp \
- lp/tags.cpp \
- management/nfd-channel-status.cpp \
- management/nfd-command-options.cpp \
- management/nfd-control-command.cpp \
- management/nfd-control-parameters.cpp \
- management/nfd-controller.cpp \
- management/nfd-face-event-notification.cpp \
- management/nfd-face-query-filter.cpp \
- management/nfd-face-status.cpp \
- management/nfd-fib-entry.cpp \
- management/nfd-forwarder-status.cpp \
- management/nfd-rib-entry.cpp \
- management/nfd-strategy-choice.cpp \
meta-info.cpp \
mgmt/control-response.cpp \
mgmt/dispatcher.cpp \
+ mgmt/nfd/channel-status.cpp \
+ mgmt/nfd/command-options.cpp \
+ mgmt/nfd/control-command.cpp \
+ mgmt/nfd/control-parameters.cpp \
+ mgmt/nfd/controller.cpp \
+ mgmt/nfd/face-event-notification.cpp \
+ mgmt/nfd/face-query-filter.cpp \
+ mgmt/nfd/face-status.cpp \
+ mgmt/nfd/fib-entry.cpp \
+ mgmt/nfd/forwarder-status.cpp \
+ mgmt/nfd/rib-entry.cpp \
+ mgmt/nfd/status-dataset.cpp \
+ mgmt/nfd/strategy-choice.cpp \
mgmt/status-dataset-context.cpp \
name-component.cpp \
name.cpp \
- security/additional-description.cpp \
security/certificate-cache-ttl.cpp \
security/certificate-container.cpp \
- security/certificate-extension.cpp \
- security/certificate-subject-description.cpp \
- security/certificate.cpp \
+ security/command-interest-validator.cpp \
+ security/detail/openssl-helper.cpp \
security/digest-sha256.cpp \
- security/identity-certificate.cpp \
security/identity-container.cpp \
security/identity.cpp \
security/key-chain.cpp \
@@ -63,7 +61,7 @@
security/pib-memory.cpp \
security/pib-sqlite3.cpp \
security/pib.cpp \
- security/public-key.cpp \
+ security/safe-bag.cpp \
security/sec-public-info-sqlite3.cpp \
security/sec-public-info.cpp \
security/sec-rule-relative.cpp \
@@ -71,10 +69,35 @@
security/sec-tpm-file.cpp \
security/sec-tpm.cpp \
security/secured-bag.cpp \
+ security/security-common.cpp \
security/signature-sha256-with-ecdsa.cpp \
security/signature-sha256-with-rsa.cpp \
security/signing-helpers.cpp \
security/signing-info.cpp \
+ security/transform/base64-decode.cpp \
+ security/transform/base64-encode.cpp \
+ security/transform/block-cipher.cpp \
+ security/transform/bool-sink.cpp \
+ security/transform/buffer-source.cpp \
+ security/transform/digest-filter.cpp \
+ security/transform/hex-decode.cpp \
+ security/transform/hex-encode.cpp \
+ security/transform/hmac-filter.cpp \
+ security/transform/private-key.cpp \
+ security/transform/public-key.cpp \
+ security/transform/signer-filter.cpp \
+ security/transform/step-source.cpp \
+ security/transform/stream-sink.cpp \
+ security/transform/stream-source.cpp \
+ security/transform/strip-space.cpp \
+ security/transform/transform-base.cpp \
+ security/transform/verifier-filter.cpp \
+ security/v1/certificate-extension.cpp \
+ security/v1/certificate-subject-description.cpp \
+ security/v1/certificate.cpp \
+ security/v1/identity-certificate.cpp \
+ security/v1/public-key.cpp \
+ security/v2/additional-description.cpp \
security/validator-config.cpp \
security/validator-regex.cpp \
security/validator.cpp \
@@ -83,6 +106,7 @@
signature-info.cpp \
signature.cpp \
transport/tcp-transport.cpp \
+ transport/transport.cpp \
transport/unix-transport.cpp \
util/config-file.cpp \
util/crypto.cpp \
@@ -98,6 +122,7 @@
util/in-memory-storage-persistent.cpp \
util/in-memory-storage.cpp \
util/indented-stream.cpp \
+ util/io.cpp \
util/network-monitor.cpp \
util/random.cpp \
util/regex/regex-top-matcher.cpp \
@@ -109,13 +134,17 @@
util/sqlite3-statement.cpp \
util/string-helper.cpp \
util/time-unit-test-clock.cpp \
- util/time.cpp
+ util/time.cpp \
+ ../../ndn-cxx-android/ndn-cxx-custom-logger.cpp \
+ ../../ndn-cxx-android/ndn-cxx-custom-logging.cpp
LOCAL_SRC_FILES := $(addprefix ndn-cxx/src/,$(NDN_CXX_SRC_FILES))
LOCAL_CPPFLAGS := -I$(LOCAL_PATH)/ndn-cxx/src -I$(LOCAL_PATH)/ndn-cxx-android -I$(LOCAL_PATH)/../../../build/generated/source/ndn-cxx
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/ndn-cxx-android $(LOCAL_PATH)/../../../build/generated/source/include
+LOCAL_LDLIBS := -llog
include $(BUILD_SHARED_LIBRARY)
include $(LOCAL_PATH_SAVED)/cryptopp/extras/jni/Android.mk
$(call import-module,boost/1.59.0)
$(call import-module,sqlite/3)
+$(call import-module,openssl/1.0.2h)