aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-02-24Merge "Fixes to handle adb return value properly"Andrew Hsieh
2015-02-13Fixes to handle adb return value properlyAndrew Hsieh
"adb shell cmd" always return 0 even though when cmd returns non-zero. Fix those instance of adb whose return values are checked to call adb_var_shell* instead. Without this fix, "adb shell test -e /system/bin/app_process32" always return 0 on pre-L devices, and causes ndk-gdb to use the non-existance app_process32 and fail Change-Id: I1e8925dc989009859cf5c02a2fb92655864f1d7b
2015-02-13Merge "Fixed regressions in cc_perftests"Andrew Hsieh
2015-02-13Merge "Use APP_PROJECT_PATH if NDK_PROJECT_PATH isn't set"Andrew Hsieh
2015-02-13Merge "Workaround __wrap_iter for GCC"Andrew Hsieh
2015-02-02Fixed regressions in cc_perftestsFabrice de Gans-Riberi
Cherry-picked from chromium https://chromium.googlesource.com/android_tools/+/ea176cccda8edad9ca2cea99f27b1a28a5c222fe Change-Id: Ifdf27ef129ca0fdb47946f13c7749fca35ccfdb4
2015-02-02Workaround __wrap_iter for GCCNico Weber
Cherry-pick libcxx trunk@227226. See http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20150126/122194.html Change-Id: I7d515fadb89db0fc539d8ea4a1b7f7c0aa68c617
2015-02-02Merge "Allow building .asm files for x86_64 as well"Andrew Hsieh
2015-02-01Allow building .asm files for x86_64 as wellMartin Storsjo
Change-Id: I4b00361fd66e67e8e59349e5705f13b7c18463ac
2015-01-29Merge "Add -target-api N to llvm-rs-cc"Andrew Hsieh
2015-01-29Merge "Fix --visible-static"Andrew Hsieh
2015-01-29Use APP_PROJECT_PATH if NDK_PROJECT_PATH isn't setAndrew Hsieh
APP_PROJECT_PATH is documented as an absolute path to project root directory but it doesn't work as intended because currently ndk-build uses NDK_PROJECT_PATH instead. NDK_PROJECT_PATH cannot be replaced with APP_PROJECT_PATH because SDK integration (where NDK_PROJECT_PATH=null tells ndk-build to stop searching for Android.mk because SDK always explicitly provides it via APP_BUILD_SCRIPT) This CL simpliy sets empty NDK_PROJECT_PATH to APP_PROJECT_PATH, and check consistency when both are set. Change-Id: I373f333f0787ad0a5d2ceddd4f18262ab085425d
2015-01-29Merge "Remove unused variable."Dan Albert
2015-01-28Remove unused variable.Dan Albert
Change-Id: Iedc1f0792ab31a20f9cd1c9cb4a67aa43198acb8
2015-01-27Merge "Three fixes for ndk-gdb and ndk-gdb.py:"Andrew Hsieh
2015-01-23Add -target-api N to llvm-rs-ccAndrew Hsieh
Otherwise HelloComputeNDK compiled by r10c/r10d's llvm-rs-cc (whose target-api is set to 21) may crash on device running API 19. E/bcinfo (28302): Invalid API version: 21 is out of range ('11' - '19') E/RenderScript(28302): Failed to translate bitcode from version: 21 E/rsC++ (28302): Internal error: Object id 0. BUG=19093878 Also see http://stackoverflow.com/questions/28057049/targeting-pre-lollipop-devices-using-renderscript-from-ndk-c Change-Id: I790bce551be957114a60986a9e4b9b9e9f9eeb67
2015-01-23Fix --visible-staticAndrew Hsieh
To apply to both C and C++ code Needed by https://android-review.googlesource.com/#/c/123330 Change-Id: Ieb61c28d3bc9dbea4ffb90b37d97235715ccd5a8
2015-01-22Three fixes for ndk-gdb and ndk-gdb.py:Alexander Ivchenko
1) Always try to use app_process32/app_process64 to avoid pulling symlinks (this does not work on win hosts). 2) Don't change the name of linker64 when pulling it from the device (otherwise symbols from linker64 are not being loaded in 64-bit case). 3) Always pull app_process32/app_process64 as app_process to avoid inconsistency. Change-Id: I1e4f066b77ee2fc37b879c1a1924b8396921539c Signed-off-by: Alexander Ivchenko <alexander.ivchenko@intel.com>
2015-01-20Merge "Constrain return value of __lexicographical_compare_3way"Andrew Hsieh
2015-01-20Merge "Fix ndk-gdb.py for debugging applications on x86_64"Andrew Hsieh
2015-01-20Constrain return value of __lexicographical_compare_3wayPen-Yung Yu
Add this constraint to make sure collate::compare can meet spec requirement. Change-Id: I1563fe29734a825353f80d4e9f9a2b4f8424e107
2015-01-19Fix ndk-gdb.py for debugging applications on x86_64Alexander Ivchenko
For details, please, refer to f91d44c1ad581021f2e33aad7918b83fbafdbf40 Signed-off-by: Alexander Ivchenko <alexander.ivchenko@intel.com> Change-Id: Ic9af37f43adf4684e81555ba94692e9a084ff507
2015-01-16Merge "Fix ndk-gdb for debugging applications on x86_64"Andrew Hsieh
2015-01-16Merge "Misc fix for abcc."Andrew Hsieh
2015-01-16Misc fix for abcc.Lai Wei-Chih
Change-Id: I994283f8182a0162f9a02be6a9087735ec8195ff
2015-01-15Fix ndk-gdb for debugging applications on x86_64Alexander Ivchenko
This patch fixes several issues: 1) Use ro.product.cpu.abilist64 and ro.product.cpu.abilist32 instead of ro.product.cpu.abi and ro.product.cpu.abi2. The latter ones for x86_64 do not contain x86 abi. 2) Pull app_process32 instead pf app_process when debugging 32-bit app on 64-bit device. 3) Pull linker64 for 64-bit. 4) Pull lib64/libc.so for 64-bit. 5) We have to push the gdbserver that matches the ABI of the app AND the ABI of the device, not just the one that matches the ABI of the device. Change-Id: Ibb0f264fdd007cb2a84aad87bcb396d24e2092e7 Signed-off-by: Alexander Ivchenko <alexander.ivchenko@intel.com>
2015-01-13Merge "Fix NDK build called from top-level script rebuild-all-prebuilt.sh"Andrew Hsieh
2015-01-09Fix NDK build called from top-level script rebuild-all-prebuilt.shAndrew Hsieh
Change-Id: I49c03b691eadfbcf4bc98865ac2077964c259c1f
2015-01-09Merge "Rename internal ABI mipsr6 as mips32r6"Andrew Hsieh
2015-01-09Merge "Add testcase for issue 81440 about clang crash on non-ascii comments"Andrew Hsieh
2015-01-07Rename internal ABI mipsr6 as mips32r6Andrew Hsieh
The 32-bit r6 should really be named as mips32r6 Note that r6 is the default for mips64 See comment in https://android-review.googlesource.com/#/c/116410/3/core/binary.mk for details Change-Id: I2bd095d226413ae9f91f054c43f3c35a9ebaeea2
2015-01-07Add testcase for issue 81440 about clang crash on non-ascii commentsAndrew Hsieh
See b.android.com/81440 Change-Id: I1753662c9334c4d3d2df8737e7bfe1eb48ebd389
2014-12-30Merge "Fix abcc build broken."Andrew Hsieh
2014-12-30Fix abcc build broken.Lai Wei-Chih
Fix build broken for abcc and use gcc-4.9 to compile 32bit/64bit device toolchains. Change-Id: If0a1054a6379a86e01659af0f539fb45b6a36330
2014-12-19Merge "Refine source to isolate .asm from unknown arch."Andrew Hsieh
2014-12-19Merge "Fix x86/64 default attribute on unknown arch."Andrew Hsieh
2014-12-19Refine source to isolate .asm from unknown arch.WenHan Gu
Change-Id: Ibaddeb24920739eb11b0412972b0cac3e5280c69
2014-12-19Fix x86/64 default attribute on unknown arch.WenHan Gu
This fixes x86 ndk testsuite test-stlport. Change-Id: I9ae9c3865c29cf43e695d0cec212fcad1ddc3aee
2014-12-19Merge "ndk-gdb: add a command-line switch to allow overriding of package name"Andrew Hsieh
2014-12-19Merge "Enable indirect functions when building gcc."Andrew Hsieh
2014-12-19Merge "Refine testcase to fix inconsistence between portable/native header."Andrew Hsieh
2014-12-19Merge "Don't build libc++abi on unknown arch due to assembly file."Andrew Hsieh
2014-12-19Refine testcase to fix inconsistence between portable/native header.WenHan Gu
Change-Id: Id04127a7e80cb0d64af97904e40a968755d21ddd
2014-12-19Merge "Remove host sed"Andrew Hsieh
2014-12-18Remove host sedAndrew Hsieh
prebuilt/*/bin/sed* aren't used, not even in user-facing scripts like ndk-gdb and build/awk/gen-cygwin-deps-converter.awk BUG=18590813 Change-Id: I2f05d3152c5e12f69e677547a25b050c9c6b57e1
2014-12-18Merge "Remove GCC 4.6 setup.mk and config.mk"Andrew Hsieh
2014-12-18Remove GCC 4.6 setup.mk and config.mkAndrew Hsieh
Change-Id: I97f14aeb71c0c0b4ff99a6dcc5d95e2d34dedea1
2014-12-18Merge "Refresh mclinker local patches"Andrew Hsieh
2014-12-18Merge "Remove GCC 4.6"Andrew Hsieh
2014-12-18Refresh mclinker local patchesAndrew Hsieh
Change-Id: I7ca87f29bd18e129c37a6b26d1d1482798866ccf