Reuse factory methods for art extensions of cc module types
Previously, art created its own module types by using lower level
methods in cc such as cc.NewLibrary(...) and module.Init(), essentially
duplicating the contents of factory methods like cc.LibraryFactory().
As a result when additional functionality was added to those factory
methods (e.g. sdk member support) the art module types did not benefit.
This changes switches the art soong types to use the factory methods
instead, removing the duplicated code and allowing them to be used as
sdk members.
Test: m checkbuild
Change-Id: Ib12fe2e776c948c2b56f993562b8165fd867ab9b
1 file changed