diff options
author | Tomasz Wasilczyk <twasilczyk@google.com> | 2023-11-14 14:29:42 -0800 |
---|---|---|
committer | Tomasz Wasilczyk <twasilczyk@google.com> | 2023-11-15 09:11:17 -0800 |
commit | 4247ef788cf0098e47e19cdbb120bd50ea747a29 (patch) | |
tree | 608916a4925282dc39ee345b3ffe52f4c0600138 | |
parent | deaf2afa04ade45c44c5a85c02a4e2de967ba573 (diff) | |
download | libtextclassifier-4247ef788cf0098e47e19cdbb120bd50ea747a29.tar.gz |
libtextclassifier: 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: Id06ccd507e0daef529247e41e4c572fa897fd922
-rw-r--r-- | native/Android.bp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/native/Android.bp b/native/Android.bp index 5af5c50..51fde99 100644 --- a/native/Android.bp +++ b/native/Android.bp @@ -75,6 +75,7 @@ cc_library_static { cc_defaults { name: "libtextclassifier_defaults", stl: "libc++_static", + cpp_std: "gnu++17", sdk_version: "current", // For debug / treemap purposes. //strip: { |