diff options
author | Patrice Arruda <patricearruda@google.com> | 2019-07-18 09:37:38 -0700 |
---|---|---|
committer | Michael Bestas <mkbestas@lineageos.org> | 2019-12-11 19:03:32 +0200 |
commit | 5bc47188be1256946f49177a3048b99216339546 (patch) | |
tree | bdcebcc6a4d08d680afab5eec0f34afddb166374 | |
parent | 715d0852ecd3486981fa903d9676d8826e28320e (diff) | |
download | build_soong-5bc47188be1256946f49177a3048b99216339546.tar.gz build_soong-5bc47188be1256946f49177a3048b99216339546.tar.bz2 build_soong-5bc47188be1256946f49177a3048b99216339546.zip |
soong-ui: Redirect mmm to mmma.
This is the first part of deprecating the mmm command. mmm will simply
be redirected to mmma by building the list of modules with their
dependencies.
Bug: b/135187558
Test: Ran mmm external/libusb:libusb.
Change-Id: I50cf0d6a07197556ab6130e612561c6d5a3fb31e
-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 ea6f5bb0..13d3fedd 100644 --- a/cmd/soong_ui/main.go +++ b/cmd/soong_ui/main.go @@ -365,10 +365,13 @@ func buildActionConfig(ctx build.Context, args ...string) build.Config { action: build.BUILD_MODULES_IN_A_DIRECTORY, buildDependencies: false, }, { + // 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 + // it has been removed from the envsetup.sh. name: "modules-in-dirs-no-deps", description: "Build action: builds all of the modules in the supplied directories without their dependencies.", action: build.BUILD_MODULES_IN_DIRECTORIES, - buildDependencies: false, + buildDependencies: true, }, { name: "modules-in-a-dir", description: "Build action: builds all of the modules in the current directory and their dependencies.", |