-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change-Id: Ie19b495e1b083299cce38fe4f99fade7d3db5b17
- Loading branch information
1 parent
87de803
commit de7debc
Showing
2 changed files
with
29 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# `bob_test` | ||
|
||
> ⚠ Warning, this target is experimental & the attributes/interface are likely to keep changing. ⚠ | ||
```bp | ||
bob_test { | ||
name, srcs, hdrs, copts, deps, tags | ||
} | ||
``` | ||
|
||
Indicates a test binary. | ||
|
||
On Linux this module behaves like an executable. | ||
On Android this module generates test targets. | ||
|
||
Supports: | ||
|
||
- [Gazelle generation](../../gazelle/README.md) | ||
|
||
## Properties | ||
|
||
| | | | ||
| ---------------------------------------------- | ----------------------------------------------------------------------------------------------------- | | ||
| [`name`](properties/common_properties.md#name) | String; required | | ||
| [`srcs`](properties/strict_properties.md) | List of sources; default is `[]`<br>Supports glob patterns. | | ||
| `copts` | List of strings; default is `[]`<br>This options are included as cflags in the compile/link commands. | | ||
| `deps` | List of targets; default is `[]`<br>The list of other libraries to be linked in to the binary target. | | ||
| [`tags`](properties/common_properties.md#tags) | List of strings; default is `[]` | |