Age | Commit message (Collapse) | Author |
|
|
|
"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
|
|
|
|
|
|
|
|
Cherry-picked from chromium
https://chromium.googlesource.com/android_tools/+/ea176cccda8edad9ca2cea99f27b1a28a5c222fe
Change-Id: Ifdf27ef129ca0fdb47946f13c7749fca35ccfdb4
|
|
Cherry-pick libcxx trunk@227226.
See http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20150126/122194.html
Change-Id: I7d515fadb89db0fc539d8ea4a1b7f7c0aa68c617
|
|
|
|
Change-Id: I4b00361fd66e67e8e59349e5705f13b7c18463ac
|
|
|
|
|
|
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
|
|
|
|
Change-Id: Iedc1f0792ab31a20f9cd1c9cb4a67aa43198acb8
|
|
|
|
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
|
|
To apply to both C and C++ code
Needed by https://android-review.googlesource.com/#/c/123330
Change-Id: Ieb61c28d3bc9dbea4ffb90b37d97235715ccd5a8
|
|
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>
|
|
|
|
|
|
Add this constraint to make sure collate::compare can meet spec requirement.
Change-Id: I1563fe29734a825353f80d4e9f9a2b4f8424e107
|
|
For details, please, refer to f91d44c1ad581021f2e33aad7918b83fbafdbf40
Signed-off-by: Alexander Ivchenko <alexander.ivchenko@intel.com>
Change-Id: Ic9af37f43adf4684e81555ba94692e9a084ff507
|
|
|
|
|
|
Change-Id: I994283f8182a0162f9a02be6a9087735ec8195ff
|
|
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>
|
|
|
|
Change-Id: I49c03b691eadfbcf4bc98865ac2077964c259c1f
|
|
|
|
|
|
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
|
|
See b.android.com/81440
Change-Id: I1753662c9334c4d3d2df8737e7bfe1eb48ebd389
|
|
|
|
Fix build broken for abcc and use gcc-4.9 to
compile 32bit/64bit device toolchains.
Change-Id: If0a1054a6379a86e01659af0f539fb45b6a36330
|
|
|
|
|
|
Change-Id: Ibaddeb24920739eb11b0412972b0cac3e5280c69
|
|
This fixes x86 ndk testsuite test-stlport.
Change-Id: I9ae9c3865c29cf43e695d0cec212fcad1ddc3aee
|
|
|
|
|
|
|
|
|
|
Change-Id: Id04127a7e80cb0d64af97904e40a968755d21ddd
|
|
|
|
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
|
|
|
|
Change-Id: I97f14aeb71c0c0b4ff99a6dcc5d95e2d34dedea1
|
|
|
|
|
|
Change-Id: I7ca87f29bd18e129c37a6b26d1d1482798866ccf
|