Page MenuHomePhabricator

[SECP256K1] Build java class files out of tree
ClosedPublic

Authored by Fabien on Sep 12 2019, 15:55.

Details

Summary

The Java files are compiled to the source tree, making it difficult to
restart a build. Fix this by passing the output directory to javac.

Test Plan
cd secp256k1
./autogen.sh
mkdir build && cd build
../configure --enable-jni --enable-experimental --enable-module-ecdh
make check-java

Check the .class files are located under the build directory
(build/src/java/org/bitcoin/*.class).

make clean

Check the .class files are deleted.

Diff Detail

Repository
rABC Bitcoin ABC
Branch
secp256k1_java_out_of_tree
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 7422
Build 12887: Bitcoin ABC Buildbot (legacy)
Build 12886: arc lint + arc unit

Event Timeline

Better variable factorization.

This revision is now accepted and ready to land.Sep 13 2019, 06:11