From 4495f84f684cb6dad137ce4f3c9926ac79768f74 Mon Sep 17 00:00:00 2001 From: Jooyung Han Date: Tue, 25 Apr 2023 16:39:59 +0900 Subject: Add allowed-deps tests These tests capture - track updatable apexes - do not track apex-only modules - track transitive deps - track external deps (with mark) Bug: 274041915 Test: m nothing Change-Id: I629015f5aa4a1a7627d0ba6d92fd42bb99c96287 --- apex/apex_singleton.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'apex/apex_singleton.go') diff --git a/apex/apex_singleton.go b/apex/apex_singleton.go index 158194937..ebc35cf5c 100644 --- a/apex/apex_singleton.go +++ b/apex/apex_singleton.go @@ -23,7 +23,11 @@ import ( ) func init() { - android.RegisterSingletonType("apex_depsinfo_singleton", apexDepsInfoSingletonFactory) + registerApexDepsInfoComponents(android.InitRegistrationContext) +} + +func registerApexDepsInfoComponents(ctx android.RegistrationContext) { + ctx.RegisterSingletonType("apex_depsinfo_singleton", apexDepsInfoSingletonFactory) } type apexDepsInfoSingleton struct { -- cgit v1.2.3-59-g8ed1b