rm -f {NDK}/debug/lib/arm64-v8a/lib*.so
rm -f {NDK}/debug/lib/arm64-v8a/gdbserver
rm -f {NDK}/debug/lib/arm64-v8a/gdb.setup
mkdir -p {NDK}/debug/obj/local/arm64-v8a/objs/sample1
echo [arm64-v8a] "Compile++      ": "sample1 <= sample1.cc"
{NDK}/ndk-bundle/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-android-g++ -MMD -MP -MF {NDK}/debug/obj/local/arm64-v8a/objs/sample1/sample1.o.d -fpic -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes  -g -fno-exceptions -fno-rtti -O2 -DNDEBUG  -I{NDK}/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include -I{NDK}/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/arm64-v8a/include -I{NDK}/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/backward -I{HOME}/projects/NdkBuildTestApplication/app/sample/jni -DANDROID  -Wa,--noexecstack -Wformat -Werror=format-security      -isystem {NDK}/ndk-bundle/platforms/android-23/arch-arm64/usr/include -c  {HOME}/projects/NdkBuildTestApplication/app/sample/jni/sample1.cc -o {NDK}/debug/obj/local/arm64-v8a/objs/sample1/sample1.o
mkdir -p {NDK}/debug/obj/local/arm64-v8a
echo [arm64-v8a] "Prebuilt       ": "libgnustl_shared.so <= <NDK>/sources/cxx-stl/gnu-libstdc++/4.9/libs/arm64-v8a/"
cp -f {NDK}/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/arm64-v8a/libgnustl_shared.so {NDK}/debug/obj/local/arm64-v8a/libgnustl_shared.so
echo [arm64-v8a] "SharedLibrary  ": "libsample1.so"
{NDK}/ndk-bundle/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-android-g++ -Wl,-soname,libsample1.so -shared --sysroot={NDK}/ndk-bundle/platforms/android-23/arch-arm64 {NDK}/debug/obj/local/arm64-v8a/objs/sample1/sample1.o -lgcc {NDK}/debug/obj/local/arm64-v8a/libgnustl_shared.so -no-canonical-prefixes  -Wl,--build-id -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--warn-shared-textrel -Wl,--fatal-warnings  {NDK}/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/arm64-v8a/libsupc++.a -lc -lm -o {NDK}/debug/obj/local/arm64-v8a/libsample1.so
mkdir -p {NDK}/debug/lib/arm64-v8a
echo [arm64-v8a] "Install        ": "libsample1.so => {NDK}/debug/lib/arm64-v8a/libsample1.so"
install -p {NDK}/debug/obj/local/arm64-v8a/libsample1.so {NDK}/debug/lib/arm64-v8a/libsample1.so
{NDK}/ndk-bundle/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-android-strip --strip-unneeded  {NDK}/debug/lib/arm64-v8a/libsample1.so
mkdir -p {NDK}/debug/obj/local/arm64-v8a/objs/sample1_unittest
echo [arm64-v8a] "Compile++      ": "sample1_unittest <= sample1_unittest.cc"
{NDK}/ndk-bundle/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-android-g++ -MMD -MP -MF {NDK}/debug/obj/local/arm64-v8a/objs/sample1_unittest/sample1_unittest.o.d -fpic -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes  -g -fno-exceptions -fno-rtti -O2 -DNDEBUG  -I{NDK}/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include -I{NDK}/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/arm64-v8a/include -I{NDK}/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/backward -I{NDK}/ndk-bundle/sources/third_party/googletest/googletest/include -I{HOME}/projects/NdkBuildTestApplication/app/sample/jni -DANDROID -fPIE -Wa,--noexecstack -Wformat -Werror=format-security -fPIE      -isystem {NDK}/ndk-bundle/platforms/android-23/arch-arm64/usr/include -c  {HOME}/projects/NdkBuildTestApplication/app/sample/jni/sample1_unittest.cc -o {NDK}/debug/obj/local/arm64-v8a/objs/sample1_unittest/sample1_unittest.o
mkdir -p {NDK}/debug/obj/local/arm64-v8a/objs/googletest_main/src
echo [arm64-v8a] "Compile++      ": "googletest_main <= gtest_main.cc"
{NDK}/ndk-bundle/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-android-g++ -MMD -MP -MF {NDK}/debug/obj/local/arm64-v8a/objs/googletest_main/src/gtest_main.o.d -fpic -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes  -g -fno-exceptions -fno-rtti -O2 -DNDEBUG  -I{NDK}/ndk-bundle/sources/third_party/googletest/googletest/include -I{NDK}/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include -I{NDK}/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/arm64-v8a/include -I{NDK}/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/backward -I{NDK}/ndk-bundle/sources/third_party/googletest/googletest -DANDROID  -Wa,--noexecstack -Wformat -Werror=format-security      -isystem {NDK}/ndk-bundle/platforms/android-23/arch-arm64/usr/include -c  {NDK}/ndk-bundle/sources/third_party/googletest/googletest/src/gtest_main.cc -o {NDK}/debug/obj/local/arm64-v8a/objs/googletest_main/src/gtest_main.o
echo [arm64-v8a] "StaticLibrary  ": "libgoogletest_main.a"
rm -f {NDK}/debug/obj/local/arm64-v8a/libgoogletest_main.a
{NDK}/ndk-bundle/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-android-gcc-ar crsD {NDK}/debug/obj/local/arm64-v8a/libgoogletest_main.a {NDK}/debug/obj/local/arm64-v8a/objs/googletest_main/src/gtest_main.o
mkdir -p {NDK}/debug/obj/local/arm64-v8a/objs/googletest_static/src
echo [arm64-v8a] "Compile++      ": "googletest_static <= gtest-death-test.cc"
{NDK}/ndk-bundle/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-android-g++ -MMD -MP -MF {NDK}/debug/obj/local/arm64-v8a/objs/googletest_static/src/gtest-death-test.o.d -fpic -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes  -g -fno-exceptions -fno-rtti -O2 -DNDEBUG  -I{NDK}/ndk-bundle/sources/third_party/googletest/googletest/include -I{NDK}/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include -I{NDK}/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/arm64-v8a/include -I{NDK}/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/backward -I{NDK}/ndk-bundle/sources/third_party/googletest/googletest -DANDROID  -Wa,--noexecstack -Wformat -Werror=format-security      -isystem {NDK}/ndk-bundle/platforms/android-23/arch-arm64/usr/include -c  {NDK}/ndk-bundle/sources/third_party/googletest/googletest/src/gtest-death-test.cc -o {NDK}/debug/obj/local/arm64-v8a/objs/googletest_static/src/gtest-death-test.o
echo [arm64-v8a] "Compile++      ": "googletest_static <= gtest-filepath.cc"
{NDK}/ndk-bundle/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-android-g++ -MMD -MP -MF {NDK}/debug/obj/local/arm64-v8a/objs/googletest_static/src/gtest-filepath.o.d -fpic -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes  -g -fno-exceptions -fno-rtti -O2 -DNDEBUG  -I{NDK}/ndk-bundle/sources/third_party/googletest/googletest/include -I{NDK}/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include -I{NDK}/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/arm64-v8a/include -I{NDK}/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/backward -I{NDK}/ndk-bundle/sources/third_party/googletest/googletest -DANDROID  -Wa,--noexecstack -Wformat -Werror=format-security      -isystem {NDK}/ndk-bundle/platforms/android-23/arch-arm64/usr/include -c  {NDK}/ndk-bundle/sources/third_party/googletest/googletest/src/gtest-filepath.cc -o {NDK}/debug/obj/local/arm64-v8a/objs/googletest_static/src/gtest-filepath.o
echo [arm64-v8a] "Compile++      ": "googletest_static <= gtest-port.cc"
{NDK}/ndk-bundle/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-android-g++ -MMD -MP -MF {NDK}/debug/obj/local/arm64-v8a/objs/googletest_static/src/gtest-port.o.d -fpic -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes  -g -fno-exceptions -fno-rtti -O2 -DNDEBUG  -I{NDK}/ndk-bundle/sources/third_party/googletest/googletest/include -I{NDK}/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include -I{NDK}/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/arm64-v8a/include -I{NDK}/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/backward -I{NDK}/ndk-bundle/sources/third_party/googletest/googletest -DANDROID  -Wa,--noexecstack -Wformat -Werror=format-security      -isystem {NDK}/ndk-bundle/platforms/android-23/arch-arm64/usr/include -c  {NDK}/ndk-bundle/sources/third_party/googletest/googletest/src/gtest-port.cc -o {NDK}/debug/obj/local/arm64-v8a/objs/googletest_static/src/gtest-port.o
echo [arm64-v8a] "Compile++      ": "googletest_static <= gtest-printers.cc"
{NDK}/ndk-bundle/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-android-g++ -MMD -MP -MF {NDK}/debug/obj/local/arm64-v8a/objs/googletest_static/src/gtest-printers.o.d -fpic -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes  -g -fno-exceptions -fno-rtti -O2 -DNDEBUG  -I{NDK}/ndk-bundle/sources/third_party/googletest/googletest/include -I{NDK}/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include -I{NDK}/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/arm64-v8a/include -I{NDK}/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/backward -I{NDK}/ndk-bundle/sources/third_party/googletest/googletest -DANDROID  -Wa,--noexecstack -Wformat -Werror=format-security      -isystem {NDK}/ndk-bundle/platforms/android-23/arch-arm64/usr/include -c  {NDK}/ndk-bundle/sources/third_party/googletest/googletest/src/gtest-printers.cc -o {NDK}/debug/obj/local/arm64-v8a/objs/googletest_static/src/gtest-printers.o
echo [arm64-v8a] "Compile++      ": "googletest_static <= gtest-test-part.cc"
{NDK}/ndk-bundle/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-android-g++ -MMD -MP -MF {NDK}/debug/obj/local/arm64-v8a/objs/googletest_static/src/gtest-test-part.o.d -fpic -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes  -g -fno-exceptions -fno-rtti -O2 -DNDEBUG  -I{NDK}/ndk-bundle/sources/third_party/googletest/googletest/include -I{NDK}/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include -I{NDK}/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/arm64-v8a/include -I{NDK}/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/backward -I{NDK}/ndk-bundle/sources/third_party/googletest/googletest -DANDROID  -Wa,--noexecstack -Wformat -Werror=format-security      -isystem {NDK}/ndk-bundle/platforms/android-23/arch-arm64/usr/include -c  {NDK}/ndk-bundle/sources/third_party/googletest/googletest/src/gtest-test-part.cc -o {NDK}/debug/obj/local/arm64-v8a/objs/googletest_static/src/gtest-test-part.o
echo [arm64-v8a] "Compile++      ": "googletest_static <= gtest-typed-test.cc"
{NDK}/ndk-bundle/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-android-g++ -MMD -MP -MF {NDK}/debug/obj/local/arm64-v8a/objs/googletest_static/src/gtest-typed-test.o.d -fpic -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes  -g -fno-exceptions -fno-rtti -O2 -DNDEBUG  -I{NDK}/ndk-bundle/sources/third_party/googletest/googletest/include -I{NDK}/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include -I{NDK}/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/arm64-v8a/include -I{NDK}/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/backward -I{NDK}/ndk-bundle/sources/third_party/googletest/googletest -DANDROID  -Wa,--noexecstack -Wformat -Werror=format-security      -isystem {NDK}/ndk-bundle/platforms/android-23/arch-arm64/usr/include -c  {NDK}/ndk-bundle/sources/third_party/googletest/googletest/src/gtest-typed-test.cc -o {NDK}/debug/obj/local/arm64-v8a/objs/googletest_static/src/gtest-typed-test.o
echo [arm64-v8a] "Compile++      ": "googletest_static <= gtest.cc"
{NDK}/ndk-bundle/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-android-g++ -MMD -MP -MF {NDK}/debug/obj/local/arm64-v8a/objs/googletest_static/src/gtest.o.d -fpic -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes  -g -fno-exceptions -fno-rtti -O2 -DNDEBUG  -I{NDK}/ndk-bundle/sources/third_party/googletest/googletest/include -I{NDK}/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include -I{NDK}/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/arm64-v8a/include -I{NDK}/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/backward -I{NDK}/ndk-bundle/sources/third_party/googletest/googletest -DANDROID  -Wa,--noexecstack -Wformat -Werror=format-security      -isystem {NDK}/ndk-bundle/platforms/android-23/arch-arm64/usr/include -c  {NDK}/ndk-bundle/sources/third_party/googletest/googletest/src/gtest.cc -o {NDK}/debug/obj/local/arm64-v8a/objs/googletest_static/src/gtest.o
echo [arm64-v8a] "StaticLibrary  ": "libgoogletest_static.a"
rm -f {NDK}/debug/obj/local/arm64-v8a/libgoogletest_static.a
{NDK}/ndk-bundle/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-android-gcc-ar crsD {NDK}/debug/obj/local/arm64-v8a/libgoogletest_static.a {NDK}/debug/obj/local/arm64-v8a/objs/googletest_static/src/gtest-death-test.o {NDK}/debug/obj/local/arm64-v8a/objs/googletest_static/src/gtest-filepath.o {NDK}/debug/obj/local/arm64-v8a/objs/googletest_static/src/gtest-port.o {NDK}/debug/obj/local/arm64-v8a/objs/googletest_static/src/gtest-printers.o {NDK}/debug/obj/local/arm64-v8a/objs/googletest_static/src/gtest-test-part.o {NDK}/debug/obj/local/arm64-v8a/objs/googletest_static/src/gtest-typed-test.o {NDK}/debug/obj/local/arm64-v8a/objs/googletest_static/src/gtest.o
echo [arm64-v8a] "Executable     ": "sample1_unittest"
{NDK}/ndk-bundle/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-android-g++ -Wl,--gc-sections -Wl,-z,nocopyreloc --sysroot={NDK}/ndk-bundle/platforms/android-23/arch-arm64 -Wl,-rpath-link={NDK}/ndk-bundle/platforms/android-23/arch-arm64/usr/lib -Wl,-rpath-link={NDK}/debug/obj/local/arm64-v8a {NDK}/debug/obj/local/arm64-v8a/objs/sample1_unittest/sample1_unittest.o {NDK}/debug/obj/local/arm64-v8a/libgoogletest_main.a {NDK}/debug/obj/local/arm64-v8a/libgoogletest_static.a -lgcc {NDK}/debug/obj/local/arm64-v8a/libsample1.so {NDK}/debug/obj/local/arm64-v8a/libgnustl_shared.so -no-canonical-prefixes -fPIE -pie -Wl,--build-id -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--warn-shared-textrel -Wl,--fatal-warnings -fPIE -pie  {NDK}/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/arm64-v8a/libsupc++.a -lc -lm -o {NDK}/debug/obj/local/arm64-v8a/sample1_unittest
echo [arm64-v8a] "Install        ": "sample1_unittest => {NDK}/debug/lib/arm64-v8a/sample1_unittest"
install -p {NDK}/debug/obj/local/arm64-v8a/sample1_unittest {NDK}/debug/lib/arm64-v8a/sample1_unittest
{NDK}/ndk-bundle/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-android-strip --strip-unneeded  {NDK}/debug/lib/arm64-v8a/sample1_unittest
echo [arm64-v8a] "Install        ": "libgnustl_shared.so => {NDK}/debug/lib/arm64-v8a/libgnustl_shared.so"
install -p {NDK}/debug/obj/local/arm64-v8a/libgnustl_shared.so {NDK}/debug/lib/arm64-v8a/libgnustl_shared.so
{NDK}/ndk-bundle/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-android-strip --strip-unneeded  {NDK}/debug/lib/arm64-v8a/libgnustl_shared.so