aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-06-12 18:32:10 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-06-12 18:32:10 +0000
commitfba7a57d48e3769d86c9e448c5f805f3d93ea8df (patch)
tree046cf1e8226516044505c2371a1ab773ecd17f9d
parentf339508ca107f2d824548d1a34e515d8fbd9fdd1 (diff)
parentdec666b5f9c6d77425fb2853dae297b076080116 (diff)
downloadsmccc-fba7a57d48e3769d86c9e448c5f805f3d93ea8df.tar.gz
Snap for 10306048 from dec666b5f9c6d77425fb2853dae297b076080116 to simpleperf-release
Change-Id: I79b669563a923c824b1f34ae8614657c06508171
-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 5ce080e..3ac933a 100644
--- a/Android.bp
+++ b/Android.bp
@@ -14,14 +14,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 c402bab..c78127b 100644
--- a/cargo2android.json
+++ b/cargo2android.json
@@ -3,7 +3,7 @@
"device": true,
"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 {