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
This commit is contained in:
bralee 2019-03-04 06:58:15 +08:00
parent afbddd8ddd
commit 3f49f4d469

View file

@ -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
//