summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomasz Wasilczyk <twasilczyk@google.com>2023-11-15 09:10:16 -0800
committerTomasz Wasilczyk <twasilczyk@google.com>2023-11-15 09:10:16 -0800
commit5b3613322ed0eb1ee0b74702c2c250f9ad125be6 (patch)
tree4fa27a2fcf87aab1e5021b0c6bf3491f0a573f8e
parent5033a2540dbfaadef7f06317733e8c9ee96630ac (diff)
downloadicu-5b3613322ed0eb1ee0b74702c2c250f9ad125be6.tar.gz
ICU: pin cpp_std to gnu++17
This project doesn't build with gnu++20 and prevents AOSP default to be upgraded to a newer standard. Once the build failure is fixed here, this change can be reverted. Bug: 311052584 Test: m checkbuild Change-Id: I789fc4b4c8ab2bdb6e2ba87d55a097946f5f529a
-rw-r--r--icu4c/source/test/Android.bp1
1 files changed, 1 insertions, 0 deletions
diff --git a/icu4c/source/test/Android.bp b/icu4c/source/test/Android.bp
index 3a2670da2..35f4460ab 100644
--- a/icu4c/source/test/Android.bp
+++ b/icu4c/source/test/Android.bp
@@ -32,6 +32,7 @@ cc_defaults {
name: "icu_test_defaults",
gtest: false,
rtti: true,
+ cpp_std: "gnu++17",
cflags: [
"-Wno-deprecated-declarations",
"-Wno-missing-field-initializers",