summaryrefslogtreecommitdiff
path: root/filesystem/filesystem.go
diff options
context:
space:
mode:
author Jooyung Han <jooyung@google.com> 2021-04-15 22:43:48 +0900
committer Jooyung Han <jooyung@google.com> 2021-04-16 13:20:02 +0900
commit9706cbc1e9462984a520881032b9610d43fe0e41 (patch)
treec6afd1d7139860b14697f997443aaa01b5e3cafd /filesystem/filesystem.go
parent5b94c8c00748620761793a689e79717eefe574f9 (diff)
Add filesystem_test.go
It has only one test function as a starting point. Bug: n/a Test: m (soong tests) Change-Id: I785b096805014a40dfd600f7baaf884f4016c23c
Diffstat (limited to 'filesystem/filesystem.go')
-rw-r--r--filesystem/filesystem.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/filesystem/filesystem.go b/filesystem/filesystem.go
index b2bd6bddf..cf9871701 100644
--- a/filesystem/filesystem.go
+++ b/filesystem/filesystem.go
@@ -26,7 +26,11 @@ import (
)
func init() {
- android.RegisterModuleType("android_filesystem", filesystemFactory)
+ registerBuildComponents(android.InitRegistrationContext)
+}
+
+func registerBuildComponents(ctx android.RegistrationContext) {
+ ctx.RegisterModuleType("android_filesystem", filesystemFactory)
}
type filesystem struct {