blob: 727a44d315d3e52ff79482c2a502c9104cf959c9 [file] [log] [blame]
Robert Greenwalt9ac09492013-02-05 11:02:49 -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
15LOCAL_PATH:= $(call my-dir)
16
17include $(CLEAR_VARS)
18
19LOCAL_MODULE := libnativedns_jni
20
21# Don't include this package in any configuration by default.
22LOCAL_MODULE_TAGS := optional
23
24LOCAL_SRC_FILES := NativeDnsJni.c
25
26LOCAL_C_INCLUDES := $(JNI_H_INCLUDE)
27
Dimitry Ivanov04d19df2016-01-12 11:49:57 -080028LOCAL_SHARED_LIBRARIES := libnativehelper_compat_libc++ liblog
29LOCAL_CXX_STL := libc++_static
Andreas Gampeee1fcef2017-06-08 14:22:34 -070030
Chih-Hung Hsieh78061072017-10-18 15:08:08 -070031LOCAL_CFLAGS := -Wall -Werror -Wno-unused-parameter
Andreas Gampeee1fcef2017-06-08 14:22:34 -070032
Robert Greenwalt9ac09492013-02-05 11:02:49 -080033include $(BUILD_SHARED_LIBRARY)
Erik Kline1c542da2015-05-14 17:20:39 +090034
35include $(CLEAR_VARS)
36LOCAL_MODULE := libnativemultinetwork_jni
37# Don't include this package in any configuration by default.
38LOCAL_MODULE_TAGS := optional
39LOCAL_SRC_FILES := NativeMultinetworkJni.c
Chih-Hung Hsieh78061072017-10-18 15:08:08 -070040LOCAL_CFLAGS := -Wall -Werror -Wno-format
Erik Kline1c542da2015-05-14 17:20:39 +090041LOCAL_C_INCLUDES := $(JNI_H_INCLUDE)
Dimitry Ivanov04d19df2016-01-12 11:49:57 -080042LOCAL_SHARED_LIBRARIES := libandroid libnativehelper_compat_libc++ liblog
43LOCAL_CXX_STL := libc++_static
Erik Kline1c542da2015-05-14 17:20:39 +090044include $(BUILD_SHARED_LIBRARY)