commit | 5789858aa86c014e14fad0d50e0b3af274907032 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Thu Oct 29 18:25:19 2020 -0700 |
committer | Colin Cross <ccross@android.com> | Tue Nov 17 10:50:19 2020 -0800 |
tree | 70235a0a69bdb62fdf4213024d53fabd578cd68b | |
parent | 121292911ada0a830f2ad6d83e2f393997939149 [diff] [blame] |
Register the kythe singleton on the Context instead of globally Test: all soong tests Change-Id: Ief43ff51e66db2d3c895b2a6952385e31b9d669b
diff --git a/cc/cc.go b/cc/cc.go index 5e4faf2..e887fcf 100644 --- a/cc/cc.go +++ b/cc/cc.go
@@ -88,7 +88,7 @@ ctx.TopDown("double_loadable", checkDoubleLoadableLibraries).Parallel() }) - android.RegisterSingletonType("kythe_extract_all", kytheExtractAllFactory) + ctx.RegisterSingletonType("kythe_extract_all", kytheExtractAllFactory) } type Deps struct {