Removed unused return variables.

Sometimes it is confused that these variables are mixed with ninja
parameters when invoking pctx.AndroidStaticRule()/SourcePathVariable().

Test: m -j
Change-Id: Ibcf17eeed6ac79aafaa5edeec27427721b36e75a
This commit is contained in:
Nan Zhang
2017-03-27 14:27:58 -07:00
parent e7ee3c7bc2
commit 43a485cfb1

View File

@@ -109,7 +109,7 @@ var (
}, },
"objcopyCmd", "prefix") "objcopyCmd", "prefix")
stripPath = pctx.SourcePathVariable("stripPath", "build/soong/scripts/strip.sh") _ = pctx.SourcePathVariable("stripPath", "build/soong/scripts/strip.sh")
strip = pctx.AndroidStaticRule("strip", strip = pctx.AndroidStaticRule("strip",
blueprint.RuleParams{ blueprint.RuleParams{
@@ -127,7 +127,7 @@ var (
Description: "empty file $out", Description: "empty file $out",
}) })
copyGccLibPath = pctx.SourcePathVariable("copyGccLibPath", "build/soong/scripts/copygcclib.sh") _ = pctx.SourcePathVariable("copyGccLibPath", "build/soong/scripts/copygcclib.sh")
copyGccLib = pctx.AndroidStaticRule("copyGccLib", copyGccLib = pctx.AndroidStaticRule("copyGccLib",
blueprint.RuleParams{ blueprint.RuleParams{
@@ -139,7 +139,7 @@ var (
}, },
"ccCmd", "cFlags", "libName") "ccCmd", "cFlags", "libName")
tocPath = pctx.SourcePathVariable("tocPath", "build/soong/scripts/toc.sh") _ = pctx.SourcePathVariable("tocPath", "build/soong/scripts/toc.sh")
toc = pctx.AndroidStaticRule("toc", toc = pctx.AndroidStaticRule("toc",
blueprint.RuleParams{ blueprint.RuleParams{
@@ -159,7 +159,7 @@ var (
}, },
"cFlags", "tidyFlags") "cFlags", "tidyFlags")
yasmCmd = pctx.SourcePathVariable("yasmCmd", "prebuilts/misc/${config.HostPrebuiltTag}/yasm/yasm") _ = pctx.SourcePathVariable("yasmCmd", "prebuilts/misc/${config.HostPrebuiltTag}/yasm/yasm")
yasm = pctx.AndroidStaticRule("yasm", yasm = pctx.AndroidStaticRule("yasm",
blueprint.RuleParams{ blueprint.RuleParams{