History log of /external/selinux/secilc/Android.mk
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
cf2d9497709eeb15cde1f60633d18f359a4cdd1e 11-Jul-2016 bowgotsai <bowgotsai@google.com> Add libsepol and secil host and device targets

Also clean up some LOCAL_C_INCLUDES as it should be included
by LOCAL_EXPORT_C_INCLUDE_DIRS from libsepol.

BUG=31366888

Change-Id: I0e21279097f0635761672b838ad26861fc49e9ea
/external/selinux/secilc/Android.mk
bedef7d12493e5785537c1f8e46ce32c3e34bf32 03-May-2016 Stephen Smalley <sds@tycho.nsa.gov> libsepol,checkpolicy,secilc: Replace #ifdef DARWIN with __APPLE__.

As per discussion in https://android-review.googlesource.com/#/c/221980,
we should be using #ifdef __APPLE__ rather than our own custom-defined
DARWIN for building on MacOS X.

Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
/external/selinux/secilc/Android.mk
1f75792ea06e94aa83edc7f9c22c35759f30f491 11-Jun-2015 Dan Albert <danalbert@google.com> Remove uses of -Wno-return-type.

These warnings were fixed in 93b2e5f.
/external/selinux/secilc/Android.mk
cacf51cef0f4d5ccbb7bc896b768519ec68a2ef1 02-Apr-2015 Stephen Smalley <sds@tycho.nsa.gov> libsepol, secilc: Fix build for Android

The Android build does not like the symbol versioning introduced
by commit 8147bc7; the build fails with:
host SharedLib: libsepol (out/host/linux-x86/obj/lib/libsepol.so)
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8//x86_64-linux/bin/ld: error: symbol cil_build_policydb has undefined version
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8//x86_64-linux/bin/ld: error: symbol cil_build_policydb has undefined version LIBSEPOL_1.1
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Omit the versioned symbols and simply use the current interfaces
when building on Android.

Commit 36f62b7 also broke the Android build by moving secilc out of
libsepol, because the libsepol headers were not installed by the Android.mk
file.

Export the required libsepol headers for use by secilc and adjust secilc
to pick them up from the right location on Android.

Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
/external/selinux/secilc/Android.mk
36f62b78f1e008aaf3d8b6d60a30895beacd17d3 31-Mar-2015 Yuli Khodorkovskiy <ykhodorkovskiy@tresys.com> libsepol: Move secilc out of libsepol

Since the secilc compiler is independent of libsepol, move secilc out of
libsepol. Linke secilc dynamically rather than statically with libsepol.

- Move secilc source, test policies, docs, and secilc manpage to secilc
directory.
- Remove unneeded Makefile from libsepol/cil. To build secilc, run make
in the secilc directory.
- Add target to install the secilc binary to /usr/bin/.
- Create an Android makefile for secilc and move secilc out of libsepol
Android makefile.
- Add cil_set_mls to libsepol public API as it is needed by secilc.
- Remove policy.conf from testing since it is no longer used.

Signed-off-by: Yuli Khodorkovskiy <ykhodorkovskiy@tresys.com>
/external/selinux/secilc/Android.mk