1<!-- Generated with Stardoc: http://skydoc.bazel.build --> 2 3select_file() build rule implementation. 4 5Selects a single file from the outputs of a target by given relative path. 6 7<a id="select_file"></a> 8 9## select_file 10 11<pre> 12select_file(<a href="#select_file-name">name</a>, <a href="#select_file-srcs">srcs</a>, <a href="#select_file-subpath">subpath</a>) 13</pre> 14 15Selects a single file from the outputs of a target by given relative path 16 17**ATTRIBUTES** 18 19 20| Name | Description | Type | Mandatory | Default | 21| :------------- | :------------- | :------------- | :------------- | :------------- | 22| <a id="select_file-name"></a>name | A unique name for this target. | <a href="https://bazel.build/concepts/labels#target-names">Name</a> | required | | 23| <a id="select_file-srcs"></a>srcs | The target producing the file among other outputs | <a href="https://bazel.build/concepts/labels">Label</a> | required | | 24| <a id="select_file-subpath"></a>subpath | Relative path to the file | String | required | | 25 26 27