diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-06-12 18:32:10 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-06-12 18:32:10 +0000 |
commit | fba7a57d48e3769d86c9e448c5f805f3d93ea8df (patch) | |
tree | 046cf1e8226516044505c2371a1ab773ecd17f9d | |
parent | f339508ca107f2d824548d1a34e515d8fbd9fdd1 (diff) | |
parent | dec666b5f9c6d77425fb2853dae297b076080116 (diff) | |
download | smccc-fba7a57d48e3769d86c9e448c5f805f3d93ea8df.tar.gz |
Snap for 10306048 from dec666b5f9c6d77425fb2853dae297b076080116 to simpleperf-release
Change-Id: I79b669563a923c824b1f34ae8614657c06508171
-rw-r--r-- | Android.bp | 4 | ||||
-rw-r--r-- | cargo2android.json | 2 | ||||
-rw-r--r-- | patches/Android.bp.patch | 17 |
3 files changed, 3 insertions, 20 deletions
@@ -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 { |