Skip to content

Commit

Permalink
Merge "Use the new libicu.so provided in the NDK"
Browse files Browse the repository at this point in the history
  • Loading branch information
gvictor authored and Gerrit Code Review committed Oct 2, 2020
2 parents f99502f + 4ab33ea commit 6709de7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
9 changes: 2 additions & 7 deletions NativeCode.bp
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@ cc_library_shared {
"dalvik/src/main/native/org_apache_harmony_dalvik_NativeTestTarget.cpp",
],
shared_libs: [
"libandroidicu",
"libandroidio",
"libbase",
"libcrypto",
"libicu",
"libexpat",
"libnativehelper",
"libz",
Expand Down Expand Up @@ -130,6 +130,7 @@ cc_defaults {
shared_libs: [
"libandroidio",
"libcrypto",
"libicu",
"libnativehelper",
"libz",
],
Expand All @@ -146,15 +147,9 @@ cc_defaults {
},
android: {
shared_libs: [
"libandroidicu",
"libdl_android",
],
},
host: {
shared_libs: [
"libicuuc",
],
},
},

notice: "ojluni/NOTICE",
Expand Down
2 changes: 1 addition & 1 deletion luni/src/main/native/ScopedIcuULoc.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include <nativehelper/JNIHelp.h>
#include <nativehelper/ScopedUtfChars.h>

#include "unicode/uloc.h"
#include <unicode/uloc.h>


static void getLocale(const char* localeName, std::string& locale, UErrorCode* status) {
Expand Down
5 changes: 3 additions & 2 deletions luni/src/main/native/org_apache_harmony_xml_ExpatParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,11 @@
#include <nativehelper/ScopedUtfChars.h>
#include <nativehelper/jni_macros.h>

#include <unicode/char16ptr.h>
#include <unicode/ustring.h>

#include "JniConstants.h"
#include "JniException.h"
#include "unicode/char16ptr.h"
#include "unicode/ustring.h"

#define BUCKET_COUNT 128

Expand Down

0 comments on commit 6709de7

Please sign in to comment.