androidmk: add BUILD_OS conditionals

Some Android.mk files use BUILD_OS instead of HOST_OS for selecting
options when building host tools.

Change-Id: Ic4869cdee01da050364bb21b47f3de8fd8adaa96
This commit is contained in:
Colin Cross
2015-03-27 10:46:01 -07:00
parent 5890b58b21
commit df6f7ae064

View File

@@ -93,6 +93,10 @@ var conditionalTranslations = map[string]struct {
"($(HOST_OS), windows)": {"target", "windows"},
"($(HOST_OS),linux)": {"target", "linux"},
"($(HOST_OS), linux)": {"target", "linux"},
"($(BUILD_OS),darwin)": {"target", "darwin"},
"($(BUILD_OS), darwin)": {"target", "darwin"},
"($(BUILD_OS),linux)": {"target", "linux"},
"($(BUILD_OS), linux)": {"target", "linux"},
}
func mydir(args []string) string {