Enable testing C++ coroutines TS.

am: fd86c1f3ed

Change-Id: If3c6543c0f018c35b43ab3a0f78d9a5ef0eb77f7
This commit is contained in:
Dan Albert
2019-02-28 17:18:53 -08:00
committed by android-build-merger
2 changed files with 2 additions and 0 deletions

View File

@@ -179,6 +179,7 @@ cc_binary {
cppflags: [
"-fsized-deallocation",
"-fexceptions",
"-fcoroutines-ts",
"-Wno-format-zero-length",
"-Wno-implicit-fallthrough",
"-Wno-non-virtual-dtor",

View File

@@ -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: