ANDROID: Don't build with mlock2.h

Some of the mm tests don't need to be built with the mlock2.h header
file.

Bug: 291147200
Signed-off-by: Edward Liaw <edliaw@google.com>
(cherry picked from https://android-review.googlesource.com/q/commit:498f0f95fe8956034b4f8d998dbcacbe22e55d10)
Merged-In: Ia1f08be61936f4c8e653db9e8b17616b6ab26cba
Change-Id: Ia1f08be61936f4c8e653db9e8b17616b6ab26cba
This commit is contained in:
Edward Liaw 2024-05-30 18:02:49 +00:00 committed by Matthias Männich
parent cff45068d9
commit 0e3f933670

View File

@ -1450,7 +1450,6 @@ cc_library(
cc_binary_with_abi( cc_binary_with_abi(
name = "kselftest_mm_thuge_gen", name = "kselftest_mm_thuge_gen",
srcs = [ srcs = [
"tools/testing/selftests/mm/mlock2.h",
"tools/testing/selftests/mm/thuge-gen.c", "tools/testing/selftests/mm/thuge-gen.c",
], ],
copts = [ copts = [
@ -1470,7 +1469,6 @@ cc_binary_with_abi(
cc_binary_with_abi( cc_binary_with_abi(
name = "kselftest_mm_transhuge_stress", name = "kselftest_mm_transhuge_stress",
srcs = [ srcs = [
"tools/testing/selftests/mm/mlock2.h",
"tools/testing/selftests/mm/transhuge-stress.c", "tools/testing/selftests/mm/transhuge-stress.c",
], ],
copts = [ copts = [