2
0
Fork 0
mirror of https://github.com/bazel-contrib/rules_foreign_cc synced 2024-11-25 17:31:25 +00:00

Fix a call to cc_common.create_compilation_context for Bazel HEAD (#182)

This commit is contained in:
irengrig 2018-12-20 13:13:17 +01:00 committed by GitHub
parent 8ec19f3959
commit cec144aef4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -568,6 +568,8 @@ def _define_out_cc_info(ctx, attrs, inputs, outputs):
compilation_info = cc_common.create_compilation_context(
ctx = ctx,
headers = depset([outputs.out_include_dir]),
includes = depset([]),
quote_includes = depset([]),
system_includes = depset([outputs.out_include_dir.path]),
defines = depset(attrs.defines),
)