diff options
| author | Patrice Arruda <patricearruda@google.com> | 2019-07-18 09:30:31 -0700 |
|---|---|---|
| committer | Michael Bestas <mkbestas@lineageos.org> | 2019-12-11 19:03:32 +0200 |
| commit | 67b081b9ceb16f3212c90c45985a13a56f1c56a5 (patch) | |
| tree | 5ed03070d52d97bde0c363a3dfae5b33d0236116 /cmd/soong_ui/main.go | |
| parent | 5bc47188be1256946f49177a3048b99216339546 (diff) | |
| download | build_soong-67b081b9ceb16f3212c90c45985a13a56f1c56a5.tar.gz build_soong-67b081b9ceb16f3212c90c45985a13a56f1c56a5.tar.bz2 build_soong-67b081b9ceb16f3212c90c45985a13a56f1c56a5.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.go | 5 |
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 |
