Fixe typos in androidmk.

am: b8ba8a5ee8

Change-Id: Ib661b6e3e59986f6f00db2ce9762e84d190ae171
This commit is contained in:
Jaewoong Jung
2019-03-05 18:25:38 -08:00
committed by android-build-merger
2 changed files with 4 additions and 4 deletions

View File

@@ -208,7 +208,7 @@ func convertFile(filename string, buffer *bytes.Buffer) (string, []error) {
file.errorf(x, "missing if before else")
continue
} else if conds[len(conds)-1] == nil {
file.errorf(x, "else from unsupported contitional")
file.errorf(x, "else from unsupported conditional")
continue
}
conds[len(conds)-1].eq = !conds[len(conds)-1].eq
@@ -217,7 +217,7 @@ func convertFile(filename string, buffer *bytes.Buffer) (string, []error) {
file.errorf(x, "missing if before endif")
continue
} else if conds[len(conds)-1] == nil {
file.errorf(x, "endif from unsupported contitional")
file.errorf(x, "endif from unsupported conditional")
conds = conds[:len(conds)-1]
} else {
if assignmentCond == conds[len(conds)-1] {

View File

@@ -504,9 +504,9 @@ endif # b==false
// # b==false
// echo end
//
// ANDROIDMK TRANSLATION ERROR: endif from unsupported contitional
// ANDROIDMK TRANSLATION ERROR: endif from unsupported conditional
// endif
// ANDROIDMK TRANSLATION ERROR: endif from unsupported contitional
// ANDROIDMK TRANSLATION ERROR: endif from unsupported conditional
// endif
`,
},