Skip to content
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.

Commit

Permalink
Merge "rust: Use rust_ffi for Rust generated C libraries."
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanloz authored and Gerrit Code Review committed Jan 9, 2021
2 parents 23b36ca + 0c057ad commit 5b757fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/cargo2android.py
Original file line number Diff line number Diff line change
Expand Up @@ -742,11 +742,11 @@ def decide_one_module_type(self, crate_type):
self.stem = 'lib' + self.crate_name
self.module_name = altered_name(self.stem) + '_dylib'
elif crate_type == 'cdylib': # rust_library[_host]_shared
self.module_type = 'rust_library' + host + '_shared'
self.module_type = 'rust_ffi' + host + '_shared'
self.stem = 'lib' + self.crate_name
self.module_name = altered_name(self.stem) + '_shared'
elif crate_type == 'staticlib': # rust_library[_host]_static
self.module_type = 'rust_library' + host + '_static'
self.module_type = 'rust_ffi' + host + '_static'
self.stem = 'lib' + self.crate_name
self.module_name = altered_name(self.stem) + '_static'
elif crate_type == 'test': # rust_test[_host]
Expand Down

0 comments on commit 5b757fe

Please sign in to comment.