Home | History | Annotate | Download | only in functional
      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_library_static {
     18     name: "VtsHalNeuralnetworksTest_utils",
     19     srcs: [
     20         "Callbacks.cpp",
     21         "GeneratedTestHarness.cpp",
     22     ],
     23     defaults: ["VtsHalTargetTestDefaults"],
     24     export_include_dirs: ["."],
     25     static_libs: [
     26         "android.hardware.neuralnetworks (a] 1.0",
     27         "android.hardware.neuralnetworks (a] 1.1",
     28         "android.hidl.allocator (a] 1.0",
     29         "android.hidl.memory (a] 1.0",
     30         "libhidlmemory",
     31         "libneuralnetworks_utils",
     32     ],
     33     header_libs: [
     34         "libneuralnetworks_headers",
     35         "libneuralnetworks_generated_test_harness_headers",
     36         "libneuralnetworks_generated_tests",
     37     ],
     38 }
     39 
     40 cc_test {
     41     name: "VtsHalNeuralnetworksV1_0TargetTest",
     42     srcs: [
     43         "BasicTests.cpp",
     44         "GeneratedTests.cpp",
     45         "ValidateModel.cpp",
     46         "ValidateRequest.cpp",
     47         "ValidationTests.cpp",
     48         "VtsHalNeuralnetworks.cpp",
     49     ],
     50     defaults: ["VtsHalTargetTestDefaults"],
     51     static_libs: [
     52         "android.hardware.neuralnetworks (a] 1.1",
     53         "android.hardware.neuralnetworks (a] 1.0",
     54         "android.hidl.allocator (a] 1.0",
     55         "android.hidl.memory (a] 1.0",
     56         "libhidlmemory",
     57         "libneuralnetworks_utils",
     58         "VtsHalNeuralnetworksTest_utils",
     59     ],
     60     header_libs: [
     61         "libneuralnetworks_headers",
     62         "libneuralnetworks_generated_test_harness_headers",
     63         "libneuralnetworks_generated_tests",
     64     ],
     65 }
     66