diff options
| author | 2017-07-06 11:40:20 +0800 | |
|---|---|---|
| committer | 2017-08-11 22:06:02 +0800 | |
| commit | ec18c0288750c3e2bab83c19ea59b7475a0b786c (patch) | |
| tree | 530adf8ef87ae4a10f4086b50737663095d6fca6 /libs | |
| parent | 3c80f17536907ca8aad12e5b75c8f6d9ebf3bc52 (diff) | |
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
Change-Id: I40c738a039459fbfece9689012249ae7ea93df9d
(cherry picked from commit f6edfc1b096cba544227d85b0ea3f38a4dd11af5)
Diffstat (limited to 'libs')
| -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 4a841499ff..540295acd4 100644 --- a/libs/binder/tests/Android.bp +++ b/libs/binder/tests/Android.bp @@ -33,6 +33,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: [ |