Skip to content

Commit d082070

Browse files
author
Ed Gamble
authored
Merge pull request #380 from breadwallet/feature/CORE-750
CORE-750: Public BRCrypto Files into include/
2 parents 38b494e + 8b874b9 commit d082070

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+935
-1049
lines changed

Java/corenative/CMakeLists.txt

Lines changed: 22 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -308,47 +308,47 @@ target_sources (corecrypto
308308
target_sources (corecrypto
309309
PRIVATE
310310
src/main/cpp/core/crypto/BRCryptoAccount.c
311-
src/main/cpp/core/crypto/BRCryptoAccount.h
311+
src/main/cpp/core/include/BRCryptoAccount.h
312312
src/main/cpp/core/crypto/BRCryptoAddress.c
313-
src/main/cpp/core/crypto/BRCryptoAddress.h
313+
src/main/cpp/core/include/BRCryptoAddress.h
314314
src/main/cpp/core/crypto/BRCryptoAmount.c
315-
src/main/cpp/core/crypto/BRCryptoAmount.h
316-
src/main/cpp/core/crypto/BRCryptoBase.h
315+
src/main/cpp/core/include/BRCryptoAmount.h
316+
src/main/cpp/core/include/BRCryptoBase.h
317317
src/main/cpp/core/crypto/BRCryptoCurrency.c
318-
src/main/cpp/core/crypto/BRCryptoCurrency.h
318+
src/main/cpp/core/include/BRCryptoCurrency.h
319319
src/main/cpp/core/crypto/BRCryptoFeeBasis.c
320-
src/main/cpp/core/crypto/BRCryptoFeeBasis.h
320+
src/main/cpp/core/include/BRCryptoFeeBasis.h
321321
src/main/cpp/core/crypto/BRCryptoHash.c
322-
src/main/cpp/core/crypto/BRCryptoHash.h
322+
src/main/cpp/core/include/BRCryptoHash.h
323323
src/main/cpp/core/crypto/BRCryptoCipher.c
324-
src/main/cpp/core/crypto/BRCryptoCipher.h
324+
src/main/cpp/core/include/BRCryptoCipher.h
325325
src/main/cpp/core/crypto/BRCryptoCoder.c
326-
src/main/cpp/core/crypto/BRCryptoCoder.h
326+
src/main/cpp/core/include/BRCryptoCoder.h
327327
src/main/cpp/core/crypto/BRCryptoHasher.c
328-
src/main/cpp/core/crypto/BRCryptoHasher.h
328+
src/main/cpp/core/include/BRCryptoHasher.h
329329
src/main/cpp/core/crypto/BRCryptoKey.c
330-
src/main/cpp/core/crypto/BRCryptoKey.h
330+
src/main/cpp/core/include/BRCryptoKey.h
331331
src/main/cpp/core/crypto/BRCryptoSigner.c
332-
src/main/cpp/core/crypto/BRCryptoSigner.h
332+
src/main/cpp/core/include/BRCryptoSigner.h
333333
src/main/cpp/core/crypto/BRCryptoNetwork.c
334-
src/main/cpp/core/crypto/BRCryptoNetwork.h
334+
src/main/cpp/core/include/BRCryptoNetwork.h
335335
src/main/cpp/core/crypto/BRCryptoStatus.c
336-
src/main/cpp/core/crypto/BRCryptoStatus.h
336+
src/main/cpp/core/include/BRCryptoStatus.h
337337
src/main/cpp/core/crypto/BRCryptoPayment.c
338-
src/main/cpp/core/crypto/BRCryptoPayment.h
338+
src/main/cpp/core/include/BRCryptoPayment.h
339339
src/main/cpp/core/crypto/BRCryptoPeer.c
340-
src/main/cpp/core/crypto/BRCryptoPeer.h
340+
src/main/cpp/core/include/BRCryptoPeer.h
341341
src/main/cpp/core/crypto/BRCryptoPrivate.h
342342
src/main/cpp/core/crypto/BRCryptoTransfer.c
343-
src/main/cpp/core/crypto/BRCryptoTransfer.h
343+
src/main/cpp/core/include/BRCryptoTransfer.h
344344
src/main/cpp/core/crypto/BRCryptoUnit.c
345-
src/main/cpp/core/crypto/BRCryptoUnit.h
345+
src/main/cpp/core/include/BRCryptoUnit.h
346346
src/main/cpp/core/crypto/BRCryptoWallet.c
347-
src/main/cpp/core/crypto/BRCryptoWallet.h
347+
src/main/cpp/core/include/BRCryptoWallet.h
348348
src/main/cpp/core/crypto/BRCryptoWalletManager.c
349-
src/main/cpp/core/crypto/BRCryptoWalletManager.h
349+
src/main/cpp/core/include/BRCryptoWalletManager.h
350350
src/main/cpp/core/crypto/BRCryptoWalletManagerClient.c
351-
src/main/cpp/core/crypto/BRCryptoWalletManagerClient.h
351+
src/main/cpp/core/include/BRCryptoWalletManagerClient.h
352352
src/main/cpp/core/crypto/BRCryptoWalletManagerPrivate.h)
353353

354354
# Crypto Tests
@@ -362,6 +362,7 @@ endif(CMAKE_BUILD_TYPE MATCHES Debug)
362362
target_include_directories (corecrypto
363363
PUBLIC
364364
${PROJECT_SOURCE_DIR}/src/main/cpp/core
365+
${PROJECT_SOURCE_DIR}/src/main/cpp/core/include
365366
${PROJECT_SOURCE_DIR}/src/main/cpp/core/support
366367
${PROJECT_SOURCE_DIR}/src/main/cpp/core/bitcoin
367368
${PROJECT_SOURCE_DIR}/src/main/cpp/core/bcash

Java/corenative/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ ext {
1414
projectDir.absolutePath + "/src/main/cpp/core/support"]
1515

1616
cppCryptoIncDirs = cppCryptoSrcDirs +
17-
[projectDir.absolutePath + "/src/main/cpp/core",
17+
[projectDir.absolutePath + "/src/main/cpp/core/include",
18+
projectDir.absolutePath + "/src/main/cpp/core",
1819
projectDir.absolutePath + "/src/main/cpp/core/vendor/secp256k1"]
1920

2021
cmakeCMakeListsFile = projectDir.absolutePath + "/CMakeLists.txt"

0 commit comments

Comments
 (0)