From 93e95992a4629c8fb5a46f5628c7d1e0e6f596e3 Mon Sep 17 00:00:00 2001 From: Spandan Das Date: Thu, 29 Jul 2021 18:26:39 +0000 Subject: [PATCH] Update documentation for genrule and sdk_library 1. Documentation for genrule and sdk_library was missing a period, which has been added now. For genrule, Before: https://android-build.googleplex.com/builds/submitted/7594870/linux/latest/view/genrule.html, After: https://x20web.corp.google.com/users/sp/spandandas/soong_docs/genrule.html 2. Documentation for genrule was missing definition of $(locations), which has been added now Bug: 194231221 Test: m soong_docs Change-Id: Ia367f13055c110d92a491a9c1b1af4113f66b296 --- genrule/genrule.go | 15 ++++++++------- java/sdk_library.go | 2 +- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/genrule/genrule.go b/genrule/genrule.go index 8372a6450..1ac50b109 100644 --- a/genrule/genrule.go +++ b/genrule/genrule.go @@ -113,16 +113,17 @@ type hostToolDependencyTag struct { label string } type generatorProperties struct { - // The command to run on one or more input files. Cmd supports substitution of a few variables + // The command to run on one or more input files. Cmd supports substitution of a few variables. // // Available variables for substitution: // - // $(location): the path to the first entry in tools or tool_files - // $(location