Alexander Afanasyev | 087c7c1 | 2015-02-02 00:21:21 -0800 | [diff] [blame] | 1 | LOCAL_PATH := $(call my-dir) |
| 2 | LOCAL_PATH_SAVED := $(LOCAL_PATH) |
| 3 | |
| 4 | include $(CLEAR_VARS) |
| 5 | LOCAL_MODULE := ndn-cxx |
Ivan Yeo | db0052d | 2015-02-08 17:27:04 -0800 | [diff] [blame] | 6 | NDN_CXX_BOOST_LIBS = system filesystem date_time iostreams program_options chrono random |
Alexander Afanasyev | a8d404b | 2016-11-05 10:07:08 -0600 | [diff] [blame] | 7 | LOCAL_SHARED_LIBRARIES := cryptopp_shared opencrypto_shared openssl_shared $(addsuffix _shared,$(addprefix boost_,$(NDN_CXX_BOOST_LIBS))) |
Alexander Afanasyev | 6ce3543 | 2015-12-02 18:48:59 -0800 | [diff] [blame] | 8 | LOCAL_STATIC_LIBRARIES := sqlite3_static boost_regex_static |
Alexander Afanasyev | 216df01 | 2015-02-10 17:35:46 -0800 | [diff] [blame] | 9 | NDN_CXX_SRC_FILES := \ |
| 10 | data.cpp \ |
Alexander Afanasyev | aacd65b | 2015-09-04 14:07:07 -0700 | [diff] [blame] | 11 | encoding/block-helpers.cpp \ |
Alexander Afanasyev | a8d404b | 2016-11-05 10:07:08 -0600 | [diff] [blame] | 12 | encoding/block.cpp \ |
| 13 | encoding/buffer-stream.cpp \ |
Alexander Afanasyev | 216df01 | 2015-02-10 17:35:46 -0800 | [diff] [blame] | 14 | encoding/buffer.cpp \ |
| 15 | encoding/cryptopp/asn_ext.cpp \ |
| 16 | encoding/encoder.cpp \ |
| 17 | encoding/estimator.cpp \ |
| 18 | encoding/nfd-constants.cpp \ |
| 19 | encoding/oid.cpp \ |
| 20 | exclude.cpp \ |
| 21 | face.cpp \ |
| 22 | interest-filter.cpp \ |
| 23 | interest.cpp \ |
| 24 | key-locator.cpp \ |
Alexander Afanasyev | aacd65b | 2015-09-04 14:07:07 -0700 | [diff] [blame] | 25 | link.cpp \ |
| 26 | lp/cache-policy.cpp \ |
| 27 | lp/detail/field-info.cpp \ |
| 28 | lp/nack-header.cpp \ |
| 29 | lp/nack.cpp \ |
| 30 | lp/packet.cpp \ |
Alexander Afanasyev | 216df01 | 2015-02-10 17:35:46 -0800 | [diff] [blame] | 31 | meta-info.cpp \ |
Alexander Afanasyev | aacd65b | 2015-09-04 14:07:07 -0700 | [diff] [blame] | 32 | mgmt/control-response.cpp \ |
| 33 | mgmt/dispatcher.cpp \ |
Alexander Afanasyev | a8d404b | 2016-11-05 10:07:08 -0600 | [diff] [blame] | 34 | mgmt/nfd/channel-status.cpp \ |
| 35 | mgmt/nfd/command-options.cpp \ |
| 36 | mgmt/nfd/control-command.cpp \ |
| 37 | mgmt/nfd/control-parameters.cpp \ |
| 38 | mgmt/nfd/controller.cpp \ |
| 39 | mgmt/nfd/face-event-notification.cpp \ |
| 40 | mgmt/nfd/face-query-filter.cpp \ |
| 41 | mgmt/nfd/face-status.cpp \ |
| 42 | mgmt/nfd/fib-entry.cpp \ |
| 43 | mgmt/nfd/forwarder-status.cpp \ |
| 44 | mgmt/nfd/rib-entry.cpp \ |
| 45 | mgmt/nfd/status-dataset.cpp \ |
| 46 | mgmt/nfd/strategy-choice.cpp \ |
Alexander Afanasyev | aacd65b | 2015-09-04 14:07:07 -0700 | [diff] [blame] | 47 | mgmt/status-dataset-context.cpp \ |
Alexander Afanasyev | 216df01 | 2015-02-10 17:35:46 -0800 | [diff] [blame] | 48 | name-component.cpp \ |
| 49 | name.cpp \ |
| 50 | security/certificate-cache-ttl.cpp \ |
Alexander Afanasyev | aacd65b | 2015-09-04 14:07:07 -0700 | [diff] [blame] | 51 | security/certificate-container.cpp \ |
Alexander Afanasyev | a8d404b | 2016-11-05 10:07:08 -0600 | [diff] [blame] | 52 | security/command-interest-validator.cpp \ |
| 53 | security/detail/openssl-helper.cpp \ |
Alexander Afanasyev | 216df01 | 2015-02-10 17:35:46 -0800 | [diff] [blame] | 54 | security/digest-sha256.cpp \ |
Alexander Afanasyev | aacd65b | 2015-09-04 14:07:07 -0700 | [diff] [blame] | 55 | security/identity-container.cpp \ |
| 56 | security/identity.cpp \ |
Alexander Afanasyev | 216df01 | 2015-02-10 17:35:46 -0800 | [diff] [blame] | 57 | security/key-chain.cpp \ |
Alexander Afanasyev | aacd65b | 2015-09-04 14:07:07 -0700 | [diff] [blame] | 58 | security/key-container.cpp \ |
Alexander Afanasyev | 216df01 | 2015-02-10 17:35:46 -0800 | [diff] [blame] | 59 | security/key-params.cpp \ |
Alexander Afanasyev | aacd65b | 2015-09-04 14:07:07 -0700 | [diff] [blame] | 60 | security/key.cpp \ |
| 61 | security/pib-memory.cpp \ |
| 62 | security/pib-sqlite3.cpp \ |
| 63 | security/pib.cpp \ |
Alexander Afanasyev | a8d404b | 2016-11-05 10:07:08 -0600 | [diff] [blame] | 64 | security/safe-bag.cpp \ |
Alexander Afanasyev | 216df01 | 2015-02-10 17:35:46 -0800 | [diff] [blame] | 65 | security/sec-public-info-sqlite3.cpp \ |
| 66 | security/sec-public-info.cpp \ |
| 67 | security/sec-rule-relative.cpp \ |
| 68 | security/sec-rule-specific.cpp \ |
| 69 | security/sec-tpm-file.cpp \ |
| 70 | security/sec-tpm.cpp \ |
| 71 | security/secured-bag.cpp \ |
Alexander Afanasyev | a8d404b | 2016-11-05 10:07:08 -0600 | [diff] [blame] | 72 | security/security-common.cpp \ |
Alexander Afanasyev | 216df01 | 2015-02-10 17:35:46 -0800 | [diff] [blame] | 73 | security/signature-sha256-with-ecdsa.cpp \ |
| 74 | security/signature-sha256-with-rsa.cpp \ |
Alexander Afanasyev | aacd65b | 2015-09-04 14:07:07 -0700 | [diff] [blame] | 75 | security/signing-helpers.cpp \ |
| 76 | security/signing-info.cpp \ |
Alexander Afanasyev | a8d404b | 2016-11-05 10:07:08 -0600 | [diff] [blame] | 77 | security/transform/base64-decode.cpp \ |
| 78 | security/transform/base64-encode.cpp \ |
| 79 | security/transform/block-cipher.cpp \ |
| 80 | security/transform/bool-sink.cpp \ |
| 81 | security/transform/buffer-source.cpp \ |
| 82 | security/transform/digest-filter.cpp \ |
| 83 | security/transform/hex-decode.cpp \ |
| 84 | security/transform/hex-encode.cpp \ |
| 85 | security/transform/hmac-filter.cpp \ |
| 86 | security/transform/private-key.cpp \ |
| 87 | security/transform/public-key.cpp \ |
| 88 | security/transform/signer-filter.cpp \ |
| 89 | security/transform/step-source.cpp \ |
| 90 | security/transform/stream-sink.cpp \ |
| 91 | security/transform/stream-source.cpp \ |
| 92 | security/transform/strip-space.cpp \ |
| 93 | security/transform/transform-base.cpp \ |
| 94 | security/transform/verifier-filter.cpp \ |
| 95 | security/v1/certificate-extension.cpp \ |
| 96 | security/v1/certificate-subject-description.cpp \ |
| 97 | security/v1/certificate.cpp \ |
| 98 | security/v1/identity-certificate.cpp \ |
| 99 | security/v1/public-key.cpp \ |
| 100 | security/v2/additional-description.cpp \ |
Alexander Afanasyev | 216df01 | 2015-02-10 17:35:46 -0800 | [diff] [blame] | 101 | security/validator-config.cpp \ |
| 102 | security/validator-regex.cpp \ |
| 103 | security/validator.cpp \ |
Alexander Afanasyev | aacd65b | 2015-09-04 14:07:07 -0700 | [diff] [blame] | 104 | security/validity-period.cpp \ |
Alexander Afanasyev | 216df01 | 2015-02-10 17:35:46 -0800 | [diff] [blame] | 105 | selectors.cpp \ |
| 106 | signature-info.cpp \ |
| 107 | signature.cpp \ |
| 108 | transport/tcp-transport.cpp \ |
Alexander Afanasyev | a8d404b | 2016-11-05 10:07:08 -0600 | [diff] [blame] | 109 | transport/transport.cpp \ |
Alexander Afanasyev | 216df01 | 2015-02-10 17:35:46 -0800 | [diff] [blame] | 110 | transport/unix-transport.cpp \ |
| 111 | util/config-file.cpp \ |
| 112 | util/crypto.cpp \ |
| 113 | util/digest.cpp \ |
| 114 | util/dns.cpp \ |
| 115 | util/dummy-client-face.cpp \ |
| 116 | util/ethernet.cpp \ |
| 117 | util/face-uri.cpp \ |
| 118 | util/in-memory-storage-entry.cpp \ |
| 119 | util/in-memory-storage-fifo.cpp \ |
| 120 | util/in-memory-storage-lfu.cpp \ |
| 121 | util/in-memory-storage-lru.cpp \ |
| 122 | util/in-memory-storage-persistent.cpp \ |
| 123 | util/in-memory-storage.cpp \ |
| 124 | util/indented-stream.cpp \ |
Alexander Afanasyev | a8d404b | 2016-11-05 10:07:08 -0600 | [diff] [blame] | 125 | util/io.cpp \ |
Alexander Afanasyev | 216df01 | 2015-02-10 17:35:46 -0800 | [diff] [blame] | 126 | util/network-monitor.cpp \ |
| 127 | util/random.cpp \ |
| 128 | util/regex/regex-top-matcher.cpp \ |
| 129 | util/scheduler-scoped-event-id.cpp \ |
| 130 | util/scheduler.cpp \ |
| 131 | util/segment-fetcher.cpp \ |
| 132 | util/signal-connection.cpp \ |
| 133 | util/signal-scoped-connection.cpp \ |
Alexander Afanasyev | aacd65b | 2015-09-04 14:07:07 -0700 | [diff] [blame] | 134 | util/sqlite3-statement.cpp \ |
| 135 | util/string-helper.cpp \ |
Alexander Afanasyev | 216df01 | 2015-02-10 17:35:46 -0800 | [diff] [blame] | 136 | util/time-unit-test-clock.cpp \ |
Alexander Afanasyev | a8d404b | 2016-11-05 10:07:08 -0600 | [diff] [blame] | 137 | util/time.cpp \ |
| 138 | ../../ndn-cxx-android/ndn-cxx-custom-logger.cpp \ |
| 139 | ../../ndn-cxx-android/ndn-cxx-custom-logging.cpp |
Alexander Afanasyev | 087c7c1 | 2015-02-02 00:21:21 -0800 | [diff] [blame] | 140 | LOCAL_SRC_FILES := $(addprefix ndn-cxx/src/,$(NDN_CXX_SRC_FILES)) |
Alexander Afanasyev | 9388694 | 2016-02-09 16:00:24 -0800 | [diff] [blame] | 141 | LOCAL_CPPFLAGS := -I$(LOCAL_PATH)/ndn-cxx/src -I$(LOCAL_PATH)/ndn-cxx-android -I$(LOCAL_PATH)/../../../build/generated/source/ndn-cxx |
| 142 | LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/ndn-cxx-android $(LOCAL_PATH)/../../../build/generated/source/include |
Alexander Afanasyev | a8d404b | 2016-11-05 10:07:08 -0600 | [diff] [blame] | 143 | LOCAL_LDLIBS := -llog |
Alexander Afanasyev | 087c7c1 | 2015-02-02 00:21:21 -0800 | [diff] [blame] | 144 | include $(BUILD_SHARED_LIBRARY) |
| 145 | |
Alexander Afanasyev | f381256 | 2016-01-21 16:28:33 -0800 | [diff] [blame] | 146 | include $(LOCAL_PATH_SAVED)/cryptopp/extras/jni/Android.mk |
Alexander Afanasyev | 087c7c1 | 2015-02-02 00:21:21 -0800 | [diff] [blame] | 147 | |
Alexander Afanasyev | f381256 | 2016-01-21 16:28:33 -0800 | [diff] [blame] | 148 | $(call import-module,boost/1.59.0) |
Alexander Afanasyev | 6ce3543 | 2015-12-02 18:48:59 -0800 | [diff] [blame] | 149 | $(call import-module,sqlite/3) |
Alexander Afanasyev | a8d404b | 2016-11-05 10:07:08 -0600 | [diff] [blame] | 150 | $(call import-module,openssl/1.0.2h) |