summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build/Android.bp13
-rw-r--r--tools/fuzzer/Android.bp2
2 files changed, 14 insertions, 1 deletions
diff --git a/build/Android.bp b/build/Android.bp
index e2d724b99e..e8a0b5424b 100644
--- a/build/Android.bp
+++ b/build/Android.bp
@@ -362,3 +362,16 @@ java_library {
},
},
}
+
+// A version of core-icu4j only for the ART fuzzer.
+java_library {
+ name: "core-icu4j-fuzzer",
+ visibility: [
+ "//art/tools/fuzzer",
+ ],
+ static_libs: ["core-icu4j-for-host"],
+ stem: "core-icu4j",
+ compile_dex: true,
+ sdk_version: "none",
+ system_modules: "none",
+}
diff --git a/tools/fuzzer/Android.bp b/tools/fuzzer/Android.bp
index d74c0f31ad..57dd1ec6ad 100644
--- a/tools/fuzzer/Android.bp
+++ b/tools/fuzzer/Android.bp
@@ -83,7 +83,7 @@ cc_defaults {
":okhttp",
":bouncycastle",
":apache-xml",
- ":core-icu4j",
+ ":core-icu4j-fuzzer",
":conscrypt-fuzzer",
],
}