57866d006b
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
38 lines
1 KiB
Text
38 lines
1 KiB
Text
package {
|
|
default_applicable_licenses: ["external_selinux_secilc_license"],
|
|
}
|
|
|
|
// Added automatically by a large-scale-change
|
|
// http://go/android-license-faq
|
|
license {
|
|
name: "external_selinux_secilc_license",
|
|
visibility: [":__subpackages__"],
|
|
license_kinds: [
|
|
"SPDX-license-identifier-BSD",
|
|
],
|
|
license_text: [
|
|
"COPYING",
|
|
],
|
|
}
|
|
|
|
common_CFLAGS = [
|
|
"-Wall",
|
|
"-Werror",
|
|
"-Wshadow",
|
|
]
|
|
|
|
cc_binary {
|
|
name: "secilc",
|
|
host_supported: true,
|
|
cflags: common_CFLAGS,
|
|
srcs: ["secilc.c"],
|
|
static_libs: ["libsepol"],
|
|
stl: "none",
|
|
// secilc is a program that is executed very early by init.
|
|
// Since it is before the mount namespaces are setup, /system/bin/linker
|
|
// and /system/lib/libc.so point to the mount points where nothing
|
|
// is mounted on yet. Therefore, secilc has to have explicit knowledge about
|
|
// the paths where the bootstrap Bionic is. bootstrap:true sets DT_INTERP to
|
|
// /system/bin/bootstrap/linker.
|
|
bootstrap: true,
|
|
}
|