mirror of
https://github.com/google/brotli.git
synced 2026-09-22 22:56:08 +00:00
[PR #418] [MERGED] Bazel: use cc_library instead of cc_inc_library. #1024
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/google/brotli/pull/418
Author: @PiotrSikora
Created: 8/24/2016
Status: ✅ Merged
Merged: 8/24/2016
Merged by: @eustas
Base:
master← Head:bazel_cc_library📝 Commits (1)
2cc3323Bazel: use cc_library instead of cc_inc_library.📊 Changes
1 file changed (+4 additions, -3 deletions)
View changed files
📝
BUILD(+4 -3)📄 Description
cc_inc_library is broken when used with external repositories
(see: https://github.com/bazelbuild/bazel/issues/1596), which
makes it a bit useless at the moment.
Switch to using cc_library with "includes" attribute to expose
public headers.
While there, fix order of attributes in ":brotli_common" target.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.