Home | History | Annotate | Download | only in tests
      1 //
      2 // Copyright (C) 2014 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: "Region_test",
     19     shared_libs: ["libui"],
     20     srcs: ["Region_test.cpp"],
     21     cflags: ["-Wall", "-Werror"],
     22 }
     23 
     24 cc_test {
     25     name: "colorspace_test",
     26     shared_libs: ["libui"],
     27     srcs: ["colorspace_test.cpp"],
     28     cflags: ["-Wall", "-Werror"],
     29 }
     30 
     31 cc_test {
     32     name: "GraphicBuffer_test",
     33     header_libs: [
     34         "libdvr_headers",
     35         "libnativewindow_headers",
     36     ],
     37     shared_libs: [
     38         "android.frameworks.bufferhub (a] 1.0",
     39         "libcutils",
     40         "libhidlbase",
     41         "libhwbinder",
     42         "libui",
     43         "libutils",
     44     ],
     45     srcs: ["GraphicBuffer_test.cpp"],
     46     cflags: ["-Wall", "-Werror"],
     47 }
     48 
     49 cc_test {
     50     name: "BufferHub_test",
     51     header_libs: [
     52         "libdvr_headers",
     53         "libnativewindow_headers",
     54     ],
     55     static_libs: [
     56         "libgmock",
     57     ],
     58     shared_libs: [
     59         "android.frameworks.bufferhub (a] 1.0",
     60         "libcutils",
     61         "libhidlbase",
     62         "libhwbinder",
     63         "liblog",
     64         "libui",
     65         "libutils"
     66     ],
     67     srcs: [
     68         "BufferHubBuffer_test.cpp",
     69         "BufferHubEventFd_test.cpp",
     70         "BufferHubMetadata_test.cpp",
     71     ],
     72     cflags: ["-Wall", "-Werror"],
     73 }
     74 
     75 cc_test {
     76     name: "Size_test",
     77     shared_libs: ["libui"],
     78     srcs: ["Size_test.cpp"],
     79     cflags: ["-Wall", "-Werror"],
     80 }
     81