From 2274102f3464aaca766bf4d706840dc3b4243f5d Mon Sep 17 00:00:00 2001 From: Patrice Arruda Date: Thu, 18 Jul 2019 09:30:31 -0700 Subject: [PATCH] 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 --- cmd/soong_ui/main.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cmd/soong_ui/main.go b/cmd/soong_ui/main.go index 4d59a3923..c4f24ffec 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.",