Loading libs/binder/tests/Android.bp +19 −3 Original line number Original line Diff line number Diff line Loading @@ -14,9 +14,20 @@ // limitations under the License. // limitations under the License. // // cc_defaults { name: "binder_test_defaults", cflags: [ "-Wall", "-Werror", "-Wno-unused-private-field", "-Wno-unused-variable", ], } cc_test { cc_test { name: "binderDriverInterfaceTest_IPC_32", name: "binderDriverInterfaceTest_IPC_32", srcs: ["binderDriverInterfaceTest.cpp"], srcs: ["binderDriverInterfaceTest.cpp"], defaults: ["binder_test_defaults"], compile_multilib: "32", compile_multilib: "32", cflags: ["-DBINDER_IPC_32BIT=1"], cflags: ["-DBINDER_IPC_32BIT=1"], } } Loading @@ -30,11 +41,13 @@ cc_test { name: "binderDriverInterfaceTest", name: "binderDriverInterfaceTest", srcs: ["binderDriverInterfaceTest.cpp"], srcs: ["binderDriverInterfaceTest.cpp"], defaults: ["binder_test_defaults"], } } cc_test { cc_test { name: "binderValueTypeTest", name: "binderValueTypeTest", srcs: ["binderValueTypeTest.cpp"], srcs: ["binderValueTypeTest.cpp"], defaults: ["binder_test_defaults"], shared_libs: [ shared_libs: [ "libbinder", "libbinder", "libutils", "libutils", Loading @@ -44,6 +57,7 @@ cc_test { cc_test { cc_test { name: "binderLibTest_IPC_32", name: "binderLibTest_IPC_32", srcs: ["binderLibTest.cpp"], srcs: ["binderLibTest.cpp"], defaults: ["binder_test_defaults"], shared_libs: [ shared_libs: [ "libbinder", "libbinder", "libutils", "libutils", Loading @@ -59,6 +73,7 @@ cc_test { }, }, }, }, defaults: ["binder_test_defaults"], name: "binderLibTest", name: "binderLibTest", srcs: ["binderLibTest.cpp"], srcs: ["binderLibTest.cpp"], shared_libs: [ shared_libs: [ Loading @@ -70,6 +85,7 @@ cc_test { cc_test { cc_test { name: "binderThroughputTest", name: "binderThroughputTest", srcs: ["binderThroughputTest.cpp"], srcs: ["binderThroughputTest.cpp"], defaults: ["binder_test_defaults"], shared_libs: [ shared_libs: [ "libbinder", "libbinder", "libutils", "libutils", Loading @@ -77,8 +93,6 @@ cc_test { clang: true, clang: true, cflags: [ cflags: [ "-g", "-g", "-Wall", "-Werror", "-Wno-missing-field-initializers", "-Wno-missing-field-initializers", "-Wno-sign-compare", "-Wno-sign-compare", "-O3", "-O3", Loading @@ -88,6 +102,7 @@ cc_test { cc_test { cc_test { name: "binderTextOutputTest", name: "binderTextOutputTest", srcs: ["binderTextOutputTest.cpp"], srcs: ["binderTextOutputTest.cpp"], defaults: ["binder_test_defaults"], shared_libs: [ shared_libs: [ "libbinder", "libbinder", "libutils", "libutils", Loading @@ -98,6 +113,7 @@ cc_test { cc_test { cc_test { name: "schd-dbg", name: "schd-dbg", srcs: ["schd-dbg.cpp"], srcs: ["schd-dbg.cpp"], defaults: ["binder_test_defaults"], shared_libs: [ shared_libs: [ "libbinder", "libbinder", "libutils", "libutils", Loading @@ -108,9 +124,9 @@ cc_test { cc_test { cc_test { name: "binderSafeInterfaceTest", name: "binderSafeInterfaceTest", srcs: ["binderSafeInterfaceTest.cpp"], srcs: ["binderSafeInterfaceTest.cpp"], defaults: ["binder_test_defaults"], cppflags: [ cppflags: [ "-Werror", "-Weverything", "-Weverything", "-Wno-c++98-compat", "-Wno-c++98-compat", "-Wno-c++98-compat-pedantic", "-Wno-c++98-compat-pedantic", Loading Loading
libs/binder/tests/Android.bp +19 −3 Original line number Original line Diff line number Diff line Loading @@ -14,9 +14,20 @@ // limitations under the License. // limitations under the License. // // cc_defaults { name: "binder_test_defaults", cflags: [ "-Wall", "-Werror", "-Wno-unused-private-field", "-Wno-unused-variable", ], } cc_test { cc_test { name: "binderDriverInterfaceTest_IPC_32", name: "binderDriverInterfaceTest_IPC_32", srcs: ["binderDriverInterfaceTest.cpp"], srcs: ["binderDriverInterfaceTest.cpp"], defaults: ["binder_test_defaults"], compile_multilib: "32", compile_multilib: "32", cflags: ["-DBINDER_IPC_32BIT=1"], cflags: ["-DBINDER_IPC_32BIT=1"], } } Loading @@ -30,11 +41,13 @@ cc_test { name: "binderDriverInterfaceTest", name: "binderDriverInterfaceTest", srcs: ["binderDriverInterfaceTest.cpp"], srcs: ["binderDriverInterfaceTest.cpp"], defaults: ["binder_test_defaults"], } } cc_test { cc_test { name: "binderValueTypeTest", name: "binderValueTypeTest", srcs: ["binderValueTypeTest.cpp"], srcs: ["binderValueTypeTest.cpp"], defaults: ["binder_test_defaults"], shared_libs: [ shared_libs: [ "libbinder", "libbinder", "libutils", "libutils", Loading @@ -44,6 +57,7 @@ cc_test { cc_test { cc_test { name: "binderLibTest_IPC_32", name: "binderLibTest_IPC_32", srcs: ["binderLibTest.cpp"], srcs: ["binderLibTest.cpp"], defaults: ["binder_test_defaults"], shared_libs: [ shared_libs: [ "libbinder", "libbinder", "libutils", "libutils", Loading @@ -59,6 +73,7 @@ cc_test { }, }, }, }, defaults: ["binder_test_defaults"], name: "binderLibTest", name: "binderLibTest", srcs: ["binderLibTest.cpp"], srcs: ["binderLibTest.cpp"], shared_libs: [ shared_libs: [ Loading @@ -70,6 +85,7 @@ cc_test { cc_test { cc_test { name: "binderThroughputTest", name: "binderThroughputTest", srcs: ["binderThroughputTest.cpp"], srcs: ["binderThroughputTest.cpp"], defaults: ["binder_test_defaults"], shared_libs: [ shared_libs: [ "libbinder", "libbinder", "libutils", "libutils", Loading @@ -77,8 +93,6 @@ cc_test { clang: true, clang: true, cflags: [ cflags: [ "-g", "-g", "-Wall", "-Werror", "-Wno-missing-field-initializers", "-Wno-missing-field-initializers", "-Wno-sign-compare", "-Wno-sign-compare", "-O3", "-O3", Loading @@ -88,6 +102,7 @@ cc_test { cc_test { cc_test { name: "binderTextOutputTest", name: "binderTextOutputTest", srcs: ["binderTextOutputTest.cpp"], srcs: ["binderTextOutputTest.cpp"], defaults: ["binder_test_defaults"], shared_libs: [ shared_libs: [ "libbinder", "libbinder", "libutils", "libutils", Loading @@ -98,6 +113,7 @@ cc_test { cc_test { cc_test { name: "schd-dbg", name: "schd-dbg", srcs: ["schd-dbg.cpp"], srcs: ["schd-dbg.cpp"], defaults: ["binder_test_defaults"], shared_libs: [ shared_libs: [ "libbinder", "libbinder", "libutils", "libutils", Loading @@ -108,9 +124,9 @@ cc_test { cc_test { cc_test { name: "binderSafeInterfaceTest", name: "binderSafeInterfaceTest", srcs: ["binderSafeInterfaceTest.cpp"], srcs: ["binderSafeInterfaceTest.cpp"], defaults: ["binder_test_defaults"], cppflags: [ cppflags: [ "-Werror", "-Weverything", "-Weverything", "-Wno-c++98-compat", "-Wno-c++98-compat", "-Wno-c++98-compat-pedantic", "-Wno-c++98-compat-pedantic", Loading