-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix bazel/gradle compilation conflict #24
base: master
Are you sure you want to change the base?
Conversation
I am happy to split the PR in multiple pieces if is preferred |
also this repo requires some CI steps to validate the build. quite a few steps are broken after the introduction of bazel as seen from this and my previous PR. would you accept a PR to add github actions to build and test the code? |
i was actually thinking of doing this as well, so i absolutely would accept a pr for that! |
@@ -50,6 +51,7 @@ | |||
public class Ukey2ShellCppWrapper { | |||
// The path the the ukey2_shell binary. | |||
private static final String BINARY_PATH = "build/src/main/cpp/src/securegcm/ukey2_shell"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we don't build w cmake anymore, so this should probably be removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you planning to support only bazel for the c++ library and gradle for java?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yep, since this is built as part of https://github.com/google/nearby, so that's why a lot of this stuff wasn't updated correctly (my bad!)
Renames BUILD file from bazel to
BUILD.bazel
to solve a conflict with thebuild
folder created by gradle. probably is worth to rename all the bazelBUILD
files?Allows Ukey2ShellCppWrapper.java to use the
ukey2_shell
binary from the default output folder of bazelUpgrade protobuf to 0.9.3. From 0.9.1 changelog :
This was causing the generation of proto fail given the proto folder contains a bazel
BUILD
fileadds
.DS_Store
in the .gitignore to ignore .DS_Store files generated on macadds the missing empty line from last commit Fix Bazel support to compile C++ library #23 (comment)