mirror of
https://gitee.com/openharmony/third_party_rust_cxx
synced 2024-11-27 01:11:38 +00:00
Fix c_utils compile alarm
1.Support visible header file Issue:https://gitee.com/openharmony/commonlibrary_c_utils/issues/I98WB1 Signed-off-by: lijincheng <lijincheng13@huawei.com>
This commit is contained in:
parent
09b62fb1aa
commit
bd3bc44312
5
BUILD.gn
5
BUILD.gn
@ -33,10 +33,15 @@ ohos_cargo_crate("lib") {
|
||||
build_sources = [ "build.rs" ]
|
||||
}
|
||||
|
||||
config("cxx_cppdeps_header_config") {
|
||||
include_dirs = [ "include" ]
|
||||
}
|
||||
|
||||
ohos_static_library("cxx_cppdeps") {
|
||||
part_name = "build_framework"
|
||||
subsystem_name = "build"
|
||||
defines = [ "RUST_CXX_NO_EXCEPTIONS" ]
|
||||
public_configs = [ ":cxx_cppdeps_header_config" ]
|
||||
sources = [
|
||||
"//third_party/rust/crates/cxx/include/cxx.h",
|
||||
"//third_party/rust/crates/cxx/src/cxx.cc",
|
||||
|
Loading…
Reference in New Issue
Block a user