libbpf_android: remove libnetdutils dep

Remove libnetdutils dependency because bpf is being used for things other
than networking these days, and we don't want to make libnetdutils
vendor-available in the future. libbase provides an alternative type now.

Bug: 140330870
Test: atest libbpf_android_test netd_integration_test netd_unit_test
    libnetdbpf_test bpf_module_test
Change-Id: I72ae8cd7f58a49bfc7dcb914a332a4c4bad5dea5
This commit is contained in:
Steven Moreland 2020-01-10 17:49:35 -08:00
commit e7cd2a72d0

View file

@ -81,10 +81,10 @@ class BpfLoadTest : public testing::Test {
UNUSED(key);
UNUSED(map);
return android::netdutils::status::ok;
return base::Result<void>();
};
EXPECT_OK(m.iterateWithValue(iterFunc));
EXPECT_TRUE(m.iterateWithValue(iterFunc));
EXPECT_EQ(non_zero, 1);
}
};