Export: phonyFactory -> PhonyFactory
When adding aidl_interface, the intention is to have module name 'foo' create modules 'foo-cpp' and 'foo-java' for consistency. I'm using a phony module to reserve 'foo' as a name for future use and also for sanity. Bug: 111117220 Test: create a phony module using the factory and use it to build Change-Id: Ib3214acb9b4bf48aa60a1a3c20b5d12129d1c3a6
This commit is contained in:
@@ -23,7 +23,7 @@ import (
|
||||
)
|
||||
|
||||
func init() {
|
||||
android.RegisterModuleType("phony", phonyFactory)
|
||||
android.RegisterModuleType("phony", PhonyFactory)
|
||||
}
|
||||
|
||||
type phony struct {
|
||||
@@ -31,7 +31,7 @@ type phony struct {
|
||||
requiredModuleNames []string
|
||||
}
|
||||
|
||||
func phonyFactory() android.Module {
|
||||
func PhonyFactory() android.Module {
|
||||
module := &phony{}
|
||||
|
||||
android.InitAndroidModule(module)
|
||||
|
Reference in New Issue
Block a user