Home | History | Annotate | Download | only in tests
      1 // Build definitions for unit tests.
      2 
      3 cc_test {
      4     name: "CounterMetric_test",
      5     srcs: ["CounterMetric_test.cpp"],
      6     shared_libs: ["libmediadrm"],
      7     include_dirs: ["frameworks/av/include/media"],
      8     cflags: [
      9       "-Werror",
     10       "-Wall",
     11     ],
     12 }
     13 
     14 cc_test {
     15     name: "DrmMetrics_test",
     16     srcs: ["DrmMetrics_test.cpp"],
     17     shared_libs: [
     18       "android.hardware.drm (a] 1.0",
     19       "android.hardware.drm (a] 1.1",
     20       "android.hardware.drm (a] 1.2",
     21       "libbinder",
     22       "libhidlbase",
     23       "liblog",
     24       "libmediadrmmetrics_full",
     25       "libmediametrics",
     26       "libprotobuf-cpp-full",
     27       "libutils",
     28     ],
     29     static_libs: ["libgmock"],
     30     include_dirs: [
     31       "frameworks/av/include/media",
     32     ],
     33     cflags: [
     34         // Suppress unused parameter and no error options. These cause problems
     35         // when using the map type in a proto definition.
     36         "-Wno-unused-parameter",
     37     ]
     38 }
     39 
     40 cc_test {
     41     name: "EventMetric_test",
     42     srcs: ["EventMetric_test.cpp"],
     43     shared_libs: [
     44       "liblog",
     45       "libmediadrm",
     46       "libutils",
     47     ],
     48     include_dirs: ["frameworks/av/include/media"],
     49     cflags: [
     50       "-Werror",
     51       "-Wall",
     52     ],
     53 }
     54