-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make it an error to have a cc_shared_library with no deps
A cc_shared_library with no deps doesn't provide anything on the build graph, it would be an empty shared library file. RELNOTES:none PiperOrigin-RevId: 508597495 Change-Id: Ied80243500b804071b88a6df5c0fc9c8bbdd0f28
- Loading branch information
1 parent
f29db1b
commit 69d43b4
Showing
3 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -100,3 +100,8 @@ cc_shared_library( | |
], | ||
tags = TAGS, | ||
) | ||
|
||
cc_shared_library( | ||
name = "failing_with_no_deps_so", | ||
tags = TAGS, | ||
) |