TEST_BPF_MAP -> BPF_MAP_MAKE_VISIBLE_FOR_TESTING

Per request of Lorenzo on:
  https://googleplex-android-review.git.corp.google.com/c/platform/frameworks/libs/net/+/18694820
  https://googleplex-android-review.git.corp.google.com/c/platform/packages/modules/Connectivity/+/18695355

Although he'd suggested 'BPF_MAP_TEST_ONLY',
but I think this is even clearer.

Test: TreeHugger
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I796c939cba8866aca15f3dfff5a27ba986f74df6
This commit is contained in:
Maciej Żenczykowski
2022-06-13 18:25:34 -07:00
parent f9c0de29a2
commit 01319d931a
2 changed files with 2 additions and 2 deletions

View File

@@ -21,7 +21,7 @@
#include <gtest/gtest.h>
#define TEST_BPF_MAP
#define BPF_MAP_MAKE_VISIBLE_FOR_TESTING
#include "BpfHandler.h"
using namespace android::bpf; // NOLINT(google-build-using-namespace): exempted