Home | History | Annotate | Download | only in tests
      1 
      2 
      3 shared_libraries = [
      4     "libbase",
      5     "libbinder",
      6     "libcutils",
      7     "libgui",
      8     "liblog",
      9     "libhardware",
     10     "libui",
     11     "libutils",
     12 ]
     13 
     14 static_libraries = [
     15     "libbufferhubqueue",
     16     "libbufferhub",
     17     "libchrome",
     18     "libdvrcommon",
     19     "libpdx_default_transport",
     20 ]
     21 
     22 cc_test {
     23     srcs: ["buffer_hub_queue-test.cpp"],
     24     static_libs: static_libraries,
     25     shared_libs: shared_libraries,
     26     cflags: [
     27         "-DLOG_TAG=\"buffer_hub_queue-test\"",
     28         "-DTRACE=0",
     29         "-O0",
     30         "-g",
     31     ],
     32     name: "buffer_hub_queue-test",
     33     tags: ["optional"],
     34 }
     35 
     36 cc_test {
     37     srcs: ["buffer_hub_queue_producer-test.cpp"],
     38     static_libs: static_libraries,
     39     shared_libs: shared_libraries,
     40     cflags: [
     41         "-DLOG_TAG=\"buffer_hub_queue_producer-test\"",
     42         "-DTRACE=0",
     43         "-O0",
     44         "-g",
     45     ],
     46     name: "buffer_hub_queue_producer-test",
     47     tags: ["optional"],
     48 }
     49