Sreeram Ramachandran | f4cfad3 | 2014-05-21 08:54:07 -0700 | [diff] [blame] | 1 | # Copyright (C) 2014 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 | |
| 15 | LOCAL_PATH := $(call my-dir) |
| 16 | |
| 17 | include $(CLEAR_VARS) |
| 18 | |
Dan Albert | 4aa79fa | 2014-08-27 11:17:28 -0700 | [diff] [blame] | 19 | LOCAL_C_INCLUDES := bionic/libc/dns/include system/netd/include |
Sreeram Ramachandran | 56afacf | 2014-05-28 15:07:00 -0700 | [diff] [blame] | 20 | LOCAL_CLANG := true |
| 21 | LOCAL_CPPFLAGS := -std=c++11 -Wall -Werror |
Devi Sandeep Endluri V V | 6139b84 | 2016-05-02 14:42:12 +0530 | [diff] [blame] | 22 | |
Swetha Vucha | 5eac92e | 2017-03-07 16:05:27 +0530 | [diff] [blame] | 23 | ifeq ($(BOARD_USES_QCNE),true) |
Devi Sandeep Endluri V V | 6139b84 | 2016-05-02 14:42:12 +0530 | [diff] [blame] | 24 | ifeq ($(BOARD_USES_LIBC_WRAPPER),true) |
| 25 | LOCAL_CPPFLAGS += -DUSE_WRAPPER |
| 26 | endif |
Swetha Vucha | 5eac92e | 2017-03-07 16:05:27 +0530 | [diff] [blame] | 27 | endif |
Devi Sandeep Endluri V V | 6139b84 | 2016-05-02 14:42:12 +0530 | [diff] [blame] | 28 | |
Sreeram Ramachandran | f4cfad3 | 2014-05-21 08:54:07 -0700 | [diff] [blame] | 29 | LOCAL_MODULE := libnetd_client |
| 30 | LOCAL_SRC_FILES := FwmarkClient.cpp NetdClient.cpp |
| 31 | |
Sreeram Ramachandran | f4cfad3 | 2014-05-21 08:54:07 -0700 | [diff] [blame] | 32 | include $(BUILD_SHARED_LIBRARY) |