summaryrefslogtreecommitdiff
path: root/android/raw_files.go
diff options
context:
space:
mode:
author Yu Liu <yudiliu@google.com> 2025-03-24 10:30:10 -0700
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2025-03-24 10:30:10 -0700
commit5e0f99715f4629040cdd0487852cf060b1f8f09d (patch)
tree4a71a70518d9bc2ef211c6e0dd00a19d879022d1 /android/raw_files.go
parent9fbbd55e9b0017967fbf854271e673abd82d3a3c (diff)
parent2d6bed512fb89332e0a10c3fca898619dc124761 (diff)
Merge "Move SyncMap to blueprint." into main
Diffstat (limited to 'android/raw_files.go')
-rw-r--r--android/raw_files.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/android/raw_files.go b/android/raw_files.go
index fd371965c..ebba4d145 100644
--- a/android/raw_files.go
+++ b/android/raw_files.go
@@ -26,6 +26,7 @@ import (
"testing"
"github.com/google/blueprint"
+ "github.com/google/blueprint/syncmap"
"github.com/google/blueprint/proptools"
)
@@ -213,10 +214,10 @@ type rawFileInfo struct {
var rawFileSetKey OnceKey = NewOnceKey("raw file set")
-func getRawFileSet(config Config) *SyncMap[string, rawFileInfo] {
+func getRawFileSet(config Config) *syncmap.SyncMap[string, rawFileInfo] {
return config.Once(rawFileSetKey, func() any {
- return &SyncMap[string, rawFileInfo]{}
- }).(*SyncMap[string, rawFileInfo])
+ return &syncmap.SyncMap[string, rawFileInfo]{}
+ }).(*syncmap.SyncMap[string, rawFileInfo])
}
// ContentFromFileRuleForTests returns the content that was passed to a WriteFileRule for use