summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-06-15 21:41:00 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-06-15 21:41:00 +0000
commit76268fd181916aa3faeed8f207dcbd2a0d6e5ecd (patch)
tree42498f8f43714aea6f9c27aff3fc9f0c31f23222
parentd2bed6e3953c584affd0c5be2debb71991579eb6 (diff)
parent84b3aa147eabb6fbb916aa20e1e7b5613b267304 (diff)
downloadlibtextclassifier-android12-mainline-tzdata3-release.tar.gz
Change-Id: I2d7196482ada2a87c63af0386681422f8091f29a
-rw-r--r--OWNERS6
-rw-r--r--TEST_MAPPING19
-rw-r--r--abseil-cpp/Android.bp3
-rw-r--r--native/Android.bp59
-rw-r--r--native/FlatBufferHeaders.bp1
-rw-r--r--proto/Android.bp10
6 files changed, 6 insertions, 92 deletions
diff --git a/OWNERS b/OWNERS
index 46bd5b1..81cfdb8 100644
--- a/OWNERS
+++ b/OWNERS
@@ -2,6 +2,6 @@
# Please update this list if you find better candidates.
tonymak@google.com
toki@google.com
-licha@google.com
-joannechung@google.com
-lpeter@google.com \ No newline at end of file
+zilka@google.com
+mns@google.com
+jalt@google.com
diff --git a/TEST_MAPPING b/TEST_MAPPING
index 370acd6..72e022b 100644
--- a/TEST_MAPPING
+++ b/TEST_MAPPING
@@ -21,25 +21,6 @@
"name": "TCSModelDownloaderIntegrationTest"
}
],
- "hwasan-postsubmit": [
- {
- "name": "TextClassifierServiceTest",
- "options": [
- {
- "exclude-annotation": "androidx.test.filters.FlakyTest"
- }
- ]
- },
- {
- "name": "libtextclassifier_tests"
- },
- {
- "name": "libtextclassifier_java_tests"
- },
- {
- "name": "TextClassifierNotificationTests"
- }
- ],
"mainline-presubmit": [
{
"name": "TextClassifierNotificationTests[com.google.android.extservices.apex]"
diff --git a/abseil-cpp/Android.bp b/abseil-cpp/Android.bp
index 0ab3734..a3635f3 100644
--- a/abseil-cpp/Android.bp
+++ b/abseil-cpp/Android.bp
@@ -35,7 +35,7 @@ cc_library_static {
export_include_dirs: ["."],
visibility: [
"//external/libtextclassifier:__subpackages__",
- "//external/tflite-support:__subpackages__",
+ "//external/tflite-support:__subpackages__"
],
srcs: [
"absl/**/*.cc",
@@ -43,7 +43,6 @@ cc_library_static {
apex_available: [
"//apex_available:platform",
"com.android.extservices",
- "com.android.adservices",
],
sdk_version: "current",
min_sdk_version: "30",
diff --git a/native/Android.bp b/native/Android.bp
index ed514da..a0ca6a4 100644
--- a/native/Android.bp
+++ b/native/Android.bp
@@ -31,7 +31,6 @@ cc_library_headers {
"com.android.neuralnetworks",
"test_com.android.neuralnetworks",
],
- sdk_version: "current",
}
cc_defaults {
@@ -66,7 +65,6 @@ cc_library_static {
"com.android.neuralnetworks",
"test_com.android.neuralnetworks",
"com.android.extservices",
- "com.android.adservices",
],
}
@@ -131,63 +129,8 @@ cc_defaults {
"liblua",
"libutf",
"libtflite_static",
- "tflite_support"
- ],
-}
-
-cc_library_static {
- name: "libtextclassifier_bert_tokenizer",
- export_include_dirs: ["."],
- visibility: ["//external/tflite-support:__subpackages__"],
- srcs: [
- "utils/base/logging.cc",
- "utils/base/logging_raw.cc",
- "utils/bert_tokenizer.cc",
- "utils/strings/utf8.cc",
- "utils/tokenizer-utils.cc",
- "utils/utf8/unilib-common.cc",
- "utils/utf8/unicodetext.cc",
- "utils/wordpiece_tokenizer.cc",
- ],
- apex_available: [
- "//apex_available:platform",
- "com.android.extservices",
- "com.android.adservices",
- ],
- cflags: [
- "-Wno-ignored-qualifiers",
- "-Wno-missing-field-initializers",
- "-Wno-unused-parameter",
-
- "-DLIBTEXTCLASSIFIER_UNILIB_ICU",
- "-DZLIB_CONST",
- "-DSAFTM_COMPACT_LOGGING",
- "-DTC3_WITH_ACTIONS_OPS",
- "-DTC3_UNILIB_JAVAICU",
- "-DTC3_CALENDAR_JAVAICU",
- "-DTC3_AOSP",
- "-DTC3_VOCAB_ANNOTATOR_IMPL",
- "-DTC3_POD_NER_ANNOTATOR_IMPL",
- ],
- product_variables: {
- debuggable: {
- // Only enable debug logging in userdebug/eng builds.
- cflags: ["-DTC3_DEBUG_LOGGING=1"],
- },
- },
- header_libs: [
- "jni_headers",
- "tensorflow_headers",
- "flatbuffer_headers",
- "libtextclassifier_flatbuffer_headers",
- ],
- static_libs: [
- "libtextclassifier_abseil",
"tflite_support",
],
- sdk_version: "current",
- min_sdk_version: "30",
- stl: "libc++_static",
}
// -----------------
@@ -302,7 +245,7 @@ cc_test_library {
"libtextclassifier",
],
header_libs: [
- "libtextclassifier_flatbuffer_testonly_headers",
+ "libtextclassifier_flatbuffer_testonly_headers",
],
}
diff --git a/native/FlatBufferHeaders.bp b/native/FlatBufferHeaders.bp
index 235bb4a..813ec6a 100644
--- a/native/FlatBufferHeaders.bp
+++ b/native/FlatBufferHeaders.bp
@@ -176,7 +176,6 @@ cc_library_headers {
apex_available: [
"//apex_available:platform",
"com.android.extservices",
- "com.android.adservices",
],
generated_headers: [
"libtextclassifier_fbgen_lang_id_common_flatbuffers_model",
diff --git a/proto/Android.bp b/proto/Android.bp
index 6b67752..c1c2825 100644
--- a/proto/Android.bp
+++ b/proto/Android.bp
@@ -14,15 +14,6 @@
// limitations under the License.
//
-package {
- // See: http://go/android-license-faq
- // A large-scale-change added 'default_applicable_licenses' to import
- // all of the 'license_kinds' from "external_libtextclassifier_license"
- // to get the below license kinds:
- // SPDX-license-identifier-Apache-2.0
- default_applicable_licenses: ["external_libtextclassifier_license"],
-}
-
java_library {
name: "textclassifier-java-proto-lite",
proto: {
@@ -37,3 +28,4 @@ java_library {
"com.android.extservices",
],
}
+