aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrice Arruda <patricearruda@google.com>2019-07-18 09:37:38 -0700
committerLuca Stefani <luca.stefani.ge1@gmail.com>2019-09-04 15:33:33 +0200
commitd8e6c3b4540fcf85f7877203e9f39be554876e18 (patch)
treeb117b8dc2f454a280d8d90dfe08ba925a26d3625
parentf60bb1bdd07a2590bd4843caeb4069f7a4df4a72 (diff)
downloadbuild_soong-d8e6c3b4540fcf85f7877203e9f39be554876e18.tar.gz
build_soong-d8e6c3b4540fcf85f7877203e9f39be554876e18.tar.bz2
build_soong-d8e6c3b4540fcf85f7877203e9f39be554876e18.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.go5
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.",