Commit graph

5 commits

Author SHA1 Message Date
Bob Badour
57866d006b [LSC] Add LOCAL_LICENSE_KINDS to external/selinux
Added SPDX-license-identifier-Apache-2.0 to:
  libselinux/fuzzers/Android.bp

Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD
    SPDX-license-identifier-GPL SPDX-license-identifier-GPL-2.0
    SPDX-license-identifier-LGPL SPDX-license-identifier-LGPL-2.1
    SPDX-license-identifier-LGPL-3.0 SPDX-license-identifier-Zlib
    legacy_unencumbered
to:
  Android.bp

Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-GPL-2.0
    legacy_unencumbered
to:
  libselinux/Android.bp

Added SPDX-license-identifier-BSD
to:
  secilc/Android.bp

Added SPDX-license-identifier-BSD SPDX-license-identifier-GPL
    SPDX-license-identifier-LGPL SPDX-license-identifier-LGPL-2.1
    SPDX-license-identifier-LGPL-3.0 SPDX-license-identifier-Zlib
    legacy_unencumbered
to:
  libsepol/Android.bp

Added SPDX-license-identifier-GPL SPDX-license-identifier-GPL-2.0
    SPDX-license-identifier-LGPL
to:
  checkpolicy/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all

Exempt-From-Owner-Approval: janitorial work
Change-Id: I3859438c836077d59ed424d04659213c3018f5fe
2021-02-05 01:27:52 -08:00
Jeff Vander Stoep
dfb7841f31 secilc: Migrate to soong
Bug: 37512442
Test: build and boot Marlin
Change-Id: Ie02b3dc3db0e597c9ac7e93c6684fcd7867c531e
2017-05-09 16:18:42 +00:00
Jeff Vander Stoep
c158e00746 Checkpolicy: Migrate to soong
Remove checkmodule target. It's not used anywhere.

Bug: 37512442
Test: build and boot Marlin.
Test: "dispol policy", then display unconditional avtab
Test: run "bpfmt -w Android.bp" verify no changes made.
Change-Id: Ifa29b600bd90cc16c612eb05e1e2ba9f6faed3e6
2017-05-09 14:40:38 +00:00
Jeff Vander Stoep
a762060607 libsepol: migrate to soong
Clean up build warning
1 warning generated.
[ 55% 4201/7636] cc
out/soong/.interme...nal/selinux/libsepol/cil/src/android.o
external/selinux/libsepol/cil/src/android.c:396:87: warning: unused
parameter 'args' [-Wunused-parameter]
static int cil_attrib_typepermissive(struct cil_tree_node *node,
struct version_args *args)

Bug: 37512442
Test: build and boot Marlin.
Change-Id: I83c4908ce7ca90cfbcb84455dd539db5f0b88c5a
2017-05-09 07:18:35 -07:00
William Roberts
edfef6ce35 libselinux: Android, enable the build files
Enable the build files for Android and libselinux.
This requires that the external/libselinux project
has been removed from the build.

Note: That an issue, documented in the
libselinux/Android.bp, between building sefcontext_compile
and libselinux resulted in needing an Android.mk and
Android.bp to reside side-by-side.

Test: aosp_angler builds and boots
Bug: 31910164
Change-Id: Ia906860846732236ae7043b00fa70e65ae7bbc45
Signed-off-by: William Roberts <william.c.roberts@intel.com>
2016-10-24 11:07:00 -07:00