aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/soong_ui/main.go
diff options
context:
space:
mode:
authorPatrice Arruda <patricearruda@google.com>2019-07-18 09:30:31 -0700
committerLuca Stefani <luca.stefani.ge1@gmail.com>2019-09-04 15:33:39 +0200
commita1971725d3213c182ed6d73b4cdaaa5a5858b032 (patch)
treeb363bd36831e22648250178a422b7243b7f93bcc /cmd/soong_ui/main.go
parentd8e6c3b4540fcf85f7877203e9f39be554876e18 (diff)
downloadbuild_soong-a1971725d3213c182ed6d73b4cdaaa5a5858b032.tar.gz
build_soong-a1971725d3213c182ed6d73b4cdaaa5a5858b032.tar.bz2
build_soong-a1971725d3213c182ed6d73b4cdaaa5a5858b032.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/soong_ui/main.go')
-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 13d3fedd..f5c007da 100644
--- a/cmd/soong_ui/main.go
+++ b/cmd/soong_ui/main.go
@@ -360,10 +360,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,
}, {
// buildDependencies is set to true as mmm is being deprecated. This is redirecting to mmma build
// command behaviour. Once it has soaked for a while, the build command is deleted from here once