1// Copyright (C) 2018 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//      http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15package {
16    default_team: "trendy_team_android_kernel",
17    default_applicable_licenses: ["Android-Apache-2.0"],
18}
19
20cc_test {
21    name: "lmkd_unit_test",
22
23    shared_libs: [
24        "libbase",
25        "liblog",
26        "libcutils",
27        "libprocessgroup",
28    ],
29
30    static_libs: [
31        "liblmkd_utils",
32    ],
33
34    target: {
35        android: {
36            srcs: ["lmkd_test.cpp"],
37        },
38    },
39
40    cflags: [
41        "-Wall",
42        "-Wextra",
43        "-Werror",
44    ],
45
46    compile_multilib: "first",
47}
48
49cc_test {
50    name: "lmkd_tests",
51    test_suites: ["device-tests"],
52    require_root: true,
53
54    shared_libs: [
55        "libbase",
56        "liblog",
57        "libcutils",
58        "libprocessgroup",
59    ],
60
61    static_libs: [
62        "liblmkd_utils",
63    ],
64
65    target: {
66        android: {
67            srcs: ["lmkd_tests.cpp"],
68        },
69    },
70
71    cflags: [
72        "-Wall",
73        "-Wextra",
74        "-Werror",
75    ],
76
77    compile_multilib: "first",
78}
79