aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Walbran <qwandor@google.com>2024-05-03 16:15:05 +0100
committerAndrew Walbran <qwandor@google.com>2024-05-03 16:15:05 +0100
commit5794b195e3aef845564c963a14966b5c7f5af5b9 (patch)
tree29bac5cef9de86b7e8893cf9f0b4b10c13f012a1
parent3fae50980c68802bc27d6a6fef8a464914713651 (diff)
downloadopenssl-master.tar.gz
Manually adding soong cfg is no longer necessary.HEADmastermain
Since https://r.android.com/3066423 Soong sets it automatically. Test: m libopenssl_static libopenssl Change-Id: Id40afc2fee655880c73503a5b4b7ef67c657c279
-rw-r--r--Android.bp16
-rw-r--r--cargo_embargo.json2
2 files changed, 8 insertions, 10 deletions
diff --git a/Android.bp b/Android.bp
index 86faf15..c52b2a2 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,5 +1,7 @@
// This file is generated by cargo_embargo.
-// Do not modify this file as changes will be overridden on upgrade.
+// Do not modify this file after the first "rust_*" or "genrule" module
+// because the changes will be overridden on upgrade.
+// Content before the first "rust_*" or "genrule" module is preserved.
// WARNING! This crate has a change in dependency structure that is not yet
// reflected on crates.io. This means that the automated update tool will
@@ -54,10 +56,7 @@ rust_library {
srcs: ["src/lib.rs"],
edition: "2018",
features: ["unstable_boringssl"],
- cfgs: [
- "boringssl",
- "soong",
- ],
+ cfgs: ["boringssl"],
rustlibs: [
"libbitflags",
"libbssl_sys",
@@ -67,6 +66,7 @@ rust_library {
"libonce_cell",
],
proc_macros: ["libopenssl_macros"],
+ aliases: ["openssl_sys:ffi"],
apex_available: [
"//apex_available:platform",
"com.android.virt",
@@ -83,10 +83,7 @@ rust_library_host_rlib {
srcs: ["src/lib.rs"],
edition: "2018",
features: ["unstable_boringssl"],
- cfgs: [
- "boringssl",
- "soong",
- ],
+ cfgs: ["boringssl"],
rustlibs: [
"libbitflags",
"libcfg_if",
@@ -98,4 +95,5 @@ rust_library_host_rlib {
"libbssl_sys_static",
],
proc_macros: ["libopenssl_macros"],
+ aliases: ["openssl_sys:ffi"],
}
diff --git a/cargo_embargo.json b/cargo_embargo.json
index c483eb6..c2f3caa 100644
--- a/cargo_embargo.json
+++ b/cargo_embargo.json
@@ -3,7 +3,7 @@
"//apex_available:platform",
"com.android.virt"
],
- "extra_cfg": ["boringssl", "soong"],
+ "extra_cfg": ["boringssl"],
"features": [
"unstable_boringssl"
],