summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-01-11 20:13:28 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-01-11 20:13:28 +0000
commit24bb0946c3e9469ba74f2149c49b52f8bc89c903 (patch)
tree881b939d5cde9cdea5e2fce1b50008da8e6dd8ce
parentd8c97ad182e7aab0c3dfc6764d82b39e4898b07f (diff)
parenteef57dbf3734f57c538558ef5118b8faa3b7f3d1 (diff)
downloadshared_library-24bb0946c3e9469ba74f2149c49b52f8bc89c903.tar.gz
Snap for 8068383 from eef57dbf3734f57c538558ef5118b8faa3b7f3d1 to simpleperf-release
Change-Id: I57091b31f3143318428010ae4748f465f8b06521
-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: [
-