Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2274102f authored by Patrice Arruda's avatar Patrice Arruda
Browse files

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
parent ed1f4def
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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.",