summaryrefslogtreecommitdiff
path: root/android/singleton.go
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2019-02-07 08:57:26 -0800
committer Colin Cross <ccross@android.com> 2019-02-07 08:57:26 -0800
commit76e3e1f55461869fc66403b1c643dccde3e02c9f (patch)
tree042d3eb67d4814c7778c4dfe26b506cdc34637be /android/singleton.go
parent6e8fe6feb16ee95187d37cfe8084d46290f0e826 (diff)
Use a presingleton to create hiddenapi singleton paths early
If no module uses hiddenapi (because it is an unbundled build that does not build any boot image modules), then the makevars singleton panics because it will always run before the hiddenapi singleton (due to package init() function ordering), and the hiddenapi singleton paths have not been initialized yet. Add a presingleton to initialize the paths early. Bug: 123645297 Test: tapas Launcher3 && m on unbundled branch Change-Id: I9386ac87848a2181f51140129288df80fff9acfd
Diffstat (limited to 'android/singleton.go')
0 files changed, 0 insertions, 0 deletions