summaryrefslogtreecommitdiff
path: root/ApiDocs.bp
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2020-02-26 13:04:57 -0800
committerColin Cross <ccross@android.com>2020-02-26 13:10:07 -0800
commita2410ebbb9401d1b42d43790559d4ced0bfa9512 (patch)
tree3bea7f09f5e71c6a34b31aa722c3105c1b1329f7 /ApiDocs.bp
parent3e6b337bf448d68996c384bb84cb2afdb08919eb (diff)
Quiet ds-docs-switched
The ds-docs-switched genrule was producing 18947 lines of output, including a single line with 266986 bytes. Quiet all the tools used in the genrule. Test: m ds-docs-switched Change-Id: I5549c34f6310469e7791b56190d5b7c1f386a5f7
Diffstat (limited to 'ApiDocs.bp')
-rw-r--r--ApiDocs.bp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ApiDocs.bp b/ApiDocs.bp
index 04ddc50a94c4..b7e364690d03 100644
--- a/ApiDocs.bp
+++ b/ApiDocs.bp
@@ -356,10 +356,10 @@ java_genrule {
dist: {
targets: ["docs"],
},
- cmd: "unzip $(location :ds-docs-java{.docs.zip}) -d $(genDir) && " +
- "unzip $(location :ds-docs-kt{.docs.zip}) -d $(genDir)/en/reference/kotlin && " +
+ cmd: "unzip -q $(location :ds-docs-java{.docs.zip}) -d $(genDir) && " +
+ "unzip -q $(location :ds-docs-kt{.docs.zip}) -d $(genDir)/en/reference/kotlin && " +
"SWITCHER=$$(cd $$(dirname $(location switcher4)) && pwd)/$$(basename $(location switcher4)) && " +
- "(cd $(genDir)/en/reference && $$SWITCHER --work platform) && " +
+ "(cd $(genDir)/en/reference && $$SWITCHER --work platform) > /dev/null && " +
"$(location soong_zip) -o $(out) -C $(genDir) -D $(genDir)",
}