Support 'cc_library' in androidbp
Change-Id: I0a0ee48aac786a422e68e14ba14fc6186296214d
diff --git a/androidbp/cmd/androidbp_test.go b/androidbp/cmd/androidbp_test.go
index 4befa73..aab7e5f 100644
--- a/androidbp/cmd/androidbp_test.go
+++ b/androidbp/cmd/androidbp_test.go
@@ -85,6 +85,17 @@
LOCAL_MODULE := test
include $(BUILD_HOST_SHARED_LIBRARY)`,
},
+ // Static and Shared
+ {
+ blueprint: `cc_library { name: "test", }`,
+ androidmk: `include $(CLEAR_VARS)
+ LOCAL_MODULE := test
+ include $(BUILD_SHARED_LIBRARY)
+
+ include $(CLEAR_VARS)
+ LOCAL_MODULE := test
+ include $(BUILD_STATIC_LIBRARY)`,
+ },
}
func TestModules(t *testing.T) {