summaryrefslogtreecommitdiff
path: root/android/module.go
diff options
context:
space:
mode:
author Jooyung Han <jooyung@google.com> 2020-07-08 06:40:08 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2020-07-08 06:40:08 +0000
commitecc495fd096871feff67f598fc768ba972a84dd9 (patch)
treefbe0cb0d74c380f17f0b1b0a20b2c226b6b9d47f /android/module.go
parent0ae555df1a5b0fc86a6fa83c1de42026ef184cd2 (diff)
parent7607dd35648950a5a3df57721a5e5dde4116b293 (diff)
Merge "Apply "excludes" for OutputFileProducer"
Diffstat (limited to 'android/module.go')
-rw-r--r--android/module.go9
1 files changed, 0 insertions, 9 deletions
diff --git a/android/module.go b/android/module.go
index 06079cae9..564c54662 100644
--- a/android/module.go
+++ b/android/module.go
@@ -2099,15 +2099,6 @@ func (m *moduleContext) CheckbuildFile(srcPath Path) {
m.checkbuildFiles = append(m.checkbuildFiles, srcPath)
}
-func findStringInSlice(str string, slice []string) int {
- for i, s := range slice {
- if s == str {
- return i
- }
- }
- return -1
-}
-
// SrcIsModule decodes module references in the format ":name" into the module name, or empty string if the input
// was not a module reference.
func SrcIsModule(s string) (module string) {