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

Commit bed2ac5d authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix vndk snapshot suffix on Makefile" into rvc-dev

parents 162e844c 7ac1fa78
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -2414,8 +2414,13 @@ func (c *Module) depsToPaths(ctx android.ModuleContext) PathDeps {

			if c, ok := ccDep.(*Module); ok {
				// Use base module name for snapshots when exporting to Makefile.
				if c.isSnapshotPrebuilt() && !c.IsVndk() {
				if c.isSnapshotPrebuilt() {
					baseName := c.BaseModuleName()

					if c.IsVndk() {
						return baseName + ".vendor"
					}

					if vendorSuffixModules[baseName] {
						return baseName + ".vendor"
					} else {