aboutsummaryrefslogtreecommitdiff
path: root/docs
AgeCommit message (Collapse)Author
2019-09-16Revert "Switch to llvm-ar."Dan Albert
This reverts commit 956d55335e056e3e9597c858e80923e2e5871f88. Reason for revert: Broke the mac build. Change-Id: I27af9d69eb1b0f9744cf4f038f5adbc4f779e2b3
2019-09-16docs/BuildSystemMaintainers.md: fix typo.Elliott Hughes
The presubmit typo checker keeps complaining about this. Test: N/A Change-Id: Iba5b4e92de7dee7f7e17fafe277483e9a8f891ac
2019-09-13Merge "ndk-build: turn on --output-sync (-O) by default."Treehugger Robot
2019-09-10Switch to llvm-ar.Dan Albert
Test: ./checkbuild.py && ./run_tests.py Bug: None Change-Id: I8ded26a7f2999120bf7b3b10d246275e7e11d991
2019-09-10ndk-build: turn on --output-sync (-O) by default.Elliott Hughes
"Output from the entire recipe for each target is grouped and printed once the target is complete." https://www.gnu.org/software/make/manual/html_node/Parallel-Output.html Test: treehugger Change-Id: Iaa4c789e6c004248ba630611543bbb57fec65156
2019-09-05Switch to llvm-strip, advocate its use.Dan Albert
Using binutils strip with lld breaks RelRO. Switch to llvm-strip to avoid this issue. This doesn't affect Gradle users because the Android Gradle Plugin performs its own stripping. Gradle users will need to upgrade to AGP 3.6 or newer (the change to fix the plugin has not yet been submitted, but is in review). Test: ./checkbuild.py && ./run_tests.py Test: Compare sizes of all test outputs before and after, no changes Bug: https://github.com/android-ndk/ndk/issues/843 Change-Id: I6710d0bc5dbbdc53bc3a66acccc6ba3d9c9a00f6
2019-09-04Remove Windows LLD --threads workaround.Dan Albert
Test: ./checkbuild.py && ./run_tests.py Bug: https://github.com/android-ndk/ndk/issues/855 Change-Id: I3f404dec7a020db07adbbbdaf03865ca143c9a3c
2019-09-04Merge "Fix build system maintainers guide wrt neon."Treehugger Robot
2019-09-04Fix build system maintainers guide wrt neon.Dan Albert
Test: None Bug: https://github.com/android-ndk/ndk/issues/859 Change-Id: Ib91a7eca6737020e4b379e7ffa6e76e2afec1525
2019-09-04Merge "Remove obsolete doc about `-faddrsig`."Treehugger Robot
2019-09-04Merge "Document `-fstack-protector-strong`."Treehugger Robot
2019-09-04Remove obsolete doc about `-faddrsig`.Dan Albert
Test: None Bug: https://github.com/android-ndk/ndk/issues/884 Change-Id: Ic28588cc1ce433d8ccb0ef39c502479885bcdb61
2019-09-04Document `-fstack-protector-strong`.Dan Albert
Test: None Bug: https://github.com/android-ndk/ndk/issues/944 Change-Id: I202f78f0ac231108dc768928fb764f49f482b112
2019-09-04Cleanup `-fno-experimental-isel`.Dan Albert
The bug has been fixed in Clang. Test: ./checkbuild.py && ./run_tests.py Bug: https://github.com/android-ndk/ndk/issues/1004 Change-Id: I3612ca050dec72327a4ac1f9936e85242a88bd90
2019-08-23Update changelog for further libc++ update.Dan Albert
Test: None Bug: None Change-Id: Ib29d67675f4e10f33d6df74751f6c0d470b5a72c
2019-08-22Merge "Add a description about options available for public.libraries.txt"Treehugger Robot
2019-08-22Add a description about options available for public.libraries.txtJiyong Park
The text file supports options to control bitness (32/64) and preload-ability. Bug: 132911956 Test: N/A Change-Id: I4836652e3614cddc259114baa9d2fa38f137e96d
2019-08-21Merge "Update toolchain doc"Haibo Huang
2019-08-20[NDK] Update Changelog for gdb and glibc upgradeHaibo Huang
Exempt-From-Owner-Approval: rebase Test: read twice Change-Id: I25385befee2e68bf97a488cc89f2ac4bd5335db4
2019-08-20Allow disable NEON in cmake and ndk-buildHaibo Huang
Neon is enabled by default now. Add flags to disable NEON. Also fix / add related tests. Test: checkbuild.py Bug: 139448483 Bug: https://github.com/android-ndk/ndk/issues/962 Change-Id: If21473b00807c82e485aad5bb961086cf06113c9
2019-08-15Update Clang to r365631.Dan Albert
Test: ./checkbuild.py && ./run_tests.py Bug: https://github.com/android-ndk/ndk/issues/855 Bug: https://github.com/android-ndk/ndk/issues/884 Change-Id: I231e74e78b83b695e5675d0b21473ecc3f30ffbd
2019-08-14Update toolchain docHaibo Huang
Test: None Change-Id: I1f4644141c96b92824d80a76157ba93f18cecac7
2019-08-14Update the toolchain doc.Dan Albert
Test: None Bug: None Change-Id: Iec33434a273754ae2a1c60b5dda6c7ebf52ba487
2019-07-10Clarify ASan KI in the changelogs.Dan Albert
Test: None Bug: https://github.com/android-ndk/ndk/issues/988 Change-Id: I9047240acedb677a3c44c93992cf6283a6475369
2019-07-09Merge "Set --build-id=sha1 for lld+lldb compatibility"Ryan Prichard
2019-07-09Add workaround #988 the default wrap.sh.Dan Albert
This can't help users of the static STL, but it does help those using the shared STL. Also clean up by merging these into a single wrap.sh. There should never be more than one ASan library in the directory, so we can just use a wildcard. Test: https://github.com/DanAlbert/asan-wrap-sh-exceptions-crash-repro Bug: https://github.com/android-ndk/ndk/issues/988 Change-Id: I890ba18faaebcdafe61f2800cc062ec7b5d9502e
2019-07-08Set --build-id=sha1 for lld+lldb compatibilityRyan Prichard
lld defaults to an 8-byte hash (--build-id=fast), but Android Studio's current version of lldb only recognizes 16- and 20-byte hashes (--build-id=[md5,sha1,tree,uuid]). Specify --build-id=sha1 to explicitly use a 20-byte hash for the build ID. This setting can be removed once lldb is updated. Bug: https://github.com/android-ndk/ndk/issues/885 Test: build and debug NDK app in Android Studio Test: run `file` on NDK libnative-lib.so Change-Id: I2e5f2d37817c7855bd704eb05241eba4c1d02a52
2019-07-08Fix a typo in the Build System Maintainers guideRyan Prichard
Bug: none Test: manual Change-Id: Ibc4ee39033ff685ccf55e926460d98c5632a565f
2019-07-01Add Issue 988 to the KI list in the changelogs.Dan Albert
Test: None Bug: https://github.com/android-ndk/ndk/issues/988 Change-Id: I2946e2190c95e4b0088d8db9025d803ab6f84ed9
2019-06-13Switch to GNU make 4.2.1Haibo Huang
Also switch to clang. Test: checkbuild.py on Linux and darwin. Test: run make.exe --version on windows Bug: 133510638 Change-Id: I2b5ed722df4f1b4323e86e93f88c32055a8b2cfd
2019-06-13Merge "Remove support for 32-bit Windows."Treehugger Robot
2019-06-13Merge "Document advice for middleware vendors."Dan Albert
2019-06-13Document advice for middleware vendors.Dan Albert
Test: None Bug: None Change-Id: Ib00e73692ef57c6f0c23a2094f0cc28800c4b16a
2019-06-12Pass -fno-experimental-isel to avoid Clang bugRyan Prichard
For ARM64 -O0, Clang uses the GlobalISel instruction selector, which can generate debug info with bad line number info. Pass -fno-experimental-isel to turn off GlobalISel until the upstream LLVM issue is fixed. Bug: https://github.com/android-ndk/ndk/issues/1004 Test: checkbuild.py && run_tests.py Change-Id: I0aa92a8c57ce1cebd38ccc3d14dd3147477bc4b0
2019-06-12Merge "Update roadmap."Elliott Hughes
2019-06-12Update roadmap.Elliott Hughes
Test: N/A Change-Id: Ie11a5cd9d2e0d23aa2939f1c27c5edc0cd5adc86
2019-06-12Remove support for 32-bit Windows.Dan Albert
The emulator drops this next month, and Studio is following next year. Test: ./checkbuild.py --system windows64 Bug: None Change-Id: I653f31a881d9358fc8b49878b839c6ed8a75c450
2019-06-06Add r19 KIs to r20/r21 changelogs as appropriate.Dan Albert
The r19 KIs were added after r20 branched, so we forgot to add these to the changelog for r20 (and as such, r21). Add any that were present in either release as needed. Test: Eyeballs Bug: None Change-Id: I061a7ee895b3f7a42ae5bd3cc9e2563084400582
2019-05-02Merge "Update changelog to reflect libc++ update."Treehugger Robot
2019-05-01Update status of LLD.Dan Albert
Test: None, markdown Bug: None Change-Id: I0bfd8323807689c5f32fbac19b3be7d956061826
2019-05-01Update changelog to reflect libc++ update.Dan Albert
Test: Eyeballs Bug: https://github.com/android-ndk/ndk/issues/971 Change-Id: Ief55d47db58d132b398a4db0c12405f0cab9ff8c
2019-04-18Remove hard coded system_libs.json list, fix doc.Dan Albert
We didn't actually ship this. The proper list was being autogenerated and this was only used for documentation purposes, but since it wasn't tested it was usually not up to date. Remove it and just refer to the location in the NDK with the real specification rather than a link to a stale metadata file. Test: ./checkbuild.py && cat $OUT/.../meta/system_libs.json Bug: None Change-Id: I8cb0472e22748333b408427b3378fc028bfb530b
2019-03-29Allow module ldflags to override app-wide flags.Dan Albert
Test: ./checkbuild.py && ./run_tests.py Bug: https://github.com/android-ndk/ndk/issues/908 Change-Id: I6becdcc67b3ca42e0f695f5af10e287eac56b68e
2019-03-14Merge "Fix Clang changelog notes."Treehugger Robot
2019-03-14Fix Clang changelog notes.Dan Albert
r349610 didn't land in r20 in time for beta 1, so fix the r20 changelog to reflect that and move it to r21. Test: None Bug: None Change-Id: Ib49b6c9e203275316c22d5218b92f8ccc60e69f1
2019-03-14Fix typo in argument name in doc.Dan Albert
Fortunately the "useful arguments" part of the doc got this right. Test: None Bug: None Change-Id: I6cc91202ff277d89a59b8642f9b68430d223274c
2019-03-07Merge "Add a note about non-polymorphic types to the FAQ."Treehugger Robot
2019-03-07Add a note about non-polymorphic types to the FAQ.Dan Albert
Test: None Bug: None Change-Id: I8d663d4b1076dc9600c7cb830e4b7bb789ecc292
2019-03-05Update changelog to reflect libc++ update.Dan Albert
Test: None, markdown only Bug: https://github.com/android-ndk/ndk/issues/924 Change-Id: I02d3560eee060961df8681b7c22546359819ba4b
2019-02-27Merge "Fix <prefix>clang++.cmd script."Treehugger Robot