From ab0da5a9a6860046619629b8e6b83692d35dff86 Mon Sep 17 00:00:00 2001 From: jgu21 Date: Wed, 10 Sep 2014 06:58:32 -0400 Subject: LibNativeBridge: Add early init & env setup Add a method to set up /proc/cpuinfo with enough privileges. Set up the environment for an app in InitializeNativeBridge(). Turn on -Wall for libnativebridge. Change-Id: I0b93da93251c6b4638de786bf98cf99df07c3fc2 --- libnativebridge/tests/UnavailableNativeBridge_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libnativebridge/tests') diff --git a/libnativebridge/tests/UnavailableNativeBridge_test.cpp b/libnativebridge/tests/UnavailableNativeBridge_test.cpp index ec96c32..ad374a5 100644 --- a/libnativebridge/tests/UnavailableNativeBridge_test.cpp +++ b/libnativebridge/tests/UnavailableNativeBridge_test.cpp @@ -21,7 +21,7 @@ namespace android { TEST_F(NativeBridgeTest, NoNativeBridge) { EXPECT_EQ(false, NativeBridgeAvailable()); // Try to initialize. This should fail as we are not set up. - EXPECT_EQ(false, InitializeNativeBridge()); + EXPECT_EQ(false, InitializeNativeBridge(nullptr, nullptr)); EXPECT_EQ(true, NativeBridgeError()); EXPECT_EQ(false, NativeBridgeAvailable()); } -- cgit v1.1