summaryrefslogtreecommitdiffstats
path: root/libnativebridge/Android.mk
diff options
context:
space:
mode:
authorjgu21 <jinghui.gu@intel.com>2014-09-10 06:58:32 -0400
committerAndreas Gampe <agampe@google.com>2014-09-26 13:04:36 -0700
commitb3facbfdecf46eb7c063b99529ab8c18a08a6b42 (patch)
tree5b02a2e8455391fe4f38b8e7442e16d71606f7ab /libnativebridge/Android.mk
parent8dd3ea58fdd99912f631156c37bcb2555ce8aec3 (diff)
downloadsystem_core-b3facbfdecf46eb7c063b99529ab8c18a08a6b42.zip
system_core-b3facbfdecf46eb7c063b99529ab8c18a08a6b42.tar.gz
system_core-b3facbfdecf46eb7c063b99529ab8c18a08a6b42.tar.bz2
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. (cherry picked from commit 962eb40abb68eb60077da158755b6a09c306aa41) (cherry picked from commit ab0da5a9a6860046619629b8e6b83692d35dff86) (cherry picked from commit 2f71cb24fa16c0388591918f1354d1f8608cc6e5) (cherry picked from commit 04054e28e24866d76034236843490829b80df40c) (cherry picked from commit 4390a632366ecf89af5f6c0fed39baf9aab2d0f1) Bug: 17671501 Change-Id: Id4f4127d82737b5e56a77175e1068ff5cea60f9d
Diffstat (limited to 'libnativebridge/Android.mk')
-rw-r--r--libnativebridge/Android.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/libnativebridge/Android.mk b/libnativebridge/Android.mk
index 3009bb9..6c2e43e 100644
--- a/libnativebridge/Android.mk
+++ b/libnativebridge/Android.mk
@@ -13,7 +13,7 @@ LOCAL_SRC_FILES:= $(NATIVE_BRIDGE_COMMON_SRC_FILES)
LOCAL_SHARED_LIBRARIES := liblog
LOCAL_CLANG := true
LOCAL_CPP_EXTENSION := .cc
-LOCAL_CFLAGS := -Werror
+LOCAL_CFLAGS := -Werror -Wall
LOCAL_CPPFLAGS := -std=gnu++11 -fvisibility=protected
LOCAL_LDFLAGS := -ldl
LOCAL_MULTILIB := both
@@ -30,7 +30,7 @@ LOCAL_SRC_FILES:= $(NATIVE_BRIDGE_COMMON_SRC_FILES)
LOCAL_SHARED_LIBRARIES := liblog
LOCAL_CLANG := true
LOCAL_CPP_EXTENSION := .cc
-LOCAL_CFLAGS := -Werror
+LOCAL_CFLAGS := -Werror -Wall
LOCAL_CPPFLAGS := -std=gnu++11 -fvisibility=protected
LOCAL_LDFLAGS := -ldl
LOCAL_MULTILIB := both