summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-01-11 02:06:10 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-01-11 02:06:10 +0000
commitcd37b1957fd5c0c0b4eb94f3d9e50e9fd1ebd4c6 (patch)
tree881b939d5cde9cdea5e2fce1b50008da8e6dd8ce
parent03739bc8c5f381ceb45497d99b2f11270152f746 (diff)
parent45a803cd8ce9c086bbaae921678acf7bd970b422 (diff)
downloadshared_library-android13-d1-release.tar.gz
Change-Id: I7c396f1ffe48144e756649278faf55f3f481553c
-rw-r--r--Android.bp2
-rw-r--r--cargo2android.json2
-rw-r--r--patches/Android.bp.patch17
3 files changed, 1 insertions, 20 deletions
diff --git a/Android.bp b/Android.bp
index 28ea619..71ece12 100644
--- a/Android.bp
+++ b/Android.bp
@@ -66,8 +66,6 @@ rust_test {
srcs: ["src/lib.rs"],
test_suites: ["general-tests"],
auto_gen_config: true,
- // Manually disabled as these tests depend on specific graphics libraries
- // being available on the machine running the tests.
test_options: {
unit_test: false,
},
diff --git a/cargo2android.json b/cargo2android.json
index bbea40c..6e68088 100644
--- a/cargo2android.json
+++ b/cargo2android.json
@@ -4,7 +4,7 @@
"com.android.virt"
],
"device": true,
- "patch": "patches/Android.bp.patch",
+ "no-presubmit": true,
"run": true,
"tests": true
} \ No newline at end of file
diff --git a/patches/Android.bp.patch b/patches/Android.bp.patch
deleted file mode 100644
index 32794df..0000000
--- a/patches/Android.bp.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-diff --git a/Android.bp b/Android.bp
-index 3e82eff..550133f 100644
---- a/Android.bp
-+++ b/Android.bp
-@@ -35,9 +35,11 @@ rust_test {
- srcs: ["src/lib.rs"],
- test_suites: ["general-tests"],
- auto_gen_config: true,
-+ // Manually disabled as these tests depend on specific graphics libraries
-+ // being available on the machine running the tests.
- test_options: {
-- unit_test: true,
-+ unit_test: false,
- },
- edition: "2015",
- rustlibs: [
-