chromium-src-build/toolchain/android
Peter Collingbourne 36d9c4f858 Switch to the unified NDK sysroot.
Starting with r19, the NDK provides a unified sysroot. Unlike the
sysroot in $ndk/sysroot, this one includes libraries as well. Switch
to it as the sysroot to be used for both compiles and links (which
means that we no longer need the concept of a link sysroot), and
remove a bunch of logic for manually finding libraries inside the
pre-unified sysroot layout.

The Android support headers are installed inside the sysroot as well
(under usr/local/include), so we can stop explicitly adding them to
the header path.

Bug: 891999
Change-Id: I6947fe5cb18303ba7772e31ad08c51a4d82c3b1d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1756721
Reviewed-by: Ryan Hamilton <rch@chromium.org>
Reviewed-by: Andrew Grieve <agrieve@chromium.org>
Commit-Queue: Peter Collingbourne <pcc@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#687722}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 35af63c5a7bbd735dec4edb3ae096bbfec2d80d5
2019-08-16 17:24:05 +00:00
..
BUILD.gn Switch to the unified NDK sysroot. 2019-08-16 17:24:05 +00:00