diff options
author | Dan Albert <danalbert@google.com> | 2018-06-21 11:27:34 -0700 |
---|---|---|
committer | Dan Albert <danalbert@google.com> | 2018-06-21 11:27:34 -0700 |
commit | 3fae47d1e88d9ed57da7a29933f1ccba80a83832 (patch) | |
tree | 9554f82d03e173b115a94f42dba1b4f60f8e6ad6 /checkbuild.py | |
parent | ce46381e7b54806e4eb00af0946d6baa2b4736ef (diff) | |
download | ndk-3fae47d1e88d9ed57da7a29933f1ccba80a83832.tar.gz |
Use the just-built sysroot for building libc++.
The libc++ headers now make use of <android/ndk-version.h>, which is
generated as part of our build rather than as a part of the platform
prebuilts.
Test: ./checkbuild.py && ./run_tests.py
Bug: None
Change-Id: Idf434e396af0ed3d3131007480fba24ded85e0ab
Diffstat (limited to 'checkbuild.py')
-rwxr-xr-x | checkbuild.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/checkbuild.py b/checkbuild.py index e72fdf89c..de059e42f 100755 --- a/checkbuild.py +++ b/checkbuild.py @@ -707,6 +707,8 @@ class Libcxx(ndk.builds.Module): 'libandroid_support', 'ndk-build', 'ndk-build-shortcut', + 'platforms', + 'sysroot', } def __init__(self): @@ -735,9 +737,8 @@ class Libcxx(ndk.builds.Module): application_mk = os.path.join(self.libcxx_path, 'Application.mk') prebuilt_ndk = build_support.android_path('prebuilts/ndk') - platform_prebuilts = os.path.join(prebuilt_ndk, 'platform') - platforms_root = os.path.join(prebuilt_ndk, 'current/platforms') - unified_sysroot_path = os.path.join(platform_prebuilts, 'sysroot') + platforms_root = os.path.join(ndk_path, 'platforms') + unified_sysroot_path = os.path.join(ndk_path, 'sysroot') toolchains_root = os.path.join(prebuilt_ndk, 'current/toolchains') build_cmd = [ |