Merge "Add "apex_vndk" module type"
This commit is contained in:
@@ -19,8 +19,8 @@ import (
|
||||
)
|
||||
|
||||
func init() {
|
||||
android.RegisterModuleType("cc_prebuilt_library_shared", prebuiltSharedLibraryFactory)
|
||||
android.RegisterModuleType("cc_prebuilt_library_static", prebuiltStaticLibraryFactory)
|
||||
android.RegisterModuleType("cc_prebuilt_library_shared", PrebuiltSharedLibraryFactory)
|
||||
android.RegisterModuleType("cc_prebuilt_library_static", PrebuiltStaticLibraryFactory)
|
||||
android.RegisterModuleType("cc_prebuilt_binary", prebuiltBinaryFactory)
|
||||
}
|
||||
|
||||
@@ -131,7 +131,7 @@ func (p *prebuiltLibraryLinker) disablePrebuilt() {
|
||||
|
||||
// cc_prebuilt_library_shared installs a precompiled shared library that are
|
||||
// listed in the srcs property in the device's directory.
|
||||
func prebuiltSharedLibraryFactory() android.Module {
|
||||
func PrebuiltSharedLibraryFactory() android.Module {
|
||||
module, _ := NewPrebuiltSharedLibrary(android.HostAndDeviceSupported)
|
||||
return module.Init()
|
||||
}
|
||||
@@ -158,7 +158,7 @@ func NewPrebuiltSharedLibrary(hod android.HostOrDeviceSupported) (*Module, *libr
|
||||
|
||||
// cc_prebuilt_library_static installs a precompiled static library that are
|
||||
// listed in the srcs property in the device's directory.
|
||||
func prebuiltStaticLibraryFactory() android.Module {
|
||||
func PrebuiltStaticLibraryFactory() android.Module {
|
||||
module, _ := NewPrebuiltStaticLibrary(android.HostAndDeviceSupported)
|
||||
return module.Init()
|
||||
}
|
||||
|
Reference in New Issue
Block a user