Use Bionic strlcpy when available am: f8c13e3158 am: f2bdb13a20 am: 3d2b54fdab

Original change: https://android-review.googlesource.com/c/platform/external/selinux/+/2319272

Change-Id: I668d6ebff0a236a80eeade1acae05ca865095727
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Thiébaud Weksteen 2022-11-28 10:22:12 +00:00 committed by Automerger Merge Worker
commit 9685af3fe9

View file

@ -110,6 +110,9 @@ cc_defaults {
], ],
}, },
android: { android: {
cflags: [
"-DHAVE_STRLCPY"
],
srcs: [ srcs: [
"src/android/android_device.c", "src/android/android_device.c",
], ],