aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorPatrice Arruda <patricearruda@google.com>2019-07-18 09:30:31 -0700
committerPatrice Arruda <patricearruda@google.com>2019-07-18 09:41:19 -0700
commit2274102f3464aaca766bf4d706840dc3b4243f5d (patch)
treec16965acc25b1f67d7bcad7dd49468c657de297a /cmd
parented1f4def5c2e3125fae67604b3b10c2c80fa8193 (diff)
downloadbuild_soong-2274102f3464aaca766bf4d706840dc3b4243f5d.tar.gz
build_soong-2274102f3464aaca766bf4d706840dc3b4243f5d.tar.bz2
build_soong-2274102f3464aaca766bf4d706840dc3b4243f5d.zip
soong-ui: Redirect mm to mma.
This is the first part of deprecating the mm command. mm will simply be redirected to mma by building the modules and their dependencies. Bug: b/135187558 Test: Ran mm in external/protobuf directory. Change-Id: Idad40f89e3768aeb459172f632a44fd7b0a201bc
Diffstat (limited to 'cmd')
-rw-r--r--cmd/soong_ui/main.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/cmd/soong_ui/main.go b/cmd/soong_ui/main.go
index 4d59a392..c4f24ffe 100644
--- a/cmd/soong_ui/main.go
+++ b/cmd/soong_ui/main.go
@@ -342,10 +342,13 @@ func buildActionConfig(ctx build.Context, args ...string) build.Config {
action: build.BUILD_MODULES,
buildDependencies: true,
}, {
+ // buildDependencies is set to true as mm is being deprecated. This is redirecting to mma build
+ // command behaviour. Once it has soaked for a while, the build command is deleted from here once
+ // it has been removed from the envsetup.sh.
name: "modules-in-a-dir-no-deps",
description: "Build action: builds all of the modules in the current directory without their dependencies.",
action: build.BUILD_MODULES_IN_A_DIRECTORY,
- buildDependencies: false,
+ buildDependencies: true,
}, {
name: "modules-in-dirs-no-deps",
description: "Build action: builds all of the modules in the supplied directories without their dependencies.",