diff options
author | Maciej Żenczykowski <maze@google.com> | 2022-06-15 01:04:03 -0700 |
---|---|---|
committer | Cherrypicker Worker <android-build-cherrypicker-worker@google.com> | 2022-06-16 03:19:27 +0000 |
commit | e3ea09c60fdc7be99589299d12291d9f124d3f0c (patch) | |
tree | 47174402726155e5ebed4f4776c2f4aac56caa0d | |
parent | cb4554093b9c32854c7a5656409fe091ce8e5456 (diff) | |
download | netd-e3ea09c60fdc7be99589299d12291d9f124d3f0c.tar.gz |
move XtBpfProgLocations.h into a new header library
Bug: 235778483
Test: TreeHugger
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I6ad0a12ff14331809cbca97043bc5d5c9f8742b8
(cherry picked from commit d9fc54b55b58ef20dbd34e12699ae947912e7562)
Merged-In: I6ad0a12ff14331809cbca97043bc5d5c9f8742b8
-rw-r--r-- | Android.bp | 9 | ||||
-rw-r--r-- | include/mainline/XtBpfProgLocations.h (renamed from include/binder_utils/XtBpfProgLocations.h) | 0 | ||||
-rw-r--r-- | server/BandwidthControllerTest.cpp | 2 | ||||
-rw-r--r-- | server/TetherController.h | 2 |
4 files changed, 11 insertions, 2 deletions
@@ -29,6 +29,15 @@ cc_library_headers { apex_available: [ "//apex_available:platform", "com.android.resolv", + ], + min_sdk_version: "29", +} + +cc_library_headers { + name: "netd_mainline_headers", + export_include_dirs: ["include/mainline"], + apex_available: [ + "//apex_available:platform", "com.android.tethering", ], sdk_version: "29", diff --git a/include/binder_utils/XtBpfProgLocations.h b/include/mainline/XtBpfProgLocations.h index 95a5742c..95a5742c 100644 --- a/include/binder_utils/XtBpfProgLocations.h +++ b/include/mainline/XtBpfProgLocations.h diff --git a/server/BandwidthControllerTest.cpp b/server/BandwidthControllerTest.cpp index bf4c2e2a..844681d0 100644 --- a/server/BandwidthControllerTest.cpp +++ b/server/BandwidthControllerTest.cpp @@ -34,7 +34,7 @@ #include "BandwidthController.h" #include "Fwmark.h" #include "IptablesBaseTest.h" -#include "binder_utils/XtBpfProgLocations.h" +#include "mainline/XtBpfProgLocations.h" #include "tun_interface.h" using ::testing::_; diff --git a/server/TetherController.h b/server/TetherController.h index bbabcee4..d2195f23 100644 --- a/server/TetherController.h +++ b/server/TetherController.h @@ -31,7 +31,7 @@ #include "android/net/TetherOffloadRuleParcel.h" -#include "binder_utils/XtBpfProgLocations.h" +#include "mainline/XtBpfProgLocations.h" namespace android { namespace net { |