diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2024-02-02 23:56:41 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2024-02-02 23:56:41 +0000 |
commit | c8c295f8ab1c1c14bdf93384099bd367e5d2e94c (patch) | |
tree | e712291452e7209162321929a8ba910c3cfdcf68 | |
parent | 0ee7bdb808fde097a81a7a485c847e9adb9c86d3 (diff) | |
parent | eef4796c187d0066d05e116c3ab1570266eda7ec (diff) | |
download | cxx-simpleperf-release.tar.gz |
Snap for 11400057 from eef4796c187d0066d05e116c3ab1570266eda7ec to simpleperf-releasesimpleperf-release
Change-Id: I71a0e2c947605f94a9a874aadc5771807085db52
-rw-r--r-- | cargo_embargo.json | 8 | ||||
-rw-r--r-- | gen/cmd/Android.bp | 3 | ||||
-rw-r--r-- | gen/lib/Android.bp | 5 | ||||
-rw-r--r-- | macro/Android.bp | 6 |
4 files changed, 17 insertions, 5 deletions
diff --git a/cargo_embargo.json b/cargo_embargo.json new file mode 100644 index 00000000..ce4c2df6 --- /dev/null +++ b/cargo_embargo.json @@ -0,0 +1,8 @@ +{ + "module_blocklist": ["demo", "libcxx", "libcxx_build", "libcxx_test_suite", "libcxxbridge_flags"], + "package": { + "cxxbridge-cmd": { "device_supported": false, "host_first_multilib": true }, + "cxx-gen": {"device_supported": false, "host_first_multilib": true} + }, + "run_cargo": false +} diff --git a/gen/cmd/Android.bp b/gen/cmd/Android.bp index 1c402202..688e9968 100644 --- a/gen/cmd/Android.bp +++ b/gen/cmd/Android.bp @@ -1,4 +1,4 @@ -// This file is generated by cargo2android.py --run --dependencies --add_workspace --host-first-multilib --no-pkg-vers. +// This file is generated by cargo_embargo. // Do not modify this file as changes will be overridden on upgrade. package { @@ -15,6 +15,7 @@ rust_binary_host { name: "cxxbridge", crate_name: "cxxbridge", cargo_env_compat: true, + cargo_pkg_version: "1.0.93", srcs: ["src/main.rs"], edition: "2018", rustlibs: [ diff --git a/gen/lib/Android.bp b/gen/lib/Android.bp index 64d2e16d..6c8728bd 100644 --- a/gen/lib/Android.bp +++ b/gen/lib/Android.bp @@ -1,3 +1,6 @@ +// This file is generated by cargo_embargo. +// Do not modify this file as changes will be overridden on upgrade. + rust_library_host { name: "libcxx_gen", crate_name: "cxx_gen", @@ -12,6 +15,4 @@ rust_library_host { "libsyn", ], compile_multilib: "first", - product_available: true, - vendor_available: true, } diff --git a/macro/Android.bp b/macro/Android.bp index 6f6b12a3..f833c436 100644 --- a/macro/Android.bp +++ b/macro/Android.bp @@ -1,4 +1,4 @@ -// This file is generated by cargo2android.py --run --dependencies --add_workspace. +// This file is generated by cargo_embargo. // Do not modify this file as changes will be overridden on upgrade. package { @@ -15,7 +15,7 @@ rust_proc_macro { name: "libcxxbridge_macro", crate_name: "cxxbridge_macro", cargo_env_compat: true, - cargo_pkg_version: "1.0.85", + cargo_pkg_version: "1.0.93", srcs: ["src/lib.rs"], edition: "2018", rustlibs: [ @@ -23,4 +23,6 @@ rust_proc_macro { "libquote", "libsyn", ], + product_available: true, + vendor_available: true, } |