1LOCAL_PATH := $(call my-dir) 2 3include $(CLEAR_VARS) 4LOCAL_SRC_FILES := tc.c tc_exec.c tc_qdisc.c q_cbq.c tc_util.c tc_class.c tc_core.c m_action.c \ 5 m_estimator.c tc_filter.c tc_monitor.c tc_stab.c tc_cbq.c \ 6 tc_estimator.c f_u32.c m_police.c q_ingress.c m_mirred.c q_htb.c 7 8LOCAL_MODULE := tc 9 10LOCAL_SYSTEM_SHARED_LIBRARIES := \ 11 libc libm libdl 12 13LOCAL_SHARED_LIBRARIES += libiprouteutil libnetlink 14 15LOCAL_C_INCLUDES := $(LOCAL_PATH)/../include 16 17LOCAL_CFLAGS := -O2 -g -W -Wall -Wno-pointer-arith -Wno-sign-compare -Werror \ 18 -Wno-unused-parameter \ 19 -Wno-missing-field-initializers 20 21# This is a work around for b/18403920 22LOCAL_LDFLAGS := -Wl,--no-gc-sections 23 24include $(BUILD_EXECUTABLE) 25 26