1 # Copyright (C) 2014 The Android Open Source Project
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
7 # http://www.apache.org/licenses/LICENSE-2.0
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.
15 LOCAL_PATH := $(call my-dir)
20 $(call include-path-for, libhardware_legacy)/hardware_legacy \
21 bionic/libc/dns/include \
22 external/libcxx/include \
23 external/mdnsresponder/mDNSShared \
27 LOCAL_CPPFLAGS := -std=c++11 -Wall -Werror
30 LOCAL_SHARED_LIBRARIES := \
42 LOCAL_STATIC_LIBRARIES := \
46 BandwidthController.cpp \
49 DnsProxyListener.cpp \
50 FirewallController.cpp \
52 IdletimerController.cpp \
53 InterfaceController.cpp \
62 NetworkController.cpp \
65 ResolverController.cpp \
67 SoftapController.cpp \
68 StrictController.cpp \
69 TetherController.cpp \
73 oem_iptables_hook.cpp \
75 include $(BUILD_EXECUTABLE)
79 LOCAL_CFLAGS := -Wall -Werror
82 LOCAL_SHARED_LIBRARIES := libcutils
83 LOCAL_SRC_FILES := ndc.c
85 include $(BUILD_EXECUTABLE)