aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomasz Wasilczyk <twasilczyk@google.com>2023-11-17 10:11:28 -0800
committerTomasz Wasilczyk <twasilczyk@google.com>2023-11-17 10:11:28 -0800
commit093a41b354aa33de3d2f6bcf6a23ff2a81f93f23 (patch)
treea5646d202d94aa6f7f2333f5c45a057716081e82
parenta8cf756c56884b8f5c1151b888ca0386cefadcb0 (diff)
downloadninja-093a41b354aa33de3d2f6bcf6a23ff2a81f93f23.tar.gz
ninja test: 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: treehugger Change-Id: I27d615ddff51fe0b563b946bb8c2349a6907c637
-rw-r--r--Android.bp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 12f1247..26bbfdc 100644
--- a/Android.bp
+++ b/Android.bp
@@ -107,6 +107,7 @@ cc_test_host {
defaults: ["ninja_defaults"],
static_libs: ["libninja"],
gtest: false,
+ cpp_std: "gnu++17",
srcs: [
"src/build_log_test.cc",
"src/build_test.cc",