Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6a842931 authored by Chalard Jean's avatar Chalard Jean
Browse files

Move the libnetworkstacktestsjni target to its own directory.

The point of this is that now atest understands that the classes
in NetworkStackTests are only in NetworkStackTests, so it stops
asking for the right module every time.

You may have to call atest with --rebuild-module-info once.

Test: atest now does not ask for the module when running,
      say, NetTestUtilsTests

Change-Id: I63a38b34667be55cbcd0a80f17225ac109cdc919
parent 3674b556
Loading
Loading
Loading
Loading
+0 −27
Original line number Diff line number Diff line
@@ -84,30 +84,3 @@ java_defaults {
        "netd_aidl_interface-V2-cpp",
    ],
}

// JNI code for ApfTest
cc_library_shared {
    name: "libnetworkstacktestsjni",
    srcs: [
        "jni/**/*.cpp"
    ],
    cflags: [
        "-Wall",
        "-Wextra",
        "-Werror",
    ],
    include_dirs: [
        "hardware/google/apf",
    ],
    shared_libs: [
        "libbinder",
        "liblog",
        "libcutils",
        "libnativehelper",
        "netd_aidl_interface-V2-cpp",
    ],
    static_libs: [
        "libapf",
        "libpcap",
    ],
}
+41 −0
Original line number Diff line number Diff line
//
// 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.
//

cc_library_shared {
    name: "libnetworkstacktestsjni",
    srcs: [
        "**/*.cpp"
    ],
    cflags: [
        "-Wall",
        "-Wextra",
        "-Werror",
    ],
    include_dirs: [
        "hardware/google/apf",
    ],
    shared_libs: [
        "libbinder",
        "liblog",
        "libcutils",
        "libnativehelper",
        "netd_aidl_interface-V2-cpp",
    ],
    static_libs: [
        "libapf",
        "libpcap",
    ],
}