Skip to content
Snippets Groups Projects
Commit 01319d93 authored by Maciej Żenczykowski's avatar Maciej Żenczykowski
Browse files

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: default avatarMaciej Żenczykowski <maze@google.com>
Change-Id: I796c939cba8866aca15f3dfff5a27ba986f74df6
parent f9c0de29
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -38,7 +38,7 @@
#include <netdutils/MockSyscalls.h>
#define TEST_BPF_MAP
#define BPF_MAP_MAKE_VISIBLE_FOR_TESTING
#include "TrafficController.h"
#include "bpf/BpfUtils.h"
#include "NetdUpdatablePublic.h"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment