diff options
author | 2018-07-11 15:24:31 -0700 | |
---|---|---|
committer | 2018-07-11 15:24:31 -0700 | |
commit | 00e1e61bfb4da600e4c719b549cfbeda0fd067c9 (patch) | |
tree | 28f11d3aea36ac6320c13e326aacb0dc79c21190 /phony | |
parent | 5e48b1d183a8333528f529c7e677c4ab644f8caf (diff) |
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
Diffstat (limited to 'phony')
-rw-r--r-- | phony/phony.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phony/phony.go b/phony/phony.go index a39b5d51e..0c62e8a01 100644 --- a/phony/phony.go +++ b/phony/phony.go @@ -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) |