commit | 3ef1c067f025afec703091095674ed9848ae18f7 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Mon Dec 30 19:50:13 2024 +0000 |
committer | Steven Moreland <smoreland@google.com> | Thu Jan 02 15:12:31 2025 -0800 |
tree | 7737540ac646fc3ed73954055c26981e06749150 | |
parent | 38a4ab9f6e7a58abefb2f4f0f2672f1cf51885bd [diff] |
binderVendorDoubleLoadTest: stability assert As these tests/binaries are being imported to other build systems over time, add one canary check. Bug: N/A Test: N/A Change-Id: I86be1ee659694e301aa8b3bf4a2dffaefaee9720
diff --git a/libs/binder/ndk/tests/binderVendorDoubleLoadTest.cpp b/libs/binder/ndk/tests/binderVendorDoubleLoadTest.cpp index 66be94f..fb92e05 100644 --- a/libs/binder/ndk/tests/binderVendorDoubleLoadTest.cpp +++ b/libs/binder/ndk/tests/binderVendorDoubleLoadTest.cpp
@@ -30,6 +30,8 @@ #include <gtest/gtest.h> #include <sys/prctl.h> +static_assert(FLAG_PRIVATE_LOCAL != 0, "Build system configuration breaks stability"); + using namespace android; using ::android::binder::Status; using ::android::internal::Stability;