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(compute): usable in external Bazel projects #12864
fix(compute): usable in external Bazel projects #12864
Conversation
Codecov ReportAll modified lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #12864 +/- ##
=======================================
Coverage 93.54% 93.54%
=======================================
Files 2075 2075
Lines 180728 180728
=======================================
+ Hits 169068 169070 +2
+ Misses 11660 11658 -2 ☔ View full report in Codecov by Sentry. |
881eaeb
to
8ae798a
Compare
8ae97e1
to
c19c79b
Compare
The library was not usable from external Bazel projects. Including proto files via angle brackets requires `includes` attributes in the right `cc_library()` rules. Bazel does not allow `includes` pointing to the top of the project, so we need at least the protos to live outside the `google/cloud/compute` subtree. Using `protos/` seems reasonable, and can grow as needed.
c19c79b
to
c8b639e
Compare
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.
Reviewed 241 of 241 files at r1, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @coryan)
The library was not usable from external Bazel projects. Including
proto files via angle brackets requires
includes
attributes in theright
cc_library()
rules. Bazel does not allowincludes
pointing tothe top of the project, so we need at least the protos to live outside
the
google/cloud/compute
subtree. Usingprotos/
seems reasonable,and can grow as needed.
Fixes #12854
This change is