cosmetic: unnecessary method indirection
Test: m nothing Bug: N/A Change-Id: Ie750d6556a12fb077d4592b1b7cb3e8edc8ef80e
This commit is contained in:
@@ -66,11 +66,9 @@ var commands = []command{
|
||||
{
|
||||
flag: "--make-mode",
|
||||
description: "build the modules by the target name (i.e. soong_docs)",
|
||||
config: func(ctx build.Context, args ...string) build.Config {
|
||||
return build.NewConfig(ctx, args...)
|
||||
},
|
||||
stdio: stdio,
|
||||
run: runMake,
|
||||
config: build.NewConfig,
|
||||
stdio: stdio,
|
||||
run: runMake,
|
||||
}, {
|
||||
flag: "--dumpvar-mode",
|
||||
description: "print the value of the legacy make variable VAR to stdout",
|
||||
@@ -114,7 +112,7 @@ func inList(s string, list []string) bool {
|
||||
|
||||
// Main execution of soong_ui. The command format is as follows:
|
||||
//
|
||||
// soong_ui <command> [<arg 1> <arg 2> ... <arg n>]
|
||||
// soong_ui <command> [<arg 1> <arg 2> ... <arg n>]
|
||||
//
|
||||
// Command is the type of soong_ui execution. Only one type of
|
||||
// execution is specified. The args are specific to the command.
|
||||
|
Reference in New Issue
Block a user