-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Remove third_party/checker_* from the binary. #8163
Conversation
The binaries were there because there Java tooling needed it (until it was moved to its own separate repository) and the sources were there for GPL compliance (which is not the case anymore since we don't distribute the binaries, either) To be extra safe on the GPL compliance side, I checked with 'bazel query "rdeps(//...,//third_party/checker_framework_{javacutil,dataflow})"' whether we have any dependencies on it that might end up being distributed; turns out, the only dependencies are JavaBuilder (which is not distributed with Bazel anymore) and some tests.
/cc @cushon |
third_party/BUILD
Outdated
@@ -26,8 +26,6 @@ filegroup( | |||
"//third_party/java/jdk/langtools:srcs", | |||
"//third_party/java/proguard:srcs", | |||
"//third_party/javascript/bootstrap:srcs", | |||
"//third_party/checker_framework_dataflow:srcs", |
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.
The targets of third_party:srcs
are not all embedded into the bazel binary. IIUC this target is to keep track of the sources in the bazel repo, so I would keep them here.
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.
Done -- I removed it just so that rdeps gives a cleaner answer.
@@ -50,8 +48,6 @@ filegroup( | |||
filegroup( | |||
name = "gpl-srcs", | |||
srcs = [ | |||
"//third_party/checker_framework_dataflow:srcs", |
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.
Since you started this, can you also add them to the java tools dist archive? It's defined by src:java_tools_dist_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.
Done.
All done! |
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.
Thanks!
|
The binaries were there because there Java tooling needed it (until it
was moved to its own separate repository) and the sources were there for
GPL compliance (which is not the case anymore since we don't distribute
the binaries, either)
To be extra safe on the GPL compliance side, I checked with
whether we have any dependencies on it that might end up being
distributed; turns out, the only dependencies are JavaBuilder (which is
not distributed with Bazel anymore, as proven by the above query) and some tests.