Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5a0f0e97 authored by Brian Carlstrom's avatar Brian Carlstrom Committed by Android Git Automerger
Browse files

am 479ce0c1: Merge "Fix mac build for nativebridge tests." into lmp-dev

* commit '479ce0c1':
  Fix mac build for nativebridge tests.
parents 0edbf89e 479ce0c1
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@ namespace android {
static constexpr const char* kTestData = "PreInitializeNativeBridge test.";

TEST_F(NativeBridgeTest, PreInitializeNativeBridge) {
#ifndef __APPLE_         // Mac OS does not support bind-mount.
#ifndef __APPLE__         // Mac OS does not support bind-mount.
#ifndef HAVE_ANDROID_OS   // Cannot write into the hard-wired location.
    // Try to create our mount namespace.
    if (unshare(CLONE_NEWNS) != -1) {