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
diff --git a/secilc/Android.bp b/secilc/Android.bp
index 022c74c..6334bf8 100644
--- a/secilc/Android.bp
+++ b/secilc/Android.bp
@@ -9,12 +9,6 @@
host_supported: true,
cflags: common_CFLAGS,
srcs: ["secilc.c"],
- target: {
- android: {
- static_libs: ["libsepol"],
- },
- host: {
- shared_libs: ["libsepol"],
- },
- },
+ static_libs: ["libsepol"],
+ stl: "none",
}