[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
tree: 85d2494d18d1fbdb107f3a57104fee6a79a88fa2
  1. bpf_progs/
  2. client/
  3. include/
  4. libnetdbpf/
  5. netutils_wrappers/
  6. server/
  7. tests/
  8. .editorconfig
  9. Android.bp
  10. NOTICE
  11. OWNERS
  12. PREUPLOAD.cfg
  13. TEST_MAPPING