aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-06-01 00:15:03 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-06-01 00:15:03 +0000
commit9aa6021dd61b6375dd6b21130e4167f4b6e1e101 (patch)
tree5324a0378db3cbccc3dff6c6a7a2c59d91ca6a48
parent46635075aa785f1c3253c4e91f457e91672a2621 (diff)
parent72bfb9111e9bef2ae66f9e3cc84ef132b997473a (diff)
downloadpsci-simpleperf-release.tar.gz
Snap for 10235775 from 72bfb9111e9bef2ae66f9e3cc84ef132b997473a to simpleperf-releasesimpleperf-release
Change-Id: I5a25eae29bbb2fed44fb0b8d3d65833627bb706d
-rw-r--r--Android.bp4
-rw-r--r--cargo2android.json2
-rw-r--r--patches/Android.bp.patch17
3 files changed, 3 insertions, 20 deletions
diff --git a/Android.bp b/Android.bp
index 2348c03..6759e48 100644
--- a/Android.bp
+++ b/Android.bp
@@ -51,14 +51,14 @@ rust_library_rlib {
"//apex_available:platform",
"//apex_available:anyapex",
],
- product_available: true,
- vendor_available: true,
prefer_rlib: true,
no_stdlibs: true,
stdlibs: [
"libcompiler_builtins.rust_sysroot",
"libcore.rust_sysroot",
],
+ product_available: true,
+ vendor_available: true,
}
rust_test {
diff --git a/cargo2android.json b/cargo2android.json
index f3802fd..7da9df5 100644
--- a/cargo2android.json
+++ b/cargo2android.json
@@ -4,7 +4,7 @@
"features": "hvc",
"force-rlib": true,
"no-host": true,
- "patch": "patches/Android.bp.patch",
+ "no-std": true,
"run": true,
"tests": true
}
diff --git a/patches/Android.bp.patch b/patches/Android.bp.patch
deleted file mode 100644
index 1fa0e93..0000000
--- a/patches/Android.bp.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-diff --git a/Android.bp b/Android.bp
-index 34d110a..2348c03 100644
---- a/Android.bp
-+++ b/Android.bp
-@@ -53,6 +53,12 @@ rust_library_rlib {
- ],
- product_available: true,
- vendor_available: true,
-+ prefer_rlib: true,
-+ no_stdlibs: true,
-+ stdlibs: [
-+ "libcompiler_builtins.rust_sysroot",
-+ "libcore.rust_sysroot",
-+ ],
- }
-
- rust_test {