Home | History | Annotate | Download | only in video
      1 //
      2 // Copyright (C) 2017 The Android Open Source Project
      3 //
      4 // Licensed under the Apache License, Version 2.0 (the "License");
      5 // you may not use this file except in compliance with the License.
      6 // You may obtain a copy of the License at
      7 //
      8 //      http://www.apache.org/licenses/LICENSE-2.0
      9 //
     10 // Unless required by applicable law or agreed to in writing, software
     11 // distributed under the License is distributed on an "AS IS" BASIS,
     12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13 // See the License for the specific language governing permissions and
     14 // limitations under the License.
     15 //
     16 
     17 cc_test {
     18     name: "VtsHalMediaOmxV1_0TargetVideoDecTest",
     19     defaults: ["hidl_defaults"],
     20     srcs: ["VtsHalMediaOmxV1_0TargetVideoDecTest.cpp",
     21            "media_video_hidl_test_common.cpp"],
     22     shared_libs: [
     23         "libbase",
     24         "liblog",
     25         "libcutils",
     26         "libhidlbase",
     27         "libhidlmemory",
     28         "libhidltransport",
     29         "libhwbinder",
     30         "libnativehelper",
     31         "libutils",
     32         "libstagefright_foundation",
     33         "android.hidl.allocator (a] 1.0",
     34         "android.hidl.memory (a] 1.0",
     35         "android.hardware.media.omx (a] 1.0",
     36         "android.hardware.graphics.allocator (a] 2.0",
     37         "android.hardware.graphics.mapper (a] 2.0",
     38         "android.hardware.graphics.common (a] 1.0",
     39     ],
     40     static_libs: ["VtsHalHidlTargetTestBase",
     41                   "VtsHalMediaOmxV1_0CommonUtil"],
     42     cflags: [
     43         "-O0",
     44         "-g",
     45     ],
     46     include_dirs: [
     47         "frameworks/native/include/media/openmax/",
     48         "hardware/interfaces/media/omx/1.0/vts/functional/common",
     49     ],
     50 }
     51 
     52 cc_test {
     53     name: "VtsHalMediaOmxV1_0TargetVideoEncTest",
     54     defaults: ["hidl_defaults"],
     55     srcs: ["VtsHalMediaOmxV1_0TargetVideoEncTest.cpp",
     56            "media_video_hidl_test_common.cpp"],
     57     shared_libs: [
     58         "libbase",
     59         "liblog",
     60         "libcutils",
     61         "libhidlbase",
     62         "libhidlmemory",
     63         "libhidltransport",
     64         "libhwbinder",
     65         "libnativehelper",
     66         "libnativewindow",
     67         "libutils",
     68         "libstagefright_foundation",
     69         "android.hidl.allocator (a] 1.0",
     70         "android.hidl.memory (a] 1.0",
     71         "android.hardware.media.omx (a] 1.0",
     72         "android.hardware.graphics.bufferqueue (a] 1.0",
     73         "android.hardware.graphics.mapper (a] 2.0",
     74     ],
     75     static_libs: ["VtsHalHidlTargetTestBase",
     76                   "VtsHalMediaOmxV1_0CommonUtil"],
     77     cflags: [
     78         "-O0",
     79         "-g",
     80     ],
     81     include_dirs: [
     82         "frameworks/native/include/media/openmax/",
     83         "hardware/interfaces/media/omx/1.0/vts/functional/common",
     84     ],
     85 }
     86