-
Notifications
You must be signed in to change notification settings - Fork 84
bazel: update to 4.1.0 #1616
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
bazel: update to 4.1.0 #1616
Changes from all commits
de76b39
8d8afc8
57af2c4
9538f78
ed2b006
15d7c13
5835eec
f3b46fe
37b7973
b3f519d
5022963
6b4e501
5b01f0c
b62a832
a38257a
de0522d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| 3.6.0 | ||
| 4.1.0 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| """ | ||
| Propagate the generated Swift header from a swift_library target | ||
| This exists to work around https://github.com/bazelbuild/rules_swift/issues/291 | ||
| """ | ||
|
|
||
| def _swift_header_collector(ctx): | ||
| headers = [ | ||
| DefaultInfo( | ||
| files = ctx.attr.library[CcInfo].compilation_context.headers, | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. might want to assert that this only has 1 file to make sure it is what we expect, not a huge deal |
||
| ), | ||
| ] | ||
|
|
||
| if len(headers[0].files.to_list()) != 1: | ||
| header_names = [header.basename for header in headers[0].files.to_list()] | ||
| fail("Expected exactly 1 '-Swift.h' header, got {}".format(header_names)) | ||
|
|
||
| return headers | ||
|
|
||
| swift_header_collector = rule( | ||
| attrs = dict( | ||
| library = attr.label( | ||
| mandatory = True, | ||
| providers = [CcInfo], | ||
| ), | ||
| ), | ||
| implementation = _swift_header_collector, | ||
| ) | ||
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| #import <Envoy/Envoy-Swift.h> | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. not sure if you consider this public API or not |
||
| #import <Envoy/Envoy.h> | ||
| #import <UIKit/UIKit.h> | ||
| #import "Result.h" | ||
| #import "ViewController.h" | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.