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
diff --git a/androidbp/cmd/soong.go b/androidbp/cmd/soong.go
index b8d7e0e..9b5a688 100644
--- a/androidbp/cmd/soong.go
+++ b/androidbp/cmd/soong.go
@@ -99,10 +99,10 @@
// 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{