// // Copyright (C) 2019 The Android Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // package { default_applicable_licenses: ["Android-Apache-2.0"], } cc_library_static { name: "libneuralnetworks_generated_test_harness", srcs: [ "TestHarness.cpp", ], defaults: ["neuralnetworks_defaults"], host_supported: true, vendor_available: true, export_include_dirs: ["include"], static_libs: [ "libbase", "libgmock", "libgtest", ], } cc_library_static { name: "neuralnetworks_test_utils", defaults: ["neuralnetworks_utils_defaults"], srcs: [ "Assertions.cpp", "TestUtils.cpp", ], local_include_dirs: ["include/nnapi"], export_include_dirs: ["include"], static_libs: [ "libneuralnetworks_generated_test_harness", "neuralnetworks_types", ], header_libs: [ "libbase_headers", "libcutils_headers", "libutils_headers", ], } // Deprecated. cc_library_headers { name: "libneuralnetworks_generated_test_harness_headers", host_supported: false, export_include_dirs: ["include_legacy"], } // For CTS that cannot depend on non-NDK library. filegroup { name: "libneuralnetworks_generated_test_harness_for_cts", srcs: [ "TestHarness.cpp", ], } cc_library_headers { name: "libneuralnetworks_generated_test_harness_headers_for_cts", export_include_dirs: ["include"], sdk_version: "current", }