aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJooyung Han <jooyung@google.com>2021-07-02 08:33:02 +0900
committerJooyung Han <jooyung@google.com>2021-07-02 08:33:02 +0900
commite0b9674de2b30c52620a1e3c10dc5f0b4e1b4e83 (patch)
treeb383e5320f31e6c3cde41850cc368cdca6fb00bb
parentfa30359d0447d0675f831619efa17ec7ec7b7f26 (diff)
downloadregex-syntax-e0b9674de2b30c52620a1e3c10dc5f0b4e1b4e83.tar.gz
Make the library available to virt apex
Bug: n/a Test: m virtualizationserivce Change-Id: I18f49dca9fe325641678cf5e8406bcbf623c8901
-rw-r--r--Android.bp6
-rw-r--r--cargo2android.json10
2 files changed, 15 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp
index a0c5415..33db522 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,4 +1,4 @@
-// This file is generated by cargo2android.py --run --device --dependencies --tests.
+// This file is generated by cargo2android.py --config cargo2android.json.
// Do not modify this file as changes will be overridden on upgrade.
package {
@@ -55,6 +55,10 @@ rust_library {
"unicode-script",
"unicode-segment",
],
+ apex_available: [
+ "//apex_available:platform",
+ "com.android.virt",
+ ],
}
rust_defaults {
diff --git a/cargo2android.json b/cargo2android.json
new file mode 100644
index 0000000..72ca2d4
--- /dev/null
+++ b/cargo2android.json
@@ -0,0 +1,10 @@
+{
+ "apex-available": [
+ "//apex_available:platform",
+ "com.android.virt"
+ ],
+ "dependencies": true,
+ "device": true,
+ "run": true,
+ "tests": true
+}