diff options
author | Lorenzo Colitti <lorenzo@google.com> | 2019-05-01 11:54:33 +0900 |
---|---|---|
committer | Lorenzo Colitti <lorenzo@google.com> | 2019-05-01 19:10:43 +0900 |
commit | eb2269e3de2badfc73dc02fcec9220640bde67f0 (patch) | |
tree | 79e5368f0da34554d470838bec572dcfd4e90c55 /src/com/android/server/NetworkStackService.java | |
parent | 304ec60a343818fb14c9a68f72c0b60cbb8778dc (diff) |
Make NetworkStack actually build in an unbundled setup.
The Java code was already using sdk_version: "current", but the
JNI library did not have an sdk_version attribute, and had
forbidden dependencies on internal libraries such as libcutils,
liblog and libnativehelper.
This CL fixes things as follows:
- Use the NDK log functions, and switch to the NDK liblog.
- Switch to the NDK libnativehelper.
- Drop the dependencies on libcutils and libpcap, which were
unused.
- Use the libc++ STL, and set the sdk_version of the library to
current.
Bug: 131703417
Test: m
Test: installed NetworkStack APK via "adb install --staged" results in working networking
Test: builds, boots, wifi works
Test: atest FrameworksNetTests NetworkStackTests
Change-Id: I1a7bd7fe2809b90a66073d8c5d5dcdff646c4286
Diffstat (limited to 'src/com/android/server/NetworkStackService.java')
0 files changed, 0 insertions, 0 deletions