Age | Commit message (Collapse) | Author |
|
To determin project path, ndk-build searches parent directory
(recursively) if current doesn't have jni/Android.mk or AndroidManifest.xml.
In that case, path is expanded to absolute, eg.
C:\android-ndk\samples\hello-jni\\AndroidManifest.xml, and the \\ may fail
subsequent $(wildcard ...). Remove trailing / in project path.
See b.android.com/160584
Change-Id: I234b065df9bb10a10e183234dffd92299699566b
|
|
Change-Id: Ia05e441e5d4876dccb2658816c80b394ae81c834
|
|
3 more files: COPYING3, COPYING3.LIB and COPYING.RUNTIME
Change-Id: I207c3d24ced01ab8f5b28fea07c1b0c49bf95656
|
|
|
|
|
|
|
|
|
|
are no longer needed.
Change-Id: I2213255d80a223de33dd12b0be0179c59c27c739
|
|
Change-Id: I03e7146e445cec3f99781c19c8a204f6bf4805cf
|
|
Fix the patch to apply on gcc revision
7e8c3dad070b469494f5e8e09ee73cd99bb84c12.
|
|
Also compile all ld.gold with --enable-threads which adds two
options
--threads Run the linker multi-threaded
--no-threads Do not run the linker multi-threaded [default]
Change-Id: I6fd6fc9715e87bfa4984d9fad45b17dfd3198e4f
|
|
x86/x86_64 compilers since r10d stop adding -mstackrealign
implicitly for performance reason: compilers assume stack is properly
aligned BEFORE call, and manipulate stack pointer to observe this
invariance already. This does assume stack pointer is properly aligned
to begin with, and there is no rogue hand-coded assembly in the call
chains...
Unfortunately not all x86-based device call JNI with stack 16-byte
aligned (eg. ASUS_T00F). This CL compiles x86 prebuilt STL libraries
with -mstackrealign regardless.
Note that x86 STL libraries in r10d already compiled with -mstackrealign
Change-Id: I7a74799b5a5d845672b0206954829eb46e81fd78
|
|
Change-Id: I78abd8e818fbf212e8408275f7ebec6e975ea075
|
|
Fixes for mips64 and/or r6 are only backported to 2.25
Change-Id: I9f5ddb48fa880489144a7a15e04810dff9e53b90
|
|
|
|
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
|
|
Change-Id: I994283f8182a0162f9a02be6a9087735ec8195ff
|
|
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
|
|
Fix build broken for abcc and use gcc-4.9 to
compile 32bit/64bit device toolchains.
Change-Id: If0a1054a6379a86e01659af0f539fb45b6a36330
|
|
|
|
|
|
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: I7ca87f29bd18e129c37a6b26d1d1482798866ccf
|
|
Change-Id: I840e7a2183e956e27e5dd93357ef2a2dd49fd40b
|
|
Outputs of commands wrapped in run() can be suppressed if no --verbose
is specified nor environment variable NDK_LOGFILE, including
error messages caused by disk full.
Run() is perfect in tracking toolchain build, but not for user-facing
script like make-standalone-toolchain.sh
BUG=18597324
Change-Id: I33d3a1496f44c768d2cc211ec4b18246d037bfbb
|
|
This way we will not need any local patches for ifuncs when
pulling gcc-5.x.
Change-Id: I98bed3a405c8e72e734285e170801c05c42fc416
Signed-off-by: Alexander Ivchenko <alexander.ivchenko@intel.com>
|
|
Use GCC 4.8 (Current default) instead of the first GCC 4.6 which is
deprecated. The only downside observed so far is inconsistent DIV Tag
between A15 (via -mcpu=cortex-a15) object by GCC4.6/binutils-2.21
and crt*.o by GCC4.8/binutils-2.24.
Change-Id: Ibc9db06a4bd8b1ae1d8a7d3846eb8c28c47ff4e7
|
|
Change-Id: Id8d211ae7ca41276ad0a3fbd0fd31097c0d6f7e3
|
|
1. corrected path of 2 files filtered out
2. Since now pattern contain two '/', fix filter_out to replace all '/'
with '\/', not just the first
Change-Id: I52d132074cce53ff1dc8289705ab56599e8118b5
|
|
Change-Id: If1523598f790f48d4352980bcbde71ccbe696748
|
|
Turn off integrated-as by default for clang >= 3.5 due to ill-formed object it
produces involving inline-assembly .pushsection/.popsection which crashes ld.gold
Unless clang3.5 or above is used to compile compiler-rt
BUG=18589643
Change-Id: I1fb62337dbbb11b458c633821bb615babddce26e
|
|
This is internal-only ABI for -mips32r6 enough to generate
mips32r6 STL libraries in prebuilts/ndk. "mips" (r1) remains the
only supported 32-bit ABI for MIPS
Change-Id: I2ede51fccd57680d1405749da80ad837e2816795
|
|
Change-Id: Ib7939450525986360cb45dc61afba592f2a748e1
|
|
Change-Id: Ia4a92eaa529a1bd9e58b07b097a9ab2f5e74c360
|
|
This won't break correctness.
Change-Id: Ie7c9c4707aa73f2da2f59f8ad0c695e4d05aad67
|
|
Change-Id: Idf06ce5685bb3e14a5b532ade1d2d9026731fa2e
|
|
Change-Id: Ic93b532a3a20266f7fa94233b829072dedcfa969
|
|
1. Remove hack for server where android-13,15,17 were missing
2. Remove --disable-libquadmath
3. Fixed build-gnu-libstdc++.sh thumb build where
"-ffunction-sections -fdata-sections" were dropped
4. Fixed llvm clang3.5/windows build where mingw-64 complains about -fPIC
5. Fixed bashism in make-standalone-toolchain.sh
6. Fixed "package-release.sh --separate-64"
7. Relaxed patch-sources.sh against non-existance patch directory
8. Refresh build/tools/toolchain-patches/gcc/0010-Fix-PR-target-63209.patch
9. Fixed warning about unused vars in cpu-features.c
10. Fixed sources/android/support/Android.mk about -fvisibility-inlines-hidden
is only foo C++
11. Fixed tests/build/check-armeabi-v7a-prebuilts/build.sh on MacOSX 10.6.8
12. Fixed tests/build/issue64679-prctl/build.sh to include GLES2/gl2ext.h
which can be compiled alone now
13. Excluded tests/device/b8708181-Vector4/jni/Vector4.cpp from clang3.4
14. Removed some comments in tests/device/test-libc++-*-full/jni/Android.mk
15. misc run-test.sh fixes
16. Disable integrated-as for clang in tests/build/issue79115-confusing-ld.gold-warning
Change-Id: I0afb2c00642dd61d81fd4842532d1b3c4029655b
|
|
The function actually perform larger-or-equal
Also remove unused bh_version_is_greater_than() and dependencies
Change-Id: I0dbb966acef8e72bd8fd9cffb1fb291e3331ba41
|
|
Move to a new function dereference_symlink
Change-Id: Id775d345639ecdf79ea5d3db07d1b3012fb26068
|
|
Cherry-pick from https://code.google.com/p/android/issues/detail?id=25412#c19
by darkcube
See b.android.com/77575
Change-Id: I6f0a324ec6dd5f70b6f2e8114f08014ba056e676
|
|
Add get_first_gcc_version_for_arch and set to GCC 4.6 for 32-bit ABIs
while it's still around (deprecated but will be removed in 1-2 release)
Change-Id: I035c3b46ffb6c5aacf92893b920623acbae1719c
|
|
|