Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8cd2e451 authored by Luke Huang's avatar Luke Huang Committed by Maciej Żenczykowski
Browse files

Add dnsproxyd_protocol_headers for NETID_USE_LOCAL_NAMESERVERS

NETID_USE_LOCAL_NAMESERVERS is no longer in libnetd_client

Bug: 151895202
Test: build
Change-Id: Iea0c2488dcabdd24d6ffca8134cd11ed12e8308a
Merged-In: Iea0c2488dcabdd24d6ffca8134cd11ed12e8308a
parent ed6b129e
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -231,7 +231,10 @@ cc_library_shared {
        "system/media/private/camera/include",
    ],

    header_libs: ["bionic_libc_platform_headers"],
    header_libs: [
        "bionic_libc_platform_headers",
        "dnsproxyd_protocol_headers",
    ],

    static_libs: [
        "libasync_safe",
+3 −2
Original line number Diff line number Diff line
@@ -27,12 +27,13 @@
#include <netinet/ip.h>
#include <netinet/udp.h>

#include <DnsProxydProtocol.h> // NETID_USE_LOCAL_NAMESERVERS
#include <android_runtime/AndroidRuntime.h>
#include <cutils/properties.h>
#include <utils/misc.h>
#include <utils/Log.h>
#include <nativehelper/JNIHelp.h>
#include <nativehelper/ScopedLocalRef.h>
#include <utils/Log.h>
#include <utils/misc.h>

#include "NetdClient.h"
#include "core_jni_helpers.h"