summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2019-02-28 15:11:47 -0800
committerDan Albert <danalbert@google.com>2019-02-28 15:11:47 -0800
commitfd86c1f3ed3ce3d1a363d914672b275d7e292b89 (patch)
tree15cf56059ff660dd439352be5971e9af44bad81c
parent0680af728815bb00742ce0302fdf06a59c85f39a (diff)
downloadlibcxx-fd86c1f3ed3ce3d1a363d914672b275d7e292b89.tar.gz
Test: ./run_tests.py --bitness 32 Test: ./run_tests.py --bitness 64 Test: ./run_tests.py --bitness 64 --host Bug: None Change-Id: I620c999b6c156129257d3937b0893f45a6d3fddd
-rw-r--r--Android.bp1
-rw-r--r--utils/libcxx/android/test/config.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index ccd04a42e..f170afa24 100644
--- a/Android.bp
+++ b/Android.bp
@@ -179,6 +179,7 @@ cc_binary {
cppflags: [
"-fsized-deallocation",
"-fexceptions",
+ "-fcoroutines-ts",
"-Wno-format-zero-length",
"-Wno-implicit-fallthrough",
"-Wno-non-virtual-dtor",
diff --git a/utils/libcxx/android/test/config.py b/utils/libcxx/android/test/config.py
index 3e1edd42c..87bfa998c 100644
--- a/utils/libcxx/android/test/config.py
+++ b/utils/libcxx/android/test/config.py
@@ -107,6 +107,7 @@ class Configuration(libcxx.test.config.Configuration):
self.config.available_features.add('c++experimental')
self.config.available_features.add('c++fs')
self.config.available_features.add('c++filesystem')
+ self.config.available_features.add('fcoroutines-ts')
std_pattern = re.compile(r'-std=(c\+\+\d[0-9x-z])')
match = std_pattern.search(self.cxx.cxx_template)
if match: