diff options
author | Hsin-Yi Chen <hsinyichen@google.com> | 2017-07-06 11:40:20 +0800 |
---|---|---|
committer | Keun Soo Yim <yim@google.com> | 2018-01-23 22:18:26 +0000 |
commit | 16b0c242aa54d560002b9389f4b66b198610dcdd (patch) | |
tree | b1610e722698f206a17045213e827a4fc125a26f | |
parent | d7e46dddcb147e341e6f7b5fa0439077c6b1008b (diff) | |
download | native-16b0c242aa54d560002b9389f4b66b198610dcdd.tar.gz |
Add binderLibTest_IPC_32
1) Add product_variables to binderLibTest because the test case
CheckHandleZeroBinderHighBitsZeroCookie uses binder data structure.
2) Add binderLibTest_IPC_32 which always compiles the test program for
32-bit binder.
Bug: 63307240
Bug: 62366937
Test: vts-tradefed run commandAndExit vts -m VtsKernelBinderTest
Merged-In: I40c738a039459fbfece9689012249ae7ea93df9d
Change-Id: I40c738a039459fbfece9689012249ae7ea93df9d
(cherry picked from commit f6edfc1b096cba544227d85b0ea3f38a4dd11af5)
(cherry picked from commit 75be4a10008a846c74bc30652584b280669c3b85)
-rw-r--r-- | libs/binder/tests/Android.bp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/libs/binder/tests/Android.bp b/libs/binder/tests/Android.bp index 853ca1630e..cb3ec464b3 100644 --- a/libs/binder/tests/Android.bp +++ b/libs/binder/tests/Android.bp @@ -35,6 +35,23 @@ cc_test { } cc_test { + name: "binderLibTest_IPC_32", + srcs: ["binderLibTest.cpp"], + shared_libs: [ + "libbinder", + "libutils", + ], + compile_multilib: "32", + cflags: ["-DBINDER_IPC_32BIT=1"], +} + +cc_test { + product_variables: { + binder32bit: { + cflags: ["-DBINDER_IPC_32BIT=1"], + }, + }, + name: "binderLibTest", srcs: ["binderLibTest.cpp"], shared_libs: [ |