From 3f49f4d4696ca3057bbd10b1bbfc1d3b3a0b1c72 Mon Sep 17 00:00:00 2001 From: bralee Date: Mon, 4 Mar 2019 06:58:15 +0800 Subject: Build System: Collect native dependent information from cc.go. Bug: 126957990 Test: 1. m aidegen 2. $ANDROID_HOST_OUT/bin/aidegen-dev frameworks/native -v 3. open out/soong/module_bp_java_deps.json check *.a and *.so files are added. Change-Id: I82ba49d023621908f0be12abf529553aee45fa5b --- cc/cc.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cc') diff --git a/cc/cc.go b/cc/cc.go index ddc47eae..117bbc2a 100644 --- a/cc/cc.go +++ b/cc/cc.go @@ -1911,6 +1911,10 @@ func (c *Module) imageVariation() string { return variation } +func (c *Module) IDEInfo(dpInfo *android.IdeInfo) { + dpInfo.Srcs = append(dpInfo.Srcs, c.Srcs().Strings()...) +} + // // Defaults // -- cgit v1.2.3