Allow to specify the output Android.mk file path.

- Allow to specify the output Android.mk file path.
  We need this to generate Android.mk into the out diretory.
- Makefile strings don't need quotes.
- Return non-zero exit code if it fails.
- Other trivial format changes.

Change-Id: I460083f6e0a2707cd4a6fe0bef3f8ae7562e9edb
This commit is contained in:
Ying Wang
2015-06-02 18:44:59 -07:00
parent 199ee3943e
commit 3828490eef
2 changed files with 36 additions and 23 deletions

View File

@@ -99,10 +99,10 @@ var hostScopedPropertyConditionals = map[string]string{
// TODO: host target?
var targetScopedPropertyConditionals = map[string]string{
"android32": "ifeq($(TARGET_IS_64_BIT), false)",
"android32": "ifneq($(TARGET_IS_64_BIT), true)",
"not_android32": "ifeq($(TARGET_IS_64_BIT), true)",
"android64": "ifeq($(TARGET_IS_64_BIT), true)",
"not_android64": "ifeq($(TARGET_IS_64_BIT), false)",
"not_android64": "ifneq($(TARGET_IS_64_BIT), true)",
}
var disabledHostConditionals = map[string]string{