aboutsummaryrefslogtreecommitdiff
path: root/docs/select_file_doc.md
diff options
context:
space:
mode:
authorJoe Fradley <joefradley@google.com>2023-11-20 12:23:47 -0800
committerJoe Fradley <joefradley@google.com>2023-11-20 17:01:29 -0800
commita7ef9ffeafcdd200a4e72377be5450f74aea1523 (patch)
treeff4f2948d51ace255426885412990bc9489474cb /docs/select_file_doc.md
parentf8aadd2ad5a51ac3187333bf589a754c5347d447 (diff)
parent9c9beee7411744869300f67a98d42f5081e62ab3 (diff)
downloadbazel-skylib-a7ef9ffeafcdd200a4e72377be5450f74aea1523.tar.gz
Upgrade bazel-skylib to 1.5.0
This project was upgraded with external_updater. Usage: tools/external_updater/updater.sh update bazel-skylib For more info, check https://cs.android.com/android/platform/superproject/+/main:tools/external_updater/README.md Bug: 312264245 Test: TreeHugger Change-Id: Ib7260230fbf7caabf65b69aa18350df0ddee9670 Signed-off-by: Joe Fradley <joefradley@google.com>
Diffstat (limited to 'docs/select_file_doc.md')
-rwxr-xr-xdocs/select_file_doc.md28
1 files changed, 28 insertions, 0 deletions
diff --git a/docs/select_file_doc.md b/docs/select_file_doc.md
new file mode 100755
index 0000000..33c3bc4
--- /dev/null
+++ b/docs/select_file_doc.md
@@ -0,0 +1,28 @@
+<!-- Generated with Stardoc: http://skydoc.bazel.build -->
+
+
+select_file() build rule implementation.
+
+Selects a single file from the outputs of a target by given relative path.
+
+
+<a id="select_file"></a>
+
+## select_file
+
+<pre>
+select_file(<a href="#select_file-name">name</a>, <a href="#select_file-srcs">srcs</a>, <a href="#select_file-subpath">subpath</a>)
+</pre>
+
+Selects a single file from the outputs of a target by given relative path
+
+**ATTRIBUTES**
+
+
+| Name | Description | Type | Mandatory | Default |
+| :------------- | :------------- | :------------- | :------------- | :------------- |
+| <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 | |
+| <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 | |
+| <a id="select_file-subpath"></a>subpath | Relative path to the file | String | required | |
+
+