Home | History | Annotate | Download | only in testutils
      1 //
      2 // Copyright (C) 2018 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 // Utility code common for all HAL versions.
     17 cc_library {
     18     name: "VtsHalNetNetdTestUtils",
     19     srcs: [
     20         "VtsHalNetNetdTestUtils.cpp",
     21     ],
     22     export_include_dirs: ["."],
     23     shared_libs: [
     24         "libandroid_net",
     25         "libbase",
     26     ],
     27     cflags: [
     28         "-Og",
     29 	"-Wall",
     30 	"-Werror",
     31     ],
     32 }
     33 
     34 // Common build settings for all HAL versions.
     35 cc_defaults {
     36     name: "VtsHalNetNetdTestDefaults",
     37     shared_libs: [
     38         "libandroid_net",
     39         "libbase",
     40         "libhidlbase",
     41         "liblog",
     42         "libutils",
     43     ],
     44     static_libs: [
     45         "VtsHalHidlTargetTestBase",
     46         "VtsHalNetNetdTestUtils",
     47     ],
     48     cflags: [
     49         "-Og",
     50         "-Wall",
     51         "-Werror",
     52     ],
     53     defaults: ["VtsHalTargetTestDefaults"],
     54 }
     55