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:
parent
289742f537
commit
e7cd2a72d0
1 changed files with 123 additions and 123 deletions
|
|
@ -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);
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue