aboutsummaryrefslogtreecommitdiffstats
path: root/Android.bp
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2017-11-28 17:34:01 -0800
committerColin Cross <ccross@android.com>2017-11-29 05:04:30 +0000
commit0875c52de753b858b74a9ac285626536bee9cb57 (patch)
treef103285f38b0fab1b498eadc0d6ef2a42671e7a5 /Android.bp
parentf2a56f0e0d1394f19c9c9bd31d700d3ff9b198fb (diff)
downloadbuild_soong-0875c52de753b858b74a9ac285626536bee9cb57.tar.gz
build_soong-0875c52de753b858b74a9ac285626536bee9cb57.tar.bz2
build_soong-0875c52de753b858b74a9ac285626536bee9cb57.zip
Wrap PackageContext and SingletonContext
Wrap blueprint.PackageContext so that the *Func methods can provide an android.Config instead of an interface{}. The modified signatures means that every method in ModuleContext and SingletonContext that takes a blueprint.PackageContext now needs to be wrapped to take an android.PackageContext. SingletonContext wasn't previously wrapped at all, but as long as it is, wrap everything like ModuleContext does. This requires updating every Singleton to use the android-specific methods. Test: builds, all Soong tests pass Change-Id: I4f22085ebca7def6c5cde49e8210b59d994ba625
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index d32c9572..886d63d4 100644
--- a/Android.bp
+++ b/Android.bp
@@ -56,6 +56,7 @@ bootstrap_go_package {
"android/prebuilt.go",
"android/proto.go",
"android/register.go",
+ "android/singleton.go",
"android/testing.go",
"android/util.go",
"android/variable.go",