Skip to content
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

Add deps attribute to flatbuffer_cc_library #7107

Merged
merged 1 commit into from Feb 22, 2022

Conversation

jkuszmaul
Copy link
Contributor

I'm not seeing the reason why we didn't attempt to support transitive
dependencies for flatbuffer_cc_library, and the current setup makes
having to propagate new dependencies to all of their recursive
dependents obnoxious.

cc @AustinSchuh if you remember why this had to be done, or have a cleaner suggestion for managing it....

@jkuszmaul jkuszmaul force-pushed the cc_libray_deps branch 2 times, most recently from 3b2d2b7 to f895cef Compare February 17, 2022 23:09
@AustinSchuh
Copy link
Contributor

I need to review this again because rules are never easy, but looks fine so far.

Is there a way to test it? If there's already a good example in the repo, we could build that, otherwise make a simple one?

I'm not seeing the reason why we didn't attempt to support transitive
dependencies for flatbuffer_cc_library, and the current setup makes
having to propagate new dependencies to all of their recursive
dependents obnoxious.
@jkuszmaul
Copy link
Contributor Author

Added a test. I checked it downstream already, as well.

@dbaileychess
Copy link
Collaborator

LGTM, @AustinSchuh are you still wanting to review this?

@AustinSchuh
Copy link
Contributor

I'm happy with it. Looks surprisingly straight forwards now that I've gotten enough sleep. The test is also good.

@dbaileychess dbaileychess merged commit 9c52ec3 into google:master Feb 22, 2022
@dbaileychess
Copy link
Collaborator

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants