[NETD-BPF#9] bpf_benchmark links liblog
1. bpf_benchmark needs to link liblog because some functions it used are
moved from BpfUtils.cpp to BpfUtils.h. These functions use ALOGX().
2. Move LOG_TAG in TcUtils.cpp to first line to avoid LOG_TAG
redefinition. LOG_TAG should be defined before including headers.
Otherwise, LOG_TAG may have been defined as NULL (by log.h) in included
headers. It causes redefinition warning when cpp file tries to define
LOG_TAG again.
Bug: 202086915
Test: build; flash; cd system/netd; atest
Change-Id: I12c54e9e2d91083cf752c3cad5a9c4ec0d5fd6f2
2 files changed