Skip to content

Commit 3ef1c06

Browse files
author
Steven Moreland
committed
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
1 parent 38a4ab9 commit 3ef1c06

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

libs/binder/ndk/tests/binderVendorDoubleLoadTest.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@
3030
#include <gtest/gtest.h>
3131
#include <sys/prctl.h>
3232

33+
static_assert(FLAG_PRIVATE_LOCAL != 0, "Build system configuration breaks stability");
34+
3335
using namespace android;
3436
using ::android::binder::Status;
3537
using ::android::internal::Stability;

0 commit comments

Comments
 (0)