Split out common part of linker script.
Bug: 223166344
Test: atest vmbase_example.integration_test
Change-Id: Idaf10e631ba33fcc7026c4e2f603778186215667
diff --git a/vmbase/example/Android.bp b/vmbase/example/Android.bp
index d540f4d..c75820c 100644
--- a/vmbase/example/Android.bp
+++ b/vmbase/example/Android.bp
@@ -40,7 +40,10 @@
nocrt: true,
system_shared_libs: ["libc"],
stl: "none",
- linker_scripts: ["image.ld"],
+ linker_scripts: [
+ "image.ld",
+ ":vmbase_sections",
+ ],
installable: false,
enabled: false,
target: {