From 81f1da48bcc692127fbce589344ac4cfe34d6776 Mon Sep 17 00:00:00 2001 From: Akilesh Kailash Date: Thu, 23 May 2024 10:23:32 -0700 Subject: [PATCH] create_snapshot: Build the binary as static Build it statically so that it gets easy to be deployed in lab host without additional shared dependency. Bug: 342328623 Test: Build create_snapshot; ldd create_snapshot Change-Id: Ie788ba34bfff38cf78f29ad41d912dcad3bf77de Signed-off-by: Akilesh Kailash --- fs_mgr/libsnapshot/Android.bp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fs_mgr/libsnapshot/Android.bp b/fs_mgr/libsnapshot/Android.bp index 914b4a63f..402eb8216 100644 --- a/fs_mgr/libsnapshot/Android.bp +++ b/fs_mgr/libsnapshot/Android.bp @@ -503,6 +503,8 @@ cc_binary { enabled: false, }, }, + stl: "libc++_static", + static_executable: true, } python_library_host {