Home | History | Annotate | Download | only in tests
      1 
      2 header_libraries = [
      3     "libdvr_headers",
      4 ]
      5 
      6 shared_libraries = [
      7     "libbase",
      8     "libbinder",
      9     "libbufferhubqueue",
     10     "libcutils",
     11     "libgui",
     12     "liblog",
     13     "libhardware",
     14     "libui",
     15     "libutils",
     16     "libnativewindow",
     17     "libpdx_default_transport",
     18 ]
     19 
     20 static_libraries = [
     21     "libchrome",
     22     "libdvrcommon",
     23     "libperformance",
     24 ]
     25 
     26 cc_test {
     27     srcs: ["buffer_hub_queue-test.cpp"],
     28     header_libs: header_libraries,
     29     static_libs: static_libraries,
     30     shared_libs: shared_libraries,
     31     cflags: [
     32         "-DLOG_TAG=\"buffer_hub_queue-test\"",
     33         "-DTRACE=0",
     34         "-O0",
     35         "-g",
     36         "-Wall",
     37         "-Werror",
     38         "-Wno-error=sign-compare", // to fix later
     39     ],
     40     name: "buffer_hub_queue-test",
     41 }
     42 
     43 cc_test {
     44     srcs: ["buffer_hub_queue_producer-test.cpp"],
     45     header_libs: header_libraries,
     46     static_libs: static_libraries,
     47     shared_libs: shared_libraries,
     48     cflags: [
     49         "-DLOG_TAG=\"buffer_hub_queue_producer-test\"",
     50         "-DTRACE=0",
     51         "-O0",
     52         "-g",
     53         "-Wall",
     54         "-Werror",
     55     ],
     56     name: "buffer_hub_queue_producer-test",
     57 }
     58