Export cc module types and mutators needed for JNI testing
JNI testing will need to create basic native shared library modules, export the minimum mutators and module types for the required dependencies of a native shared library. Bug: 80095087 Test: cc_test.go Change-Id: Ibe7bc88b69cb0851291cb09a4c0c6cdb421b8651
This commit is contained in:
@@ -23,7 +23,7 @@ import (
|
||||
//
|
||||
|
||||
func init() {
|
||||
android.RegisterModuleType("toolchain_library", toolchainLibraryFactory)
|
||||
android.RegisterModuleType("toolchain_library", ToolchainLibraryFactory)
|
||||
}
|
||||
|
||||
type toolchainLibraryProperties struct {
|
||||
@@ -48,7 +48,7 @@ func (library *toolchainLibraryDecorator) linkerProps() []interface{} {
|
||||
return append(props, &library.Properties)
|
||||
}
|
||||
|
||||
func toolchainLibraryFactory() android.Module {
|
||||
func ToolchainLibraryFactory() android.Module {
|
||||
module, library := NewLibrary(android.HostAndDeviceSupported)
|
||||
library.BuildOnlyStatic()
|
||||
toolchainLibrary := &toolchainLibraryDecorator{
|
||||
|
Reference in New Issue
Block a user