OSDN Git Service

Add and use public.libraries.buildbot.txt file.
authorNicolas Geoffray <ngeoffray@google.com>
Thu, 28 Apr 2016 10:58:03 +0000 (11:58 +0100)
committerNicolas Geoffray <ngeoffray@google.com>
Thu, 28 Apr 2016 10:58:03 +0000 (11:58 +0100)
Needed after the latest NativeLoader changes.

Change-Id: Ia80ebe85ccfc702470eebe6daa9d675abcf8014d

tools/buildbot-build.sh
tools/public.libraries.buildbot.txt [new file with mode: 0644]

index 2eb52bc..304c2a9 100755 (executable)
@@ -46,9 +46,14 @@ while true; do
 done
 
 if [[ $mode == "host" ]]; then
-  make_command="make $j_arg $showcommands build-art-host-tests $common_targets ${out_dir}/host/linux-x86/lib/libjavacoretests.so ${out_dir}/host/linux-x86/lib64/libjavacoretests.so"
+  make_command="make $j_arg $showcommands build-art-host-tests $common_targets"
+  make_command+=" ${out_dir}/host/linux-x86/lib/libjavacoretests.so "
+  make_command+=" ${out_dir}/host/linux-x86/lib64/libjavacoretests.so"
 elif [[ $mode == "target" ]]; then
-  make_command="make $j_arg $showcommands build-art-target-tests $common_targets libjavacrypto libjavacoretests linker toybox toolbox sh ${out_dir}/host/linux-x86/bin/adb libstdc++"
+  make_command="make $j_arg $showcommands build-art-target-tests $common_targets"
+  make_command+=" libjavacrypto libjavacoretests linker toybox toolbox sh"
+  make_command+=" ${out_dir}/host/linux-x86/bin/adb libstdc++ "
+  make_command+=" ${out_dir}/target/product/${TARGET_PRODUCT}/system/etc/public.libraries.txt"
 fi
 
 echo "Executing $make_command"
diff --git a/tools/public.libraries.buildbot.txt b/tools/public.libraries.buildbot.txt
new file mode 100644 (file)
index 0000000..6251da3
--- /dev/null
@@ -0,0 +1,3 @@
+libc.so
+libdl.so
+libm.so