Home | History | Annotate | Download | only in android_bench_suite
      1 diff --git a/libs/binder/Android.bp b/libs/binder/Android.bp
      2 index f7347aef1..a539fac47 100644
      3 --- a/libs/binder/Android.bp
      4 +++ b/libs/binder/Android.bp
      5 @@ -52,10 +52,12 @@ cc_library {
      6          "-Wall",
      7          "-Wextra",
      8          "-Werror",
      9 +	CFLAGS_FOR_BENCH_SUITE
     10      ],
     11 +    ldflags: [LDFLAGS_FOR_BENCH_SUITE],
     12      product_variables: {
     13          binder32bit: {
     14 -            cflags: ["-DBINDER_IPC_32BIT=1"],
     15 +            cflags: ["-DBINDER_IPC_32BIT=1",],
     16          },
     17      },
     18  
     19 @@ -76,4 +78,22 @@ cc_library {
     20      },
     21  }
     22  
     23 -subdirs = ["tests"]
     24 +cc_test {
     25 +    name: "binderThroughputTest",
     26 +    srcs: ["tests/binderThroughputTest.cpp"],
     27 +    shared_libs: [
     28 +        "libbinder",
     29 +        "libutils",
     30 +    ],
     31 +    clang: true,
     32 +    cflags: [
     33 +        "-g",
     34 +        "-Wall",
     35 +        "-Werror",
     36 +        "-Wno-missing-field-initializers",
     37 +        "-Wno-sign-compare",
     38 +	 "-O3",
     39 +        CFLAGS_FOR_BENCH_SUITE
     40 +    ],
     41 +    ldflags: [LDFLAGS_FOR_BENCH_SUITE],
     42 +}
     43 +
     44