diff options
author | Tri Vo <trong@google.com> | 2018-04-12 17:46:07 -0700 |
---|---|---|
committer | Tri Vo <trong@google.com> | 2018-04-12 19:33:40 -0700 |
commit | b6714423154c0584c03d508faf0c19dfc48f4d59 (patch) | |
tree | e8e6e83d2574485f9c32b9ed9d799407c8c0140a | |
parent | 742a350d2900305e4748b9a49cb07b6a422ab610 (diff) | |
download | selinux-b6714423154c0584c03d508faf0c19dfc48f4d59.tar.gz |
secilc: statically link libsepol to secilc.
We do this to package secilc in CTS without the need to handle its
dependencies.
Bug: 37999212
Test: cts-tradefed run commandAndExit cts --skip-all-system-status-check
--primary-abi-only --skip-preconditions -m CtsSecurityHostTestCases
-t android.cts.security.SELinuxNeverallowRulesTest
Change-Id: I0eed2aa37670f6604447e529de32265072e8435c
-rw-r--r-- | secilc/Android.bp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/secilc/Android.bp b/secilc/Android.bp index 022c74cf..6334bf83 100644 --- a/secilc/Android.bp +++ b/secilc/Android.bp @@ -9,12 +9,6 @@ cc_binary { host_supported: true, cflags: common_CFLAGS, srcs: ["secilc.c"], - target: { - android: { - static_libs: ["libsepol"], - }, - host: { - shared_libs: ["libsepol"], - }, - }, + static_libs: ["libsepol"], + stl: "none", } |