fuchsia_wrap_cc_binary
Wrap a native cc_binary.
The resulting target can be used as a dep in fuchsia_component.
PARAMETERS
Name |
Description |
Default |
name |
This target name. |
- |
cc_binary |
The existing cc_binary's target name. |
- |
bin_name |
The filename to place under bin/. Defaults to name. |
None |
exact_cc_binary_deps |
The existing cc_binary's deps. This ALWAYS MUST BE identical to cc_binary's deps to prevent runtime crashes. We recommend factoring out cc_binary's deps and then referencing them in cc_binary as well as fuchsia_wrap_cc_binary. |
None |
sdk_root_label |
Optionally override the root label of the fuchsia sdk repo. |
"@fuchsia_sdk" |
clang_root_label |
Optionally override the root label of the fuchsia clang repo. |
"@fuchsia_clang" |
package_clang_dist_files |
If True, the @fuchsia_clang//:dist files will be packaged. |
True |
kwargs |
Arguments to forward to the fuchsia cc_binary wrapper. |
- |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-06-18 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2024-06-18 UTC."}