summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-05-10 06:58:28 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-05-10 06:58:28 +0000
commit6541e72e92cf01b8e562140eeb119115dedaee31 (patch)
tree32e1b037cb7b1d6220e9ade8dac98ee7c85da840
parentb80a66ded8edcd77393f3e379ac88ed939a39c17 (diff)
parent2cf62209283859a2c049c3326cfd579d9d2f45ca (diff)
downloadlibtextclassifier-6541e72e92cf01b8e562140eeb119115dedaee31.tar.gz
Snap for 8564071 from 2cf62209283859a2c049c3326cfd579d9d2f45ca to mainline-permission-release
Change-Id: I3ebfdad9e10b485b7905a535ddcdcaf85a52c805
-rw-r--r--OWNERS6
-rw-r--r--TEST_MAPPING19
-rw-r--r--abseil-cpp/Android.bp3
-rw-r--r--native/Android.bp6
-rw-r--r--proto/Android.bp10
5 files changed, 37 insertions, 7 deletions
diff --git a/OWNERS b/OWNERS
index 81cfdb8..46bd5b1 100644
--- a/OWNERS
+++ b/OWNERS
@@ -2,6 +2,6 @@
# Please update this list if you find better candidates.
tonymak@google.com
toki@google.com
-zilka@google.com
-mns@google.com
-jalt@google.com
+licha@google.com
+joannechung@google.com
+lpeter@google.com \ No newline at end of file
diff --git a/TEST_MAPPING b/TEST_MAPPING
index 72e022b..370acd6 100644
--- a/TEST_MAPPING
+++ b/TEST_MAPPING
@@ -21,6 +21,25 @@
"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 a3635f3..0ab3734 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,6 +43,7 @@ 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 a0ca6a4..b80c979 100644
--- a/native/Android.bp
+++ b/native/Android.bp
@@ -31,6 +31,7 @@ cc_library_headers {
"com.android.neuralnetworks",
"test_com.android.neuralnetworks",
],
+ sdk_version: "current",
}
cc_defaults {
@@ -65,6 +66,7 @@ cc_library_static {
"com.android.neuralnetworks",
"test_com.android.neuralnetworks",
"com.android.extservices",
+ "com.android.adservices",
],
}
@@ -129,7 +131,7 @@ cc_defaults {
"liblua",
"libutf",
"libtflite_static",
- "tflite_support",
+ "tflite_support"
],
}
@@ -245,7 +247,7 @@ cc_test_library {
"libtextclassifier",
],
header_libs: [
- "libtextclassifier_flatbuffer_testonly_headers",
+ "libtextclassifier_flatbuffer_testonly_headers",
],
}
diff --git a/proto/Android.bp b/proto/Android.bp
index c1c2825..6b67752 100644
--- a/proto/Android.bp
+++ b/proto/Android.bp
@@ -14,6 +14,15 @@
// 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: {
@@ -28,4 +37,3 @@ java_library {
"com.android.extservices",
],
}
-