From 4b737c774c3519cafabf3d2030afadcf019ac8ee Mon Sep 17 00:00:00 2001 From: Yabin Cui Date: Thu, 8 Jun 2023 18:09:17 +0000 Subject: Remove test for -fcoroutines-ts After clang update, we got the below error: external/libcxx/libcxx_test_template.cpp clang++: error: unknown argument: '-fcoroutines-ts' Since this option has been removed in clang, remove test for it. Bug: 280683256 Test: build with clang-r498229 Change-Id: Icecd7152f8d724d680bf17e3f920f15365b285a6 --- Android.bp | 2 -- utils/libcxx/android/test/config.py | 1 - 2 files changed, 3 deletions(-) diff --git a/Android.bp b/Android.bp index 748973dcd..c759964f2 100644 --- a/Android.bp +++ b/Android.bp @@ -251,8 +251,6 @@ cc_binary { cppflags: [ "-fsized-deallocation", "-fexceptions", - "-fcoroutines-ts", - "-Wno-deprecated-experimental-coroutine", "-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 87bfa998c..3e1edd42c 100644 --- a/utils/libcxx/android/test/config.py +++ b/utils/libcxx/android/test/config.py @@ -107,7 +107,6 @@ 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: -- cgit v1.2.3