diff options
author | Yabin Cui <yabinc@google.com> | 2021-06-15 13:49:23 -0700 |
---|---|---|
committer | Yabin Cui <yabinc@google.com> | 2021-06-15 13:49:23 -0700 |
commit | b0f179909b905ae8bab9ce8ab3295554be5ee953 (patch) | |
tree | e5a1acfa76d32d9e8a2a25c30eee73d8dad09edc /toolchains.py | |
parent | d193f2b8b7dccc21a8e6523e498f0f2e4cb90460 (diff) | |
download | llvm_android-b0f179909b905ae8bab9ce8ab3295554be5ee953.tar.gz |
Use installed libcxx headers when building standalone libcxxabi.
https://reviews.llvm.org/D89041 requires us using installed libcxx
headers instead of headers from source code.
Bug: 191086062
Test: run build.py
Change-Id: Ib31079fcb46ef18d5dd072219bc19eecf5e19f20
Diffstat (limited to 'toolchains.py')
-rw-r--r-- | toolchains.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/toolchains.py b/toolchains.py index e79a1d4..1595e12 100644 --- a/toolchains.py +++ b/toolchains.py @@ -136,6 +136,10 @@ class Toolchain: def resource_dir(self) -> Path: return self.clang_lib_dir / 'lib' / 'linux' + @property + def libcxx_headers(self) -> Path: + return self.path / 'include' / 'c++' / 'v1' + def get_prebuilt_toolchain() -> Toolchain: """Returns the prebuilt toolchain.""" |