blob: baed48dfae2d84ab7f8b66e9880f07487542d3d8 [file] [log] [blame]
Luke Huang4df605b2019-04-12 10:18:22 +08001// Copyright (C) 2013 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
15cc_library_shared {
16 name: "libnativedns_jni",
17
18 srcs: ["NativeDnsJni.c"],
19
20 shared_libs: [
21 "libnativehelper_compat_libc++",
22 "liblog",
23 ],
24 stl: "libc++_static",
25
26 cflags: [
27 "-Wall",
28 "-Werror",
29 "-Wno-unused-parameter",
30 ],
31
32}
33
34cc_library_shared {
35 name: "libnativemultinetwork_jni",
36
37 srcs: ["NativeMultinetworkJni.cpp"],
38 cflags: [
39 "-Wall",
40 "-Werror",
41 "-Wno-format",
42 ],
43 shared_libs: [
44 "libandroid",
45 "libnativehelper_compat_libc++",
46 "liblog",
47 ],
48 stl: "libc++_static",
49}