OSDN Git Service

Add tests for INetd 1.1.
[android-x86/system-hardware-interfaces.git] / net / netd / testutils / Android.bp
index a7c33a5..991c272 100644 (file)
@@ -13,6 +13,7 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
+// Utility code common for all HAL versions.
 cc_library {
     name: "VtsHalNetNetdTestUtils",
     srcs: [
@@ -20,12 +21,34 @@ cc_library {
     ],
     export_include_dirs: ["."],
     shared_libs: [
+        "libandroid_net",
         "libbase",
+    ],
+    cflags: [
+        "-Og",
+       "-Wall",
+       "-Werror",
+    ],
+}
+
+// Common build settings for all HAL versions.
+cc_defaults {
+    name: "VtsHalNetNetdTestDefaults",
+    shared_libs: [
         "libandroid_net",
+        "libbase",
+        "libhidlbase",
+        "liblog",
+        "libutils",
+    ],
+    static_libs: [
+        "VtsHalHidlTargetTestBase",
+        "VtsHalNetNetdTestUtils",
     ],
     cflags: [
         "-Og",
         "-Wall",
         "-Werror",
     ],
+    defaults: ["VtsHalTargetTestDefaults"],
 }