diff options
author | Jaekyun Seok <jaekyun@google.com> | 2016-12-21 14:23:09 +0900 |
---|---|---|
committer | Jaekyun Seok <jaekyun@google.com> | 2016-12-21 15:43:14 +0900 |
commit | f5ea19f3151c7397f7839da3463688e76215177d (patch) | |
tree | 9368d54603e0492e5d407fcf32f5a98c630a0956 /runconuid | |
parent | 3a1544a877787e89bf025da78bee5b9b841470ef (diff) | |
download | extras-f5ea19f3151c7397f7839da3463688e76215177d.tar.gz |
Use shared lib of libselinux in runconuid instead of static one.
libselinux is being used as shared lib by many other modules.
So using its shared lib will reduce total image size.
Size diff on angler build image is as follows.
runconuid: 19912 -> 11256 (-8656)
Test: building succeeded, and the image was tested on angler.
Bug: 33056637
Change-Id: I6272486fdacef06c30d25f1718651757d873eb1b
Diffstat (limited to 'runconuid')
-rw-r--r-- | runconuid/Android.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runconuid/Android.mk b/runconuid/Android.mk index e692bd3f..79cd192b 100644 --- a/runconuid/Android.mk +++ b/runconuid/Android.mk @@ -10,6 +10,6 @@ LOCAL_MODULE:= runconuid LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES) LOCAL_MODULE_TAGS := debug -LOCAL_STATIC_LIBRARIES := libselinux +LOCAL_SHARED_LIBRARIES := libselinux include $(BUILD_EXECUTABLE) |