blob: fa9b464b38489d564f2b16a71fd3ceb5a975698e [file] [log] [blame]
Sreeram Ramachandranf4cfad32014-05-21 08:54:07 -07001# 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
15LOCAL_PATH := $(call my-dir)
16
17include $(CLEAR_VARS)
18
Dan Albert4aa79fa2014-08-27 11:17:28 -070019LOCAL_C_INCLUDES := bionic/libc/dns/include system/netd/include
Sreeram Ramachandran56afacf2014-05-28 15:07:00 -070020LOCAL_CLANG := true
21LOCAL_CPPFLAGS := -std=c++11 -Wall -Werror
Devi Sandeep Endluri V V6139b842016-05-02 14:42:12 +053022
Swetha Vucha5eac92e2017-03-07 16:05:27 +053023ifeq ($(BOARD_USES_QCNE),true)
Devi Sandeep Endluri V V6139b842016-05-02 14:42:12 +053024ifeq ($(BOARD_USES_LIBC_WRAPPER),true)
25LOCAL_CPPFLAGS += -DUSE_WRAPPER
26endif
Swetha Vucha5eac92e2017-03-07 16:05:27 +053027endif
Devi Sandeep Endluri V V6139b842016-05-02 14:42:12 +053028
Sreeram Ramachandranf4cfad32014-05-21 08:54:07 -070029LOCAL_MODULE := libnetd_client
30LOCAL_SRC_FILES := FwmarkClient.cpp NetdClient.cpp
31
Sreeram Ramachandranf4cfad32014-05-21 08:54:07 -070032include $(BUILD_SHARED_LIBRARY)