diff options
author | Tony Mak <tonymak@google.com> | 2020-09-29 15:36:29 +0100 |
---|---|---|
committer | Tony Mak <tonymak@google.com> | 2020-09-29 14:42:58 +0000 |
commit | 01ebc5a4dd85f932df003f96389dfecc96ec6496 (patch) | |
tree | 5eb896f2ac288809f1588de13418034fb8b42f57 /native | |
parent | f7755fa010644497509f1af71d22816f5cf45edb (diff) | |
download | libtextclassifier-01ebc5a4dd85f932df003f96389dfecc96ec6496.tar.gz |
Remove fexceptions from libtextclassifier
We were forced to enable exception for the whole libtextclassifier for
the marisa library. It is because some code in the header files of the
marisa trie library used to throw exception.
With aosp/1440831, the marisa library no longer throws
in headers, so we can get rid of "-fexceptions"
Bug: 148777789
Test: m libtextclassifier
Change-Id: If46dd32c887babbbc01d2120c0903038b10f6283
Diffstat (limited to 'native')
-rw-r--r-- | native/Android.bp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/native/Android.bp b/native/Android.bp index 0096f61..4b33738 100644 --- a/native/Android.bp +++ b/native/Android.bp @@ -81,7 +81,6 @@ cc_defaults { "-funsigned-char", "-fvisibility=hidden", - "-fexceptions", "-DLIBTEXTCLASSIFIER_UNILIB_ICU", "-DZLIB_CONST", |