From 18407b787026fdf7a03c7b2d31fd6956ad5ab45c Mon Sep 17 00:00:00 2001 From: Jooyung Han Date: Sat, 24 Feb 2024 09:16:35 +0900 Subject: [PATCH] init: move generated_android_ids to host_init_verifier It's used only by host_init_verifier. This is to remove the unnecessary dependency from clients of init_host_defaults. Bug: 326509378 Test: mmma system/core/init Change-Id: I983fbfe616f0bcb87940c934e19f614d3bf51030 --- init/Android.bp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/init/Android.bp b/init/Android.bp index 2d16f60c9..c3abefe14 100644 --- a/init/Android.bp +++ b/init/Android.bp @@ -597,7 +597,6 @@ cc_defaults { }, generated_headers: [ "generated_stub_builtin_function_map", - "generated_android_ids", ], target: { android: { @@ -613,6 +612,9 @@ cc_binary { name: "host_init_verifier", defaults: ["init_host_defaults"], srcs: ["host_init_verifier.cpp"] + init_common_sources + init_host_sources, + generated_headers: [ + "generated_android_ids", + ], } cc_library_host_static {