diff options
author | Steven Moreland <smoreland@google.com> | 2018-07-11 15:24:31 -0700 |
---|---|---|
committer | Steven Moreland <smoreland@google.com> | 2018-07-11 15:24:31 -0700 |
commit | 00e1e61bfb4da600e4c719b549cfbeda0fd067c9 (patch) | |
tree | 28f11d3aea36ac6320c13e326aacb0dc79c21190 | |
parent | 5e48b1d183a8333528f529c7e677c4ab644f8caf (diff) | |
download | build_soong-00e1e61bfb4da600e4c719b549cfbeda0fd067c9.tar.gz build_soong-00e1e61bfb4da600e4c719b549cfbeda0fd067c9.tar.bz2 build_soong-00e1e61bfb4da600e4c719b549cfbeda0fd067c9.zip |
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
-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 a39b5d51..0c62e8a0 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) |