Generate both static and shared libseccomp_policy.
Also switch to Android.bp
Bug: N/A
Test: builds
Change-Id: I33697a40b30d071f8d07aa33e1fb2b0c6e8a9f6d
diff --git a/libc/seccomp/Android.bp b/libc/seccomp/Android.bp
new file mode 100644
index 0000000..71b710e
--- /dev/null
+++ b/libc/seccomp/Android.bp
@@ -0,0 +1,15 @@
+cc_library {
+ name: "libseccomp_policy",
+ srcs: [
+ "seccomp_policy.cpp",
+ "arm_policy.cpp",
+ "arm64_policy.cpp",
+ ],
+ export_include_dirs: ["include"],
+ shared: {
+ shared_libs: ["libbase"],
+ },
+ static: {
+ static_libs: ["libbase"],
+ },
+}